Re: select takes too much time

From: Jan Knutar
Date: Thu Apr 13 2006 - 14:29:17 EST


On Thursday 13 April 2006 18:01, Ram Gupta wrote:
> I am using select with a timeout value of 90 ms. But for some reason
> occasionally it comes out of select after more than one second .

I have a memory-starved prosignia that sometimes needs up to
10 seconds :)
Though that includes bringing in the relevant code page of the userspace
application too, and that page probably gets discarded after doing the
syscall, or similar.
It's all allright though, it gets served eventually.

> I
> checked the man page but it does not help in concluding if this is ok
> or not.

The documentation doesn't impose or guarantee any minimum performance,
as far as I know.
-
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/