David Milholen wrote:
I was reading about the possibly of using a ram drive to do all of the
scanning for clam and spamAssassin.
How much trouble is it to do this and does this present any known issues.
I also think Jake has a video tut on this but have not been over to his
site to see what he is up to,
--Dave
--
David Milholen
Project Engineer
501-318-1300
Wireless Etc
It's actually very easy to set up. I haven't seen any report of any
problem with it. Check out Jake's video on it if you haven't already.
Note, this enhancement uses tmpfs (a temporary filesystem in ram), not a
ram drive. Technically speaking, a ram drive is a fixed amount of ram
that's reserved to be used as a filesystem. The tmpfs is also a
filesytem that exists only in ram, but its size is not fixed, so it will
grow and shrink as needed.
Actual results will vary with the amount of email your host processes,
and the amount of ram already available. Linux is pretty smart about
using ram, and will use what ram it can for file caching. If your host
has abundant ram and spamdyke is installed (so there's not as much
scanning going on as w/out it), chances are you won't see much
improvement since linux will be caching the simscan working directory
files already. If, on the other hand, your system is doing a lot of
other i/o (pop/imap access or other apps) which causes linux to not
cache the simscan directory, then i/o will be significantly reduced, and
performance improved, by setting up /var/qmail/simscan as a tmpfs.
It's easy enough to switch from one configuration to another. Take some
measurements before you do it, then some afterwards, to see how much
improvement you get. I simply look at overall scan times (in the spamd
logs) to get a feel for how well scanning is performing.
Let us know how it works for you.
--
-Eric 'shubes'
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]