From: Florian Philipp <lists@f_philipp.fastmail.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] cgroupd really do work!
Date: Sun, 05 Dec 2010 17:02:11 +0100 [thread overview]
Message-ID: <4CFBB783.5080502@f_philipp.fastmail.net> (raw)
In-Reply-To: <4CFBA7E5.8060101@f_philipp.fastmail.net>
[-- Attachment #1: Type: text/plain, Size: 2460 bytes --]
Am 05.12.2010 15:55, schrieb Florian Philipp:
> Am 04.12.2010 22:00, schrieb Mark Knecht:
>> On Fri, Dec 3, 2010 at 6:16 PM, William Kenworthy <billk@iinet.net.au> wrote:
>>> On Fri, 2010-12-03 at 17:20 -0800, Mark Knecht wrote:
>>>> On Fri, Dec 3, 2010 at 4:41 PM, William Kenworthy <billk@iinet.net.au> wrote:
>>>>> Re the discussion on cgroups on the 24/25 november - on my old AMD
>>>>> barton 2500+ desktop - in the past a load of anything more than 5 made
>>>>> it very painful to use. Add in running windows in a qemu vm at the same
>>>>> time (all in 1.5G ram) and its almost unusable as an interactive
>>>>> desktop.
>>>>>
>>>>> Now, with Florians (thanks for the scripts) version of using it on
>>>>> gentoo, even at a load in excess of 12, its almost as good as with no
>>>>> load for desktop operations!
>>>>>
>>>>> To get the high load I am compiling a new kernel, running win2k in qemu,
>>>>> emerging latest updates, browsing the web and reading email in
>>>>> evolution, running updatedb and other cron jobs (just restarted after a
>>>>> tuxonice hibernate so everything is triggering at once!).
>>>>>
>>>>> Really, really, really neat!
>>
>> If you're up for it maybe try putting doing a Gentoo Wiki page.
>>
>> Sounds like it's working pretty well. I'd like to try it but I don't
>> have much time to focus on digging out the info.
>
> As you wish:
> http://en.gentoo-wiki.com/wiki/Improve_responsiveness_with_cgroups
>
> I welcome any improvements. This is my first wiki article and English is
> not my mother tongue.
>
Hmm, I just noticed that something is not right here: Everything works
fine as long as I limit the cgroups to cpu scheduling (`mount -t cgroup
cgroup /dev/cgroup -o cpu`). As soon as I add the blkio subsystem for
disk I/O scheduling ("-o cpu,blkio" or no "-o" at all), I can no longer
create cgroup hierarchies. Only the top level "user" cgroup is accepted.
Another issue is that the kernel documentation in
/usr/src/linux/Documentation/cgroups/cgroups.txt specifies that the
release_agent can also be included as a mount option with
`mount -t cgroup cgroup /dev/cgroup -o
cpu,release_agent='/usr/local/sbin/cgroup_clean'`
That seems to be no valid option, though. At least on my system it
causes mount to fail. Unfortunately there is no output on dmesg.
Can someone else reproduce this? I'm on gentoo-sources-2.6.34-r12.
Thanks in advance!
Florian Philipp
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]
next prev parent reply other threads:[~2010-12-05 16:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-04 0:41 [gentoo-user] cgroupd really do work! William Kenworthy
2010-12-04 1:20 ` Mark Knecht
2010-12-04 2:16 ` William Kenworthy
2010-12-04 21:00 ` Mark Knecht
2010-12-05 14:55 ` Florian Philipp
2010-12-05 15:35 ` Mark Knecht
2010-12-05 16:02 ` Florian Philipp [this message]
2010-12-05 23:54 ` Bill Longman
2010-12-06 4:51 ` Florian Philipp
2010-12-06 20:04 ` [gentoo-user] " Doug Hunley
2010-12-06 20:44 ` Doug Hunley
2010-12-06 22:00 ` Florian Philipp
2010-12-07 5:51 ` [gentoo-user] " Scott Prager
2010-12-07 8:43 ` Neil Bothwick
2010-12-04 19:52 ` [gentoo-user] " walt
2010-12-05 1:10 ` William Kenworthy
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=4CFBB783.5080502@f_philipp.fastmail.net \
--to=lists@f_philipp.fastmail.net \
--cc=gentoo-user@lists.gentoo.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox