Re: tar -> unresponsive machine
Dear Claudius,
On 2013-02-28 16:39:23 +0000, Claudius Hubig wrote:
> Vincent Lefevre wrote:
> > the whole machine becomes unresponsive, e.g. several dozens of seconds
> > to do some operation (e.g. starting an xterm, or making Firefox react)?
>
> Depending on the IO priority of the tar command (probably higher if
> run as root, check with ionice) and the disk access scheduler
> (cat /sys/block/sda/queue/scheduler), this may vary wildly.
I forgot to answer this one:
$ cat /sys/block/sda/queue/scheduler
noop deadline [cfq]
So, CFQ is selected, and if I understand the doc, it should introduce
some fairness. But this is not what I could see. Also I don't really
understand the relation between the scheduler and the ionice class.
Is the goal of ionice to change the scheduling policy? Otherwise how
do they interact?
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: