Re: gettimeofday() system call timing curiosity

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 9 Mar 2002 18:51:19 +0000 (GMT)


> Curiously, on a 1.7GHz P4 running RH7.1 (2.4.2 i686) it never hits
> the same case, and takes slightly over a second to call gettimeofday a

Nothing curious about that I'm afraid. Every benchmark I've run on a PIV
shows that kind of behaviour - anything but perfectly predicted linear
code flow seems to hurt it. Locked operations really seem to make it suffer.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/