Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2006 22:07:08 +0400 (MSD)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        Julian Elischer <julian@elischer.org>
Cc:        freebsd-performance@freebsd.org, Kris Kennaway <kris@obsecurity.org>, current@freebsd.org, David Xu <davidxu@freebsd.org>
Subject:   Re: Fine-grained locking for POSIX local sockets (UNIX domain sockets)
Message-ID:  <20060509220230.W46073@mp2.macomnet.net>
In-Reply-To: <4460D2CA.5090808@elischer.org>
References:  <20060506150622.C17611@fledge.watson.org> <200605090335.00451.hadara@bsd.ee> <20060509004203.GA55852@xor.obsecurity.org> <200605091818.12676.hadara@bsd.ee> <4460D2CA.5090808@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 9 May 2006, 10:35-0700, Julian Elischer wrote:

> Sven Petai wrote:
>
> are there any patches that take the gettimeofday() calls and replace
> them with something that is cheap such as only doing every 10th one
> and just returning the last value ++ 1 uSec for the other ones..
>
> a ktrace of Mysql shows a LOT of gettimeofday() calls.
[...]

Robert posted them.  I failed to found these messages in our archives
(does mailman archive messages properly?) and put them there:

http://maxim.int.ru/stuff/gtd/

We used to use a very similar approch on RELENG_4 and found it helped
a lot.

-- 
Maxim Konovalov



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