-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The Wednesday 2007-04-11 at 21:47 +0900, eshsf wrote:
> >
> > I do, but it's not "nice" enough
> >
> > The disk is so busy for a long time when copying a half a gig single file
> > that the rest of the tasks are sluggish,
> >
> > I'm not in a hurry over these operations, I just want to continue working
> > as usual.
>
> How about using a Best effort class of "ionice"?
> An unprivilege user can set a class data[0-7].
I'll have to try that one. Man pages are so terse that I had no clue that
those "class data" could be.
> Alternatively, you could use sudo.
> e.g. 'nice -n19 sudo ionice -c3 busytask'
that one doesn't work well because as a consequence the "busytask" runs as
root, not what I want when copying files.
> or if running already then
> 'nice -n19 sudo ionice -c3 -p `pidof busytask`'.
Ah! Didn't think of that one. I usually do that as root, didn't think of
"sudoing" it.
> But, since an io priority is lowered, it usually would take time long.
Yes, but in this case it doesn't matter: my objective is having my main
task run smoothly.
- --
Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76
iD8DBQFGHYVstTMYHG2NR9URAri0AKCUrhZTnWt1DZmgoEKgFw9EGEMuIQCfbtFk
WMBH4IPzLancvrRi7n5moKQ=
=jaUR
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]