Re: RFC for a new Scheduling policy/class in the Linux-kernel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Raistlin <raistlin@xxxxxxxx>
- Subject: Re: RFC for a new Scheduling policy/class in the Linux-kernel
- From: "Chris Friesen" <cfriesen@xxxxxxxxxx>
- Date: Mon, 13 Jul 2009 10:33:35 -0600
- Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>, Douglas Niehaus <niehaus@xxxxxxxxxxx>, Henrik Austad <henrik@xxxxxxxxx>, LKML <linux-kernel@xxxxxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, Bill Huey <billh@xxxxxxxxxxxxxxxxx>, Linux RT <linux-rt-users@xxxxxxxxxxxxxxx>, Fabio Checconi <fabio@xxxxxxxxxxxxxxxx>, "James H. Anderson" <anderson@xxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Ted Baker <baker@xxxxxxxxxx>, Dhaval Giani <dhaval.giani@xxxxxxxxx>, Noah Watkins <jayhawk@xxxxxxxxxxxx>, KUSP Google Group <kusp@xxxxxxxxxxxxxxxx>, Tommaso Cucinotta <cucinotta@xxxxxxxx>, Giuseppe Lipari <lipari@xxxxxxxxxxxxxx>
- In-reply-to: <1247499843.8107.548.camel@Palantir>
- References: <200907102350.47124.henrik@xxxxxxxxx> <1247336891.9978.32.camel@laptop> <4A594D2D.3080101@xxxxxxxxxxx> <1247412708.6704.105.camel@laptop> <1247499843.8107.548.camel@Palantir>
- User-agent: Thunderbird 2.0.0.22 (X11/20090605)
Raistlin wrote:
> Very basically: from the analysis point of view one easy and effective
> solution would be to have the blocked-running tasks --i.e., the tasks
> blocked on some lock that have been left on the rq to proxy-execute the
> lock owner-- busy waiting while the lock owner is running. This allows
> for retaining a lot of nice properties BWI already has, as far as
> analyzability is concerned.
>
> On the other hand, from the practical end efficiency point of view, it
> would be not that difficult to block these otherwise-spinning tasks, in
> order to avoid wasting CPU time too much... The only important thing is
> to properly account the budget of the correct server/group (which
> probably must be the otherwise-spinning task's one), or the analysis is
> gone again! :-O
Could you elaborate on this "proper accounting"?
If task A is blocked waiting for a lock (held by a task B on another
cpu) and we run task C instead, how would you propose that the
accounting be handled?
Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[RT Stable]
[Kernel Newbies]
[Share Photos]
[IDE]
[Security]
[Git]
[Netfilter]
[Bugtraq]
[Photo]
[Yosemite]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Linux ATA RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]
[Linux Resources]