Re: hash_queue_depth for better performance

From: Ralf Hildebrandt (no email)
Date: Fri Oct 26 2001 - 13:21:35 EDT

On Fri, Oct 26, 2001 at 07:15:28PM +0200, Manuel Hendel wrote:
> For a better performance, I would like to optimize the
> hash_queue_depth. For about 130.000 mails, what would be the right
> value therefor?

The idea of hashing the queue came up with the bad performance of ext2 when
there are MANY MANY files in one directory.

I'd say there shouln't be more than 5.000 files in each directory.
I think Postfix uses [0-9A-Z]

130.000 = 36^x * 5.000
     26 = 36^x
      x ~= 1

With just 1.000 files per directory it would be maybe 2.

Ralf Hildebrandt                            Tel.  +49 (0)30-450 570-155
                                            Fax.  +49 (0)30-450 570-916
For their next act, they'll no doubt be buying a firewall running
under NT, which makes about as much sense as building a prison out of
To unsubscribe, send mail to  with content
(not subject): unsubscribe postfix-users

Hosted Email Solutions

Invaluement Anti-Spam DNSBLs

Powered By FreeBSD   Powered By FreeBSD