Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13722 - An option in make.conf that allows 'nice' to be used by default
Summary: An option in make.conf that allows 'nice' to be used by default
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-11 10:07 UTC by Charles Goodwin
Modified: 2011-10-30 22:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Goodwin 2003-01-11 10:07:13 UTC
For those of us who use gentoo as a desktop PC and frequently update, it would
be welcome to have an option to have the usage of 'nice' turned on by default.

(memory jogger)
'nice' makes a process run with a lower priority so there is little impact on
system performance.  'nice emerge x' (including nice emerge sync) allows the
system to remain responsive.
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2003-03-10 14:27:26 UTC
Although not directly what you are looking for, you can make a system-wide function for emerge:

emerge() {
 /usr/bin/nice /usr/bin/emerge $* 5
}

or something like that (bashscripting isn't my best point :)
Comment 2 Charles Goodwin 2003-03-10 17:22:31 UTC
kernels 2.5.65 and later will kill this... it'll be invalid by 2.6 so I'd mark it invalid now.
Comment 3 Narada Sage 2003-05-08 12:57:20 UTC
This has already been taken care of.  Look at bug 18868.
Comment 4 Nicholas Jones (RETIRED) gentoo-dev 2003-05-12 04:28:22 UTC
It's in make.conf.
PORTAGE_NICENESS