From owner-freebsd-performance@FreeBSD.ORG Tue Dec 13 13:48:23 2005 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from [127.0.0.1] (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 3A7FD16A41F; Tue, 13 Dec 2005 13:48:18 +0000 (GMT) (envelope-from davidxu@freebsd.org) Message-ID: <439ED142.3070105@freebsd.org> Date: Tue, 13 Dec 2005 21:48:50 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.10) Gecko/20050806 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Pentchev References: <032801c5fd32$df28c3b0$6400a8c0@garrincha> <439A4301.5030404@freebsd.org> <439A5411.8090005@lbl.gov> <20051213134218.GB1142@straylight.m.ringlet.net> In-Reply-To: <20051213134218.GB1142@straylight.m.ringlet.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-performance@freebsd.org, "Gustavo A. Baratto" Subject: Re: mysql benchmarks 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: Tue, 13 Dec 2005 13:48:23 -0000 Peter Pentchev wrote: >>So, if both systems use gettimeofday, then slow may be somewhere else. >> >> > >Errrr... I think David might have meant that the original poster should >simply set kern.timecounter.hardware to 'TSC', not i8254 or something >else. This would not change whether MySQL uses gettimefday() or not, >it would simply change the in-kernel method of obtaining the actual >time of day - at least that's how I understand it :) > >G'luck, >Peter > > > Err, I just wanted to know the best performance current FreeBSD can achieve. The timer problem had already been discussed several times in the list, I don't want to repeat it here. David Xu