From owner-freebsd-performance@FreeBSD.ORG Sat Apr 8 11:02:15 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 821F816A401 for ; Sat, 8 Apr 2006 11:02:15 +0000 (UTC) (envelope-from hadara@bsd.ee) Received: from mx1.starman.ee (smtp-out2.starman.ee [85.253.0.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F1F943D46 for ; Sat, 8 Apr 2006 11:02:14 +0000 (GMT) (envelope-from hadara@bsd.ee) Received: from depression.softematic.com (depression.softematic.com [62.65.205.81]) by mx1.starman.ee (Postfix) with ESMTP id 4301F23C1AA; Sat, 8 Apr 2006 14:02:10 +0300 (EEST) From: Sven Petai To: David Xu Date: Sat, 8 Apr 2006 14:02:00 +0300 User-Agent: KMail/1.9.1 References: <200604041942.18767.hadara@bsd.ee> <44378600.7010004@roq.com> <200604081832.46971.yfxu@corp.netease.com> In-Reply-To: <200604081832.46971.yfxu@corp.netease.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604081402.00982.hadara@bsd.ee> X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Cc: Michael Vince , 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 11:02:15 -0000 On Saturday 08 April 2006 13:32, David Xu wrote: > 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. Which makes me wonder if anyone has seen any realistic workload type under which kse library would outperform libthr ? My experiences have always been pretty much the same as yours - everything seems to be faster with libthr and in the case of mysql, even more stable. So shouldn't libthr be made the default one instead of libkse ?