On 06 Aug 2007 13:11:01 +0200, Andi Kleen <andi@firstfloor.org> wrote:I don't think it's a problem for high priority (RT) tasks - it's well known in the real time Linux community that you never, ever do IO from a thread that has to satisfy RT constraints. A correct RT linux app does its IO from a SCHED_NORMAL thread, with *plenty* of buffering, and feeds the RT constrained SCHED_FIFO threads using a lock free ringbuffer. SCHED_IDLE starving SCHED_NORMAL is an issue of course. But SCHED_IDLE seems a lot more useful for read than write which I would expect to take fewer locks. For example I'd expect Beagle to want to read at SCHED_IDLE but write out its indices at SCHED_NORMAL. Would it make any sense to allow anyone to set SCHED_IDLE for reads but require root to change IO priority for writes? Lee -
| Dave Hansen | [RFC][PATCH 0/4] kernel-based checkpoint restart |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Eric Paris | [RFC 0/5] [TALPA] Intro to a linux interface for on access scanning |
git: | |
| David Miller | Re: [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
