Re: select takes too much time

From: Michal Schmidt
Date: Thu Apr 13 2006 - 17:20:46 EST


linux-os (Dick Johnson) wrote:
It is as though the sleep time is always at least 1000
microseconds. If this is correct, then there should be some kind of
warning that the time can't be less than the HZ value, or whatever is
limiting it.

Of course you can't get lower resolution than 1/HZ, unless you're using a kernel with high-res timers. It's always been like that.
But it's not Ram's problem, because he's requesting a timeout of 90ms, which is much longer than one tick even with HZ=100.

Michal
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/