1 |
Am 05.12.2010 15:55, schrieb Florian Philipp: |
2 |
> Am 04.12.2010 22:00, schrieb Mark Knecht: |
3 |
>> On Fri, Dec 3, 2010 at 6:16 PM, William Kenworthy <billk@×××××××××.au> wrote: |
4 |
>>> On Fri, 2010-12-03 at 17:20 -0800, Mark Knecht wrote: |
5 |
>>>> On Fri, Dec 3, 2010 at 4:41 PM, William Kenworthy <billk@×××××××××.au> wrote: |
6 |
>>>>> Re the discussion on cgroups on the 24/25 november - on my old AMD |
7 |
>>>>> barton 2500+ desktop - in the past a load of anything more than 5 made |
8 |
>>>>> it very painful to use. Add in running windows in a qemu vm at the same |
9 |
>>>>> time (all in 1.5G ram) and its almost unusable as an interactive |
10 |
>>>>> desktop. |
11 |
>>>>> |
12 |
>>>>> Now, with Florians (thanks for the scripts) version of using it on |
13 |
>>>>> gentoo, even at a load in excess of 12, its almost as good as with no |
14 |
>>>>> load for desktop operations! |
15 |
>>>>> |
16 |
>>>>> To get the high load I am compiling a new kernel, running win2k in qemu, |
17 |
>>>>> emerging latest updates, browsing the web and reading email in |
18 |
>>>>> evolution, running updatedb and other cron jobs (just restarted after a |
19 |
>>>>> tuxonice hibernate so everything is triggering at once!). |
20 |
>>>>> |
21 |
>>>>> Really, really, really neat! |
22 |
>> |
23 |
>> If you're up for it maybe try putting doing a Gentoo Wiki page. |
24 |
>> |
25 |
>> Sounds like it's working pretty well. I'd like to try it but I don't |
26 |
>> have much time to focus on digging out the info. |
27 |
|
28 |
> |
29 |
> As you wish: |
30 |
> http://en.gentoo-wiki.com/wiki/Improve_responsiveness_with_cgroups |
31 |
> |
32 |
> I welcome any improvements. This is my first wiki article and English is |
33 |
> not my mother tongue. |
34 |
> |
35 |
|
36 |
Hmm, I just noticed that something is not right here: Everything works |
37 |
fine as long as I limit the cgroups to cpu scheduling (`mount -t cgroup |
38 |
cgroup /dev/cgroup -o cpu`). As soon as I add the blkio subsystem for |
39 |
disk I/O scheduling ("-o cpu,blkio" or no "-o" at all), I can no longer |
40 |
create cgroup hierarchies. Only the top level "user" cgroup is accepted. |
41 |
|
42 |
Another issue is that the kernel documentation in |
43 |
/usr/src/linux/Documentation/cgroups/cgroups.txt specifies that the |
44 |
release_agent can also be included as a mount option with |
45 |
`mount -t cgroup cgroup /dev/cgroup -o |
46 |
cpu,release_agent='/usr/local/sbin/cgroup_clean'` |
47 |
That seems to be no valid option, though. At least on my system it |
48 |
causes mount to fail. Unfortunately there is no output on dmesg. |
49 |
|
50 |
Can someone else reproduce this? I'm on gentoo-sources-2.6.34-r12. |
51 |
|
52 |
Thanks in advance! |
53 |
Florian Philipp |