I also assumed at first that your kids were annoyed because of
performance of the cpu taken up by the emerge compilation process. Now
it appears I was wrong, its the downloads afecting online games.

Ok well how about speed limiting the wget command in portage? the
download command can be specified in /etc/make.conf, and wget has a rate
limiting option.

RTFM for more details :-)

Nick


On Mon,
15 Dec 2003 17:13:19+1300"Fisher, Robert(FXNZ
CHC)"<[EMAIL PROTECTED]> wrote:

> Truth is I usually try to change the router to point to jetstreamgames
> and then....
> 
> emerge -uf world && emerge -u world
> 
> Works a treat.
> 
> For non Gentoo users - this downloads all of the files first (really
> fast) then I can change the router back to normal while the
> compilation takes place.
> 
> Robert
> 
> Experience is something you don't get until just after you need it.
> 
>  -----Original Message-----
> From:         Fisher, Robert (FXNZ CHC) [mailto:[EMAIL PROTECTED] 
> Sent: Monday, 15 December 2003 5:04 p.m.
> To:   '[EMAIL PROTECTED]'
> Subject:      RE: Nice
> 
> Ed Zachery!
> 
> (see my previous answer)
> 
> Rob
>  -----Original Message-----
> From:         Michael JasonSmith [mailto:[EMAIL PROTECTED] 
> Sent: Monday, 15 December 2003 4:58 p.m.
> To:   linux users
> Subject:      Re: Nice
> 
> On Mon, 2003-12-15 at 16:40, Christopher Sawtell wrote:
> > su -
> > Password: secretblah
> > nohup nice 18 emerge --update package 2&1> ~/emerge.log &
> > logout
> > 
> > The update will now take place in the backgound at a very low
> > priority, and probably won't even be noticed.
> Really?  I would imagine that downloading many MB of data would not be
> very CPU intensive, so altering the "nice" level would not have a
> dramatic affect on the performance of the machine.
> 
> The kids problem is this, if I understand correctly:
>      1. "emerge" is scheduled.
>      2. "emerge" requests a heap of data from the server.
>      3. The kernel puts "emerge" into interruptible-sleep state (D)
>         until the data has arrived.
>      4. The pipe fills with data coming in from the server.
>      5. No...bandwidth...left...for...UT.  Much...lag.  Getting...
>         fragged...lots...damn...you...Dad!
> Altering the "nice" level only affects how frequently (1) occurs,
> while the real problem is (4), which still happens far too frequently
> for the kids to be happy.
> 
> There is a solution to their problem.  I think it is called "bandwidth
> shaping" but I am not too sure of its name or how to do it\ldots
> 
> -- 
> Michael JasonSmith                                  
> http://www.ldots.org/
> 
> 


Reply via email to