Unix Technical Forum

How do I run emerge at a lower priority?

This is a discussion on How do I run emerge at a lower priority? within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> On a long emerge I wish to do something like: nice -n 5 emerge -auvDN world The python process ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-23-2008, 10:52 AM
Nikos Chantziaras
 
Posts: n/a
Default How do I run emerge at a lower priority?

On a long emerge I wish to do something like:

nice -n 5 emerge -auvDN world

The python process runs at a nice value of 5 that way, but the compiler
(and anything else called by emerge) doesn't :P

Any way I can achieve what I want?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-23-2008, 10:52 AM
pk
 
Posts: n/a
Default Re: How do I run emerge at a lower priority?

On Friday 20 June 2008 14:52, Nikos Chantziaras wrote:

> On a long emerge I wish to do something like:
>
> nice -n 5 emerge -auvDN world
>
> The python process runs at a nice value of 5 that way, but the compiler
> (and anything else called by emerge) doesn't :P
>
> Any way I can achieve what I want?


Look up "PORTAGE_NICENESS" in /etc/make.conf. Not sure it does what you want
though.

--
All the commands are tested with bash and GNU tools, so they may use
nonstandard features. I try to mention when something is nonstandard (if
I'm aware of that), but I may miss something. Corrections are welcome.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-23-2008, 10:52 AM
J.O. Aho
 
Posts: n/a
Default Re: How do I run emerge at a lower priority?

Nikos Chantziaras wrote:
> On a long emerge I wish to do something like:
>
> nice -n 5 emerge -auvDN world
>
> The python process runs at a nice value of 5 that way, but the compiler
> (and anything else called by emerge) doesn't :P
>
> Any way I can achieve what I want?


Have you set the PORTAGE_NICENESS ? Think that could override your nice
command when it comes to the compiler.

--

//Aho
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-23-2008, 10:52 AM
Nikos Chantziaras
 
Posts: n/a
Default Re: How do I run emerge at a lower priority?

pk wrote:
> On Friday 20 June 2008 14:52, Nikos Chantziaras wrote:
>
>> On a long emerge I wish to do something like:
>>
>> nice -n 5 emerge -auvDN world
>>
>> The python process runs at a nice value of 5 that way, but the compiler
>> (and anything else called by emerge) doesn't :P

>
> Look up "PORTAGE_NICENESS" in /etc/make.conf. Not sure it does what you want
> though.


Thanks pk and J.O. Aho. It was an RTFM matter :P
(http://gentoo-wiki.com/TIP_nice_and_PORTAGE_NICENESS).

It does exactly what I want
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:48 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com