public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant <emailgrant@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] PORTAGE_NICENESS for real
Date: Wed, 5 Apr 2006 09:49:20 -0700	[thread overview]
Message-ID: <49bf44f10604050949i56e1b71cu14c9d644a33df91@mail.gmail.com> (raw)
In-Reply-To: <1144232560.24199.13.camel@localhost>

> > > It would be nice if there was a nice command for making disk access nice
> > > so I could nicely say `nice emerge -uD world` and it wouldn't take a
> > > whole lot of disk time away from my nice browsing, music playing, etc...
> >
> > I think /usr/src/linux/Documentation/block/ioprio.txt is your friend.
> > (I'll read it when (if?) I'll have the time, so I can't sum it up for
> > you !)
>
> OK, I've read it.
> If you configure the CFQ-IOscheduler in your kernel, you can write an
> ionice tool (source code given) which is like nice, but for the disk.
> Furthermore, there exist a IOPRIO_CLASS_IDLE priority class which is
> exactly what we are looking for (no disk access if any other process
> wants a disk access).
>
> Is there a plan to use those IOPRIO classes in Portage ? It could be
> very useful for laptops (with very slow disks).
>
> BTW, is there a plan to use the new SCHED_BATCH scheduling policy
> introduced in the last (2.6.16) kernel ? (see
> http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b0a9499c3dd50d333e2aedb7e894873c58da3785 )
>
>
>         Fred

So those tools aren't useful for this problem until they are
integrated into portage?

- Grant

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-04-05 16:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-05  0:13 [gentoo-user] PORTAGE_NICENESS for real Grant
2006-04-05  0:56 ` Iain Buchanan
2006-04-05  1:18   ` Roy Wright
2006-04-05  1:51     ` Iain Buchanan
2006-04-05 10:07       ` Frédéric Grosshans
2006-04-05 10:22         ` Frédéric Grosshans
2006-04-05 16:49           ` Grant [this message]
2006-04-07 18:09             ` Vladimir G. Ivanovic
2006-04-05  2:00   ` Glenn Enright
2006-04-05 23:08     ` Iain Buchanan
2006-04-05 23:22       ` Richard Fish
2006-04-06  2:57       ` Glenn Enright
2006-04-06  4:00         ` Iain Buchanan
2006-04-05  1:57 ` Hemmann, Volker Armin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49bf44f10604050949i56e1b71cu14c9d644a33df91@mail.gmail.com \
    --to=emailgrant@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox