Re: [patch v2 0/5] Nano/Microsecond resolution for select() and poll()
- From: Arjan van de Ven <arjan@xxxxxxxxxxxxx>
- Date: Sun, 31 Aug 2008 14:28:20 -0700
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/
- References:
- [patch v2 0/5] Nano/Microsecond resolution for select() and poll()
- From: Arjan van de Ven
- Re: [patch v2 0/5] Nano/Microsecond resolution for select() and poll()
- From: Davide Libenzi
- [patch v2 0/5] Nano/Microsecond resolution for select() and poll()
- Prev by Date: Re: SKY2 official driver
- Next by Date: [ANNOUNCE] Git User's Survey 2008
- Previous by thread: Re: [patch v2 0/5] Nano/Microsecond resolution for select() and poll()
- Next by thread: XFS status update for August 2008
- Index(es):