6.2-Release and Clamd 0.90 with libpthread.so
Martin Blapp
mb at imp.ch
Tue Feb 20 22:18:39 UTC 2007
Hi,
> Also try setting kern.threads.virtual_cpu=1 if you have
> more than 1 cpu (this will limit it to 1 KSE).
Our boxes have 2 CPUs and HTT is activated.
Interesting. With kern.threads.virtual_cpu=1 it works also
in the libpthread case, but while there are still some fork() calls
it works better. With kern.threads.virtual_cpu=2 it's slower. And
With kern.threads.virtual_cpu=4 its really slow.
If I run clamd in foreground mode everything works as it should.
More interesting, the CPU load drops significantly (500-1000%) !
Something is seriosly broken here.
Martin
More information about the freebsd-threads
mailing list