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

Maxim Konovalov maxim at macomnet.ru
Tue May 9 18:07:18 UTC 2006


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


More information about the freebsd-current mailing list