"hwclock -w" takes 24 seconds

Rob Landley rob at landley.net
Sat Apr 17 06:44:18 UTC 2010


On Wednesday 14 April 2010 02:12:06 Kim B. Heino wrote:
> Interesting indeed, your libc reads /etc/config/TZ every time.

Yeah, uClibc does that.  It's not as bad as it seems because both the dentry 
and the page stay in cache.  (The uClibc TZ is a tiny text file, one line, 
generally about 6 characters long.)

Having the libc cache the data isn't really much of an improvement over having 
the kernel cache it, but if this is enough of a hot path you might wanna poke 
the uClibc guys...

Rob
-- 
Latency is more important than throughput. It's that simple. - Linus Torvalds


More information about the busybox mailing list