On 11/27/2010 11:34 PM, Stroller wrote:
On 27/11/2010, at 4:29pm, Nikos Chantziaras wrote:
...
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:
PORTAGE_NICENESS=19
PORTAGE_IONICE_COMMAND="sh -c \"schedtool -D \${PID}; ionice -c 3 -p \${PID}\""
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.
Does using the ck-sources kernel reduce the necessity to use ionice?
To some degree, yes.
For some reason I find myself a little reluctant to mess with the CFQ group
scheduling.
The ck patch set does not support group scheduling anyway; it's supposed
to be non-configurable and "just work." So you can install it, copy
your .config file over, do "make oldconfig" and then build, install,
boot it, and see whether it helps in your situation.