"Kelly Burkhart" <kelly.burkhart@xxxxxxxxx> writes: > I hope this isn't a "crummy mainboard" but I can't seem to affect > things by changing clock source (kernel 2.6.16 SLES10). I tried > kernel command option clock=XXX where XXX in > (cyclone,hpet,pmtmr,tsc,pit), no option was significantly better than > the default. I believe that on machines where gettimeofday is really nice and fast, it doesn't require entry to the kernel at all; there's some hack that makes the clock readable from userspace. (Obviously a switch to kernel mode would set you back a lot of the cycles involved here.) So it's not so much the kernel that you need to teach as glibc. How you do that is beyond my expertise, but maybe that will help you google for the right thing ... regards, tom lane