[web-devel] new fast-logger and date-cache

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Wed Sep 5 04:10:30 CEST 2012


>> To my experience, the assumption 2) is not right. getttimeofday()
>> is implemented in user land in Linux 3 but it is a system call
>> in Linux 2.
> Just a nit: your history here is not correct. gettimeofday has been
> implemented as a vsyscall for a long time, maybe 5 years. And while it's
> faster than int 0x80, it's not that much faster: 2x or so on modern hardware.

Thank you for your correction.

To whose who are interested in, additional information can be found


Anyway, I believe we should avoid gettimeofday as much as possible
to implement fast servers.


More information about the web-devel mailing list