|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: mailq very slow on large queues
From: Brad Knowles (blk
skynet.be)Date: Wed Apr 26 2000 - 10:03:31 CDT
- Next message: Daniel Eisenbud: "Re: mailq very slow on large queues"
- Previous message: Conrad Juleff: "mailq very slow on large queues"
- In reply to: Conrad Juleff: "mailq very slow on large queues"
- Next in thread: Daniel Eisenbud: "Re: mailq very slow on large queues"
- Reply: Brad Knowles: "Re: mailq very slow on large queues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 4:57 PM +0200 2000/4/26, Conrad Juleff wrote:
> Should I make the hash deeper and if so how deep? Is this something to worry
> about?
You get sixteen directories per hash level, and each directory
should probably have no more than about 1000 files, so you should be
able to work out the math yourself -- one level would let you handle
up to 16000 files, two levels would allow you to handle up to 256000
files, etc....
That said, I don't think that you're going to speed up the mailq
command a whole lot by doing this -- it still has to go out and touch
every single message in the queue, regardless of how many levels of
hashed directories you may have.
In fact, hashing your directories may slightly slow down the
mailq command, although it would greatly speed up other aspects of
handling a large deferred queue.
-- These are my opinions -- not to be taken as official Skynet policy ====================================================================== Brad Knowles, <blkskynet.be> || Belgacom Skynet SA/NV Systems Architect, Mail/News/FTP/Proxy Admin || Rue Colonel Bourg, 124 Phone/Fax: +32-2-706.13.11/12.49 || B-1140 Brussels http://www.skynet.be || Belgium
- Next message: Daniel Eisenbud: "Re: mailq very slow on large queues"
- Previous message: Conrad Juleff: "mailq very slow on large queues"
- In reply to: Conrad Juleff: "mailq very slow on large queues"
- Next in thread: Daniel Eisenbud: "Re: mailq very slow on large queues"
- Reply: Brad Knowles: "Re: mailq very slow on large queues"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]