Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Dec 2005 08:23:26 +0800
From:      David Xu <davidxu@freebsd.org>
To:        Greg 'groggy' Lehey <grog@FreeBSD.org>
Cc:        Michael Vince <mv@roq.com>, freebsd-performance@freebsd.org, "Gustavo A. Baratto" <gbaratto@superb.net>
Subject:   Re: new benchmarks. WAS: FreeBSD MySQL still WAY slower than Linux
Message-ID:  <4398CE7E.5050007@freebsd.org>
In-Reply-To: <20051209000704.GA80362@wantadilla.lemis.com>
References:  <04f401c5f630$b9af6570$6450fb40@guinness>	<438FB036.3000804@roq.com> <20051209000704.GA80362@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg 'groggy' Lehey wrote:

>I've heard this claim again and again, and I intend to look at it when
>I have time.  I find it difficult to believe that this alone could
>explain the sometimes horrendous performance differences (3 to 1) that
>have been reported.
>
>Can somebody tell me:
>
>1.  How many calls there are per second?
>2.  Where they're coming from?  This would involve profiling, of
>    course.
>
>Greg
>--
>See complete headers for address and phone numbers.
>  
>
You find ktrace result of mysql:
http://people.freebsd.org/~davidxu/mysql/mysql_ktrace.txt
gettimeofday() almost follows every network I/O.

Also you can find its I/O size:
http://people.freebsd.org/~davidxu/mysql/iosize.txt

I guess the gettimeofday() call is relevant to mysql's
connection keepalive work, sounds like a very silly method.

David Xu




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