From: Martin Ohlin <martin.ohlin@control.lth.se>
To: Mike Galbraith <efault@gmx.de>
Cc: Peter Williams <pwil3058@bigpond.net.au>,
balbir@in.ibm.com, linux-kernel@vger.kernel.org
Subject: Re: A nice CPU resource controller
Date: Thu, 31 Aug 2006 12:35:54 +0200 [thread overview]
Message-ID: <44F6BB8A.7090001@control.lth.se> (raw)
In-Reply-To: <1157010140.18561.23.camel@Homer.simpson.net>
Mike Galbraith wrote:
> On Thu, 2006-08-31 at 06:53 +0000, Mike Galbraith wrote:
>> On Thu, 2006-08-31 at 11:07 +1000, Peter Williams wrote:
>>
>>> But your implication here is valid. It is better to fiddle with the
>>> dynamic priorities than with nice as this leaves nice for its primary
>>> purpose of enabling the sysadmin to effect the allocation of CPU
>>> resources based on external considerations.
>> I don't understand. It _is_ the administrator fiddling with nice based
>> on external considerations. It just steadies the administrator's hand.
>
> When extended to groups, I see your point. The admin would lose his
> ability to apportion bandwidth _within_ the group because he's already
> turned his only knob. That is going to be just as much of a problem for
> other methods though, and is just a question of how much complexity you
> want to pay to achieve fine grained control.
I do not see the problem. Let's say I create a group of three tasks and
give it 50% of the CPU bandwidth (perhaps by using the same nice value
for all the tasks in this group). If I then want to apportion the
bandwidth within the group as you say, then the same thing can be done
by treating them as individual tasks.
Maybe I am wrong, but as I see it, if one wants to control on a group
level, then the individual shares within the group are not that
important. If the individual share is important, then it should be
controlled on a per-task level. Please tell me if I am wrong.
/Martin
next prev parent reply other threads:[~2006-08-31 10:36 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-30 15:14 A nice CPU resource controller Martin Ohlin
2006-08-30 15:41 ` Balbir Singh
2006-08-30 16:13 ` Martin Ohlin
2006-08-31 6:03 ` Balbir Singh
2006-08-31 1:07 ` Peter Williams
2006-08-31 6:17 ` Balbir Singh
2006-08-31 10:08 ` Peter Williams
2006-08-31 10:44 ` Mike Galbraith
2006-08-31 6:53 ` Mike Galbraith
2006-08-31 5:21 ` Peter Williams
2006-08-31 7:44 ` Mike Galbraith
2006-08-31 7:42 ` Mike Galbraith
2006-08-31 10:35 ` Martin Ohlin [this message]
2006-08-31 14:17 ` Mike Galbraith
2006-08-31 16:01 ` Chris Friesen
2006-08-31 19:14 ` Mike Galbraith
2006-08-31 23:52 ` Peter Williams
2006-08-31 10:21 ` Martin Ohlin
2006-08-31 11:13 ` Balbir Singh
2006-08-31 18:25 ` Peter Grandi
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=44F6BB8A.7090001@control.lth.se \
--to=martin.ohlin@control.lth.se \
--cc=balbir@in.ibm.com \
--cc=efault@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=pwil3058@bigpond.net.au \
/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.