Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

milter-greylist 3.1.x branch and OpenBSD performance loading greylist.db

2007-01-05 by rudeyak

Hi, gang.  Is anyone else running milter-greylist on OpenBSD and, if
so, how's the new 3.1 branch performing?  In our environment (OpenBSD
3.9 on i386), we see a substantial (geometric-scale) slowdown in the
time required to load the greylist.db file on startup, which is of
particular concern when that file grows, as ours does, to hundreds of
thousands of entries, or more.

greylist.db lines     m-gr 3.0 startup     m-gr 3.1.1 startup
1,000                 0.06s                  0.03s
5,000                 0.11s                  0.15s
10,000                0.20s                  1.05s
20,000                0.33s                  6.71s
35,000                0.58s                 22.05s
50,000                0.80s                 44.62s
75,000                1.16s                101.12s

The slowdown seems to be isolated to the dump_parse() routine, but
I've been unable to figure out why, and Emmanuel suggested that I post
to the list for assistance.  Any ideas out there?

Cheers,

Erick.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.