Re: latency error (~2ms) with nanosleep

Chris Friesen
2005-06-13T16:48:41Z

quade wrote:
> Playing around with the (simple) measurement of latency-times
> I noticed, that the systemcall "nanosleep" has always a minimal
> latency from about ~2ms (haven't run it all night, so...). It
> seems to be a systematical error.

Known issue. The x86 interrupt usually has a period of slightly less
than a ms. It will therefore generally add nearly a whole ms to ensure
that it does not ever wait for *less* than specified.

Chris