Re: [patch v2 0/5] Nano/Microsecond resolution for select() andpoll()

From: Arjan van de Ven
Date: Sun Aug 31 2008 - 17:28:40 EST


On Sun, 31 Aug 2008 14:13:45 -0700 (PDT)
Davide Libenzi <davidel@xxxxxxxxxxxxxxx> wrote:

> On Sun, 31 Aug 2008, Arjan van de Ven wrote:
>
> > Note:
> > even though poll() (as opposed to ppoll()) only accepts milliseconds
> > as userspace interface, the behavior will still improve because the
> > current time no longer needs to be rounded up to the next jiffie,
> > so on average a 500 microseconds behavior improvement.
>
> Another way to get down in the timeout resolution for newer kernels,
> and still supporting the syscalls with millisec timeouts, is to use
> timerfds.

perhaps, but once you have to change the app you can also make it use
ppoll() rather than poll().. that's a VERY minute change.


--
If you want to reach me at my work email, use arjan@xxxxxxxxxxxxxxx
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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/