epoll improvements

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Thu Oct 16 13:02:13 EDT 2014


On Thu, 16 Oct 2014 14:09:05 +0200, "Nev Ikte" said:

> I've tried to reproduce it with a single client
> and basically, if ep_poll() is able to find an event or the timeout is 0,
> the latency is down to 5usec, otherwise if it enters the waitqueue
> the latency goes up to 10-25usec, which impact the application performance.

Is it possible that what you're actually measuring here is your CPU's
latency coming out of a sleep state if every task is in a wait queue?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141016/0fecc742/attachment.bin 


More information about the Kernelnewbies mailing list