From owner-freebsd-performance@FreeBSD.ORG Sat Apr 8 10:33:03 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 9CA9E16A400; Sat, 8 Apr 2006 10:33:03 +0000 (UTC) (envelope-from yfxu@corp.netease.com) From: David Xu Organization: netease.com To: Michael Vince Date: Sat, 8 Apr 2006 18:32:46 +0800 User-Agent: KMail/1.8.2 References: <200604041942.18767.hadara@bsd.ee> <200604081315.29842.yfxu@corp.netease.com> <44378600.7010004@roq.com> In-Reply-To: <44378600.7010004@roq.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604081832.46971.yfxu@corp.netease.com> X-Mailman-Approved-At: Sat, 08 Apr 2006 11:34:47 +0000 Cc: Sven Petai , freebsd-performance@freebsd.org, 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 10:33:04 -0000 On Saturday 08 April 2006 17:44, Michael Vince wrote: > I have also tried putting my Perl under libthr for a single thread log > analyzer and to my surprise it even could process logs faster. > I don't know why, but I only know I did some micro optimizations in libthr, and the library is small and may be fully cached in L1 cache on athlon xp/64 CPU, don't take it seriously. ;-) > libthr is also really useful for actually paying attention to tops 'thr' > column since it does show actual true thread number activity, under > pthread it shows a couple and under libc_r I could have 1000 threads > going but top just shows 1. > > Mike