public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hemmann, Volker Armin" <volker.armin.hemmann@tu-clausthal.de>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64] PORTAGE_NICENESS
Date: Thu, 14 Jun 2007 19:57:13 +0200	[thread overview]
Message-ID: <200706141957.13345.volker.armin.hemmann@tu-clausthal.de> (raw)
In-Reply-To: <5bdc1c8b0706141044p41426bd9p761bc3148f9aee93@mail.gmail.com>

On Donnerstag, 14. Juni 2007, Mark Knecht wrote:
> I'm wondering if anyone can recommend a good setting for
> PORTAGE_NICENESS that would allow some compiles in the background
> without drastically effecting MythTV? Or is there some better way to
> do this with other software?
>
> I've fiddled around with renicing mythfrontend but even going to -15
> didn't seem to help that much. Seems better to just make the compiles
> slower and more friendly.
>
> Note that this seems somewhat worse under the newest -rt kernel -
> 2.6.21.4-rt12-cfs-v17. I may need to back up and see if the previous
> one I was running was any better.
>
> Thanks in advance,
> Mark


set it to +19

not only does it free lots of CPU cycles for everybody else, they are 
also 'batch scheduled' which should be good for compiling.

read /usr/src/linux/Documentation/sched-desing.txt

quote:
- batch scheduling. A significant proportion of computing-intensive tasks
   benefit from batch-scheduling, where timeslices are long and processes
   are roundrobin scheduled. The new scheduler does such batch-scheduling
   of the lowest priority tasks - so nice +19 jobs will get
   'batch-scheduled' automatically. With this scheduler, nice +19 jobs are
   in essence SCHED_IDLE, from an interactiveness point of view.
-- 
gentoo-amd64@gentoo.org mailing list



  reply	other threads:[~2007-06-14 17:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-14 17:44 [gentoo-amd64] PORTAGE_NICENESS Mark Knecht
2007-06-14 17:57 ` Hemmann, Volker Armin [this message]
2007-06-14 18:06   ` Mark Knecht
2007-06-14 18:22     ` Mike Doty
2007-06-14 19:14       ` Richard Freeman
2007-06-17  9:41   ` Peter Humphrey
2007-06-17 10:36     ` Richard Freeman
2007-06-17 13:14       ` Peter Humphrey

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=200706141957.13345.volker.armin.hemmann@tu-clausthal.de \
    --to=volker.armin.hemmann@tu-clausthal.de \
    --cc=gentoo-amd64@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