Nice is nice but....

In my experience on my P4 2.4GHz with 512 Mb ram, it hardly ever slows my
machine to to a bothersome level.

Probably very nice for less grunty machines though.

Rob

 -----Original Message-----
From:   Nick Rout [mailto:[EMAIL PROTECTED] 
Sent:   Tuesday, 18 May 2004 10:17 a.m.
To:     CLUG
Subject:        Gentoo tip - emerge --ask and PORTAGE_NICENESS

Occasional tips as a follow up to the installs we did on Saturday.

emerge --ask
============
The usual process with emergeing a new package is 

#emerge -p packagename  (-p = --pretend)

Then if that looks ok, 

#emerge packagename

Some may have noticed that for each run the dependencies are calculated,
and this can take a while. Instead you can combine the two steps with
the --ask parameter. This calculates the dependencies, tells you what
emerge intends to install, then asks if its ok. Therefore the
dependencies are calculated only once, saving you precious cpu cycles
for setiathome ;-)

# emerge --ask packagename

PORTAGE_NICENESS
====================

Setting this to a positive nunber in /etc/make.conf like this:

PORTAGE_NICENESS=5

will mean that emergeing runs at a lower priority, so your desktop and
critical services remain usable - snappy even - under heavy compiling.

You can also do this on a one-off by setting nice on the command line.

nice -n 5 emerge packagename

-- 
Nick Rout <[EMAIL PROTECTED]>

Reply via email to