From: Peter Williams <pwil3058@bigpond.net.au>
To: Paolo Ornati <ornati@fastwebnet.it>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Chris Han <xiphux@gmail.com>, Con Kolivas <kernel@kolivas.org>,
William Lee Irwin III <wli@holomorphy.com>,
Jake Moilanen <moilanen@austin.ibm.com>
Subject: Re: [ANNOUNCE][RFC] PlugSched-6.2 for 2.6.16-rc1 and 2.6.16-rc1-mm1
Date: Tue, 24 Jan 2006 11:00:34 +1100 [thread overview]
Message-ID: <43D56E22.80500@bigpond.net.au> (raw)
In-Reply-To: <20060123212158.3fba71d5@localhost>
Paolo Ornati wrote:
> On Mon, 23 Jan 2006 11:49:33 +1100
> Peter Williams <pwil3058@bigpond.net.au> wrote:
>
>
>>>However, in spite of the above, the fairness mechanism should have been
>>>able to generate enough bonus points to get dd's priority back to less
>>>than 34. I'm still investigating why this didn't happen.
>>
>>Problem solved. It was a scaling issue during the calculation of
>>expected delay. The attached patch should fix both the CPU hog problem
>>and the fairness problem. Could you give it a try?
>>
>
>
> Mmmm... it doesn't work:
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 5516 paolo 34 0 115m 18m 2432 S 87.5 3.7 0:23.72 transcode
> 5530 paolo 34 0 51000 4472 1872 S 8.0 0.9 0:02.29 tcdecode
> 5523 paolo 34 0 19840 1088 880 R 2.0 0.2 0:00.21 tcdemux
> 5522 paolo 34 0 22156 1204 972 R 0.7 0.2 0:00.02 tccat
> 5539 paolo 34 0 4952 1468 372 D 0.7 0.3 0:00.04 dd
> 5350 root 28 0 167m 16m 3228 S 0.3 3.4 0:03.64 X
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 5456 paolo 34 0 115m 18m 2432 D 63.9 3.7 0:48.21 transcode
> 5470 paolo 37 0 50996 4472 1872 R 6.2 0.9 0:05.20 tcdecode
> 5493 paolo 34 0 4952 1472 372 R 1.5 0.3 0:00.22 dd
> 5441 paolo 28 0 86656 21m 15m S 0.2 4.4 0:00.77 konsole
> 5468 paolo 34 0 19840 1088 880 S 0.2 0.2 0:00.23 tcdemux
>
Bummer. At least it didn't classify dd as CPU intensive but the
fairness bonus doesn't seem to have kicked in. It's currently awarded
as a "one of" bonus each time a delay is too long and I think that it
needs to be a bit more persistent over time.
Thanks for testing
Peter
--
Peter Williams pwil3058@bigpond.net.au
"Learning, n. The kind of ignorance distinguishing the studious."
-- Ambrose Bierce
next prev parent reply other threads:[~2006-01-24 0:00 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-19 21:45 [ANNOUNCE][RFC] PlugSched-6.2 for 2.6.16-rc1 and 2.6.16-rc1-mm1 Peter Williams
2006-01-21 6:48 ` Peter Williams
2006-01-21 10:46 ` Paolo Ornati
2006-01-21 23:06 ` Peter Williams
2006-01-22 22:47 ` Peter Williams
2006-01-23 0:49 ` Peter Williams
2006-01-23 20:21 ` Paolo Ornati
2006-01-24 0:00 ` Peter Williams [this message]
2006-01-26 1:09 ` Peter Williams
2006-01-26 8:11 ` Paolo Ornati
2006-01-26 22:34 ` Peter Williams
2006-01-28 23:44 ` Peter Williams
2006-01-31 17:44 ` Paolo Ornati
2006-01-23 20:09 ` Paolo Ornati
2006-01-23 20:25 ` Lee Revell
2006-01-23 20:52 ` Paolo Ornati
2006-01-23 20:59 ` Lee Revell
2006-01-23 21:10 ` Paolo Ornati
2006-01-23 21:11 ` Lee Revell
2006-01-23 23:32 ` Peter Williams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43D56E22.80500@bigpond.net.au \
--to=pwil3058@bigpond.net.au \
--cc=kernel@kolivas.org \
--cc=linux-kernel@vger.kernel.org \
--cc=moilanen@austin.ibm.com \
--cc=ornati@fastwebnet.it \
--cc=wli@holomorphy.com \
--cc=xiphux@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.