Quoting Mark Bucciarelli <[EMAIL PROTECTED]>:
Will spamd work if /var/db/spamd is a symbolic link to a file on a RAM
disk?
I noticed that spamd uses quite a bit of disk I/O (on a box that is
bound by disk I/O).
Spamd uses Berkeley DB - if your disk file is large you will use plenty
of I/O to it.
Rather than screwing with a ramdisk, try changing the kernel's bufcachepct
to use more of your physmem for cacheing that file. i.e. if your machine is
just doing spamd, allocate a lot more of your ram for this by increasing
bufcachepct in the kernel - just don't crank it up so much your system has
no ram available to do anything else.
Short synopsis:
# config -e -o /nbsd /bsd
OpenBSD 3.8-current (GENERIC) #48: Thu Dec 8 22:10:46 MST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC
Enter 'help' for information
ukc> cachepct
bufcachepercent = 10
ukc> cachepct 50
bufcachepercent = 50
ukc> quit
Saving modified kernel.
# cp /bsd /obsd
# mv /nbsd /bsd
# reboot
-Bob
-Bob