Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Best way to improve interactivity with heavy disk activity?
Date: Sat, 27 Nov 2010 23:05:05
Message-Id: 58F2086A-BCA5-4CA4-8C78-C22F3CE82E99@stellar.eclipse.co.uk
In Reply to: [gentoo-user] Re: Best way to improve interactivity with heavy disk activity? by Nikos Chantziaras
1 On 27/11/2010, at 10:22pm, Nikos Chantziaras wrote:
2 > On 11/27/2010 11:34 PM, Stroller wrote:
3 >> On 27/11/2010, at 4:29pm, Nikos Chantziaras wrote:
4 >>> ...
5 >>> The way I solved the I/O problems is to use the sys-kernel/ck-sources kernel (2.6.36-r3). It shouldn't be necessary to use ionice and schedtool for most tasks, but I use it for portage with this in make.conf:
6 >>>
7 >>> PORTAGE_NICENESS=19
8 >>> PORTAGE_IONICE_COMMAND="sh -c \"schedtool -D \${PID}; ionice -c 3 -p \${PID}\""
9 >>>
10 >>> But you can use this method for everything you want. Running something with nice -19, ionice -c3 and schedtool -D should make it pretty much invisible; it should have zero impact on interactivity. At least that's the case here when using sys-kernel/ck-sources.
11 >>
12 >> Does using the ck-sources kernel reduce the necessity to use ionice?
13 >
14 > To some degree, yes.
15
16 That's great. I'll have to give that a go. I have rather a positive impression of that CK bloke, or at least of some of his philosophies.
17
18 >> For some reason I find myself a little reluctant to mess with the CFQ group scheduling.
19 >
20 > The ck patch set does not support group scheduling anyway;
21
22 Now I'm a little more confused. Does `ionice` need the CFQ scheduler?
23
24 Stroller.

Replies

Subject Author
[gentoo-user] Re: Best way to improve interactivity with heavy disk activity? Nikos Chantziaras <realnc@×××××.de>