From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HytbG-0004vw-4u for garchives@archives.gentoo.org; Thu, 14 Jun 2007 17:59:14 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l5EHvGtI023811; Thu, 14 Jun 2007 17:57:16 GMT Received: from poseidon.rz.tu-clausthal.de (poseidon.rz.tu-clausthal.de [139.174.2.21]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l5EHvFaE023806 for ; Thu, 14 Jun 2007 17:57:16 GMT Received: from poseidon.rz.tu-clausthal.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id A90C2208925 for ; Thu, 14 Jun 2007 19:57:15 +0200 (CEST) Received: from tu-clausthal.de (poseidon [139.174.2.21]) by poseidon.rz.tu-clausthal.de (Postfix) with ESMTP id 9A6CB208924 for ; Thu, 14 Jun 2007 19:57:15 +0200 (CEST) Received: from energy.heim10.tu-clausthal.de (account wevah [139.174.197.94] verified) by tu-clausthal.de (CommuniGate Pro SMTP 5.1.9) with ESMTPSA id 24096862 for gentoo-amd64@lists.gentoo.org; Thu, 14 Jun 2007 19:57:15 +0200 From: "Hemmann, Volker Armin" To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] PORTAGE_NICENESS Date: Thu, 14 Jun 2007 19:57:13 +0200 User-Agent: KMail/1.9.7 References: <5bdc1c8b0706141044p41426bd9p761bc3148f9aee93@mail.gmail.com> In-Reply-To: <5bdc1c8b0706141044p41426bd9p761bc3148f9aee93@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706141957.13345.volker.armin.hemmann@tu-clausthal.de> X-Virus-Scanned: by PureMessage V4.7 at tu-clausthal.de X-Archives-Salt: c6c70157-0774-4ff1-bdd7-334ff35e8060 X-Archives-Hash: aa30efaa3f38a0324202c6bea6a06472 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