Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2007 23:18:34 +0100 (CET)
From:      Martin Blapp <mb@imp.ch>
To:        Daniel Eischen <deischen@freebsd.org>
Cc:        rob@debank.tv, freebsd-threads@freebsd.org
Subject:   Re: 6.2-Release and Clamd 0.90 with libpthread.so
Message-ID:  <20070220225303.V4139@godot.imp.ch>
In-Reply-To: <Pine.GSO.4.64.0702201319230.12034@sea.ntplx.net>
References:  <20070220153632.E4139@godot.imp.ch> <Pine.GSO.4.64.0702201138080.12034@sea.ntplx.net> <20070220174221.B4139@godot.imp.ch> <Pine.GSO.4.64.0702201145420.12034@sea.ntplx.net> <20070220190347.C4139@godot.imp.ch> <Pine.GSO.4.64.0702201319230.12034@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070220225303.V4139>