A quick and easy performance improvement
Daniel Maher
daniel.maher at ubisoft.com
Mon Jul 31 16:39:06 IST 2006
Hello,
I actually hold the bayes files on a ram disk, and it is /much/ faster than putting in on a hard disk of any type, in any configuration.
Julian's suggestion (a simple cp command) is, in fact, sufficient. I have successfully recovered from a system crash using the method.
For reference, my mail servers handle around half a million pieces of mail per day, so the bayes databases are massive...
--
_
°v° Daniel Maher
/(_)\ Administrateur Système Unix
^ ^ Unix System Administrator
Sentio aliquos togatos contra me conspirare.
-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Furnish, Trever G
Sent: Monday, July 31, 2006 11:06 AM
To: MailScanner discussion
Subject: RE: A quick and easy performance improvement
I do like the idea of holding the bayes files in ram -- but Julian's
suggestion that a simple cp command is sufficient for copying that
database seems hard to believe -- seems likely that would lead to a
corrupted database that wouldn't be useful for recovery later. I would
assume you need to stop MailScanner before copying the file. And since
we're talking about tmpfs, "recovery" will need to happen after every
server restart, so it's not an infrequent thing.
More information about the MailScanner
mailing list