From owner-freebsd-performance@FreeBSD.ORG Sat Apr 8 05:15:46 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from localhost.my.domain (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 4E0A216A405; Sat, 8 Apr 2006 05:15:46 +0000 (UTC) (envelope-from yfxu@corp.netease.com) From: David Xu Organization: netease.com To: freebsd-performance@freebsd.org Date: Sat, 8 Apr 2006 13:15:29 +0800 User-Agent: KMail/1.8.2 References: <200604041942.18767.hadara@bsd.ee> <021b01c658d2$de254a00$b3db87d4@multiplay.co.uk> <4434DB85.10104@roq.com> In-Reply-To: <4434DB85.10104@roq.com> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200604081315.29842.yfxu@corp.netease.com> X-Mailman-Approved-At: Sat, 08 Apr 2006 11:27:36 +0000 Cc: Michael Vince , Sven Petai , Steven Hartland Subject: Re: mysql performance on 4 * dualcore opteron X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Apr 2006 05:15:46 -0000 =D4=DA Thursday 06 April 2006 17:12=A3=ACMichael Vince =D0=B4=B5=C0=A3=BA > I have also done benchmarking with libthr against Apache using 'ab' and=20 > found it can deliver an extra amount of megabytes/sec of data (I think=20 > it was about an extra 2000/requests sec) at the cost of giving the=20 > server from what I remember almost double the 'average load' according=20 > to 'top' > Given that if your machine has nothing else to do but deliver data=20 > purely from Apache then even libthr is more worth while for Apache as wel= l. >=20 > 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,=20 so it will be not shown on average load, default system tools are not very useful here. David Xu