Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Apr 2006 13:15:29 +0800
From:      David Xu <yfxu@corp.netease.com>
To:        freebsd-performance@freebsd.org
Cc:        Michael Vince <mv@roq.com>, Sven Petai <hadara@bsd.ee>, Steven Hartland <killing@multiplay.co.uk>
Subject:   Re: mysql performance on 4 * dualcore opteron
Message-ID:  <200604081315.29842.yfxu@corp.netease.com>
In-Reply-To: <4434DB85.10104@roq.com>
References:  <200604041942.18767.hadara@bsd.ee> <021b01c658d2$de254a00$b3db87d4@multiplay.co.uk> <4434DB85.10104@roq.com>

next in thread | previous in thread | raw e-mail | index | archive | help

ÔÚ Thursday 06 April 2006 17:12£¬Michael Vince дµÀ£º

> I have also done benchmarking with libthr against Apache using 'ab' and 
> found it can deliver an extra amount of megabytes/sec of data (I think 
> it was about an extra 2000/requests sec) at the cost of giving the 
> server from what I remember almost double the 'average load' according 
> to 'top'
> Given that if your machine has nothing else to do but deliver data 
> purely from Apache then even libthr is more worth while for Apache as well.
> 
> Mike

libpthread default uses M:N threads which means a thread  may be on
userland scheduler's run queue, and FreeBSD kernel does not know, 
so it will be not shown on average load, default system tools are not
very useful here.

David Xu



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