Re: Fine-grained locking for POSIX local sockets (UNIX domain sockets)

From: Maxim Konovalov <maxim_at_macomnet.ru>
Date: Tue, 9 May 2006 22:07:08 +0400 (MSD)
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
Received on Tue May 09 2006 - 16:07:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:55 UTC