Darac Marjal wrote at 2013-02-28 10:50 -0600:
> On Thu, Feb 28, 2013 at 11:38:23AM -0500, m...@neidorff.com wrote:
> > Yes.  You may want to change the "nice" level of the tar command so that
> > it doesn't take up so much disk time.
> 
> "nice tar" won't actually change how heavily tar uses the disk. Instead
> try "ionice -c3 tar" (or "nice ionice -c3 tar" if you want it to use
> less[*] CPU /and/ disk).

According to ionice(1), if the ionice level is not set, it is
inherited from the nice level.  Therefore it is adequate to use `nice`
only.  Unless I do not understand it correctly.

"For kernels after 2.6.26 with the CFQ I/O scheduler, a process that
has not asked for an I/O priority inherits its CPU scheduling
class. The I/O priority is derived from the CPU nice level of the
process (same as before kernel 2.6.26)."

Attachment: signature.asc
Description: Digital signature

Reply via email to