Re: [gentoo-amd64] Managing CPU usage when doing emerges

2009-05-20 Thread Richard Freeman
Mark Haney wrote: Paul Hartman wrote: I agree, I use /dev/shm (4gigs) for my portage tmpdir and it has had a bigger noticeable speed impact than ccache or niceness, and the silence of zero disk activity (other than reading the distfiles in the unpack stage and installing the compiled files) is n

Re: [gentoo-amd64] Managing CPU usage when doing emerges

2009-05-19 Thread Branko Badrljica
Alex Alexander wrote: > you would need a separate partition for /var/tmp/portage with special > settings to be safe... even then, if you can afford the ram, tmpfs is > probably a better solution. > > I use such settings on my machine all the time, with no problems whatsoever until now. It just

Re: [gentoo-amd64] Managing CPU usage when doing emerges

2009-05-19 Thread Alex Alexander
On Tue, May 19, 2009 at 15:52, Branko Badrljica wrote: > Alex Alexander wrote: > >> most packages build fine with a 768M tmpfs :) >> if you plan on compiling big stuff like gcc you'll need to make it >> larger or unmount it though. >> >> > With ext4 useable, is it still practicall to fiddle with t

Re: [gentoo-amd64] Managing CPU usage when doing emerges

2009-05-19 Thread Branko Badrljica
Branko Badrljica wrote: > With ext4 useable, is it still practicall to fiddle with thmfs for > building ? > EDIT: Typo- thms -->tmpfs

Re: [gentoo-amd64] Managing CPU usage when doing emerges

2009-05-19 Thread Branko Badrljica
Alex Alexander wrote: > most packages build fine with a 768M tmpfs :) > if you plan on compiling big stuff like gcc you'll need to make it > larger or unmount it though. > > With ext4 useable, is it still practicall to fiddle with thmfs for building ? Ext4 can be configured so that it defers wr

Re: [gentoo-amd64] Managing CPU usage when doing emerges

2009-05-19 Thread Alex Alexander
On Tue, May 19, 2009 at 14:44, Mark Haney wrote: > I would do this, however, my problem is (or was) RAM. Until yesterday I > had only 1GB RAM in this laptop. Now I have doubled it which is the max > it will support (it's 4 years old). I don't think 2GB is worth trying a > tmpfs for. most packa

Re: [gentoo-amd64] Managing CPU usage when doing emerges

2009-05-19 Thread Mark Haney
Paul Hartman wrote: > On Mon, May 18, 2009 at 3:18 PM, Richard Freeman wrote: >> I'll just echo what Duncan said about nice / ionice. However, you might >> find the impact of ionice -c 3 on compilation is reduced if you use a tmpfs >> for /var/tmp/portage. Note that depending on what you're buil

Re: [gentoo-amd64] Managing CPU usage when doing emerges

2009-05-18 Thread Paul Hartman
On Mon, May 18, 2009 at 3:18 PM, Richard Freeman wrote: > > I'll just echo what Duncan said about nice / ionice. However, you might > find the impact of ionice -c 3 on compilation is reduced if you use a tmpfs > for /var/tmp/portage. Note that depending on what you're building you might > need a

Re: [gentoo-amd64] Managing CPU usage when doing emerges

2009-05-18 Thread Richard Freeman
Mark Haney wrote: Is there another way to use nice, or to fix that problem? Or another way to manage CPU usage during an emerge? I'll just echo what Duncan said about nice / ionice. However, you might find the impact of ionice -c 3 on compilation is reduced if you use a tmpfs for /var/tmp/

Re: [gentoo-amd64] Managing CPU usage when doing emerges

2009-05-18 Thread Volker Armin Hemmann
On Montag 18 Mai 2009, Mark Haney wrote: > Wil Reichert wrote: > > On Mon, May 18, 2009 at 8:26 AM, Mark Haney wrote: > >> I've been extremely busy lately and have let my updates get way behind. > >> Part of that is my need to keep kde-libs-3.5 on my system for K3b, etc, > >> part of that is just

Re: [gentoo-amd64] Managing CPU usage when doing emerges

2009-05-18 Thread Mark Haney
Wil Reichert wrote: > On Mon, May 18, 2009 at 8:26 AM, Mark Haney wrote: >> I've been extremely busy lately and have let my updates get way behind. >> Part of that is my need to keep kde-libs-3.5 on my system for K3b, etc, >> part of that is just too much else to do. >> >> The problem I've encount

Re: [gentoo-amd64] Managing CPU usage when doing emerges

2009-05-18 Thread Wil Reichert
On Mon, May 18, 2009 at 8:26 AM, Mark Haney wrote: > I've been extremely busy lately and have let my updates get way behind. > Part of that is my need to keep kde-libs-3.5 on my system for K3b, etc, > part of that is just too much else to do. > > The problem I've encountered is when I try to do an