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



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
_______________________________________________
freebsd-performance@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Fine-grained locking for POSIX local sockets (UNIX domain sockets)
    ... are there any patches that take the gettimeofdaycalls and replace ... them with something that is cheap such as only doing every 10th one ... a ktrace of Mysql shows a LOT of gettimeofday() calls. ... (does mailman archive messages properly?) ...
    (freebsd-current)
  • Re: Fine-grained locking for POSIX local sockets (UNIX domain sockets)
    ... a ktrace of Mysql shows a LOT of gettimeofday() calls. ... patch and this time with 6 tests for each setting and generated graphs: ... Are there any other patches out there that I should try? ... with 10 smack threads: http://bsd.ee/~hadara/debug/mysql4/freebsd_cur_ps2/mutex_freebsd_cur2_p2-select_10_10000.txt ...
    (freebsd-current)
  • Re: Fine-grained locking for POSIX local sockets (UNIX domain sockets)
    ... a ktrace of Mysql shows a LOT of gettimeofday() calls. ... patch and this time with 6 tests for each setting and generated graphs: ... Are there any other patches out there that I should try? ... with 10 smack threads: http://bsd.ee/~hadara/debug/mysql4/freebsd_cur_ps2/mutex_freebsd_cur2_p2-select_10_10000.txt ...
    (freebsd-performance)
  • Re: [PATCH] RTC: Add mmap method to rtc character driver
    ... That's why I'm suggesting adding a cheap, possibly low-res, gettimeofday ... virtual system call in case there is no way for the kernel to provide ... applications and machines that stay up that long, ...
    (Linux-Kernel)