Re: [Fwd: 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: Joerg Roedel <joro@xxxxxxxxxx>
- Subject: Re: [Fwd: Re: RFC for a new Scheduling policy/class in the Linux-kernel]
- From: Doug Niehaus <niehaus@xxxxxxxxxxx>
- Date: Mon, 26 Apr 2010 13:37:03 -0500
- Cc: Ted Baker <baker@xxxxxxxxxx>, raj@xxxxxxxxxxx, jayhawk@xxxxxxxxxxxx, a.p.zijlstra@xxxxxxxxx, raistlin@xxxxxxxx, henrik@xxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, mingo@xxxxxxx, billh@xxxxxxxxxxxxxxxxx, linux-rt-users@xxxxxxxxxxxxxxx, fabio@xxxxxxxxxxxxxxxx, anderson@xxxxxxxxxx, tglx@xxxxxxxxxxxxx, dhaval.giani@xxxxxxxxx, cucinotta@xxxxxxxx, lipari@xxxxxxxxxxxxxx, baker.tlh@xxxxxxxxxxx
- In-reply-to: <20100426182903.GA14542@xxxxxxxxxx>
- References: <20100426115658.GA21346@xxxxxxxxxx> <20100426182903.GA14542@xxxxxxxxxx>
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:126.96.36.199) Gecko/20100330 Fedora/3.0.4-1.fc11 Lightning/1.0b1 Thunderbird/3.0.4 ThunderBrowse/188.8.131.52
One limitation of SIGSTOP is that the last time I instrumented it in
detail, which admittedly was several years ago, every process you send
the message to has to run long enough to receive the message.
We were in the the position of sending it to fairly large groups of
processes, partly through laziness in code structure, but when I looked
at the time lines I was appalled to see a large number of context
switches for *very* short execution intervals. All were associated with
receiving the SIGSTOP and SIGCONT.
I found a rather painful humor in the fact that we were running
processes in order to keep them from running.
So, a way to change state of a process that does not cost a context
switch has some appeal.
On 04/26/2010 01:29 PM, Joerg Roedel wrote:
On Mon, Apr 26, 2010 at 07:56:58AM -0400, Ted Baker wrote:
I have not seen any more e-mail on this. How is it going? Is there any
chance of rolling in some corrections for the SCHED_SPORADIC treatment? In
particular, could we have a DO_NOT_RUN priority, that is guaranteed to
prevent a task from running at all?
Sorry for asking a maybe stupid question, but what is this good for and
what is the benefit over SIGSTOP?
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
[Linux ATA RAID]
[Video 4 Linux]