Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139124 - add way to renice a running emerge -- portage niceness
Summary: add way to renice a running emerge -- portage niceness
Status: RESOLVED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 184128
  Show dependency tree
 
Reported: 2006-07-03 23:55 UTC by Aaron Peterson
Modified: 2007-07-09 05:58 UTC (History)
0 users

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 Aaron Peterson 2006-07-03 23:55:45 UTC
I ran top and tried to renice the running emerge command.

as I suspected, the child processes stayed "nice"

I wanted them to be mean dang it!

and I didn't want to have to restart the emerge because I was so long into it....

I could just renice everything else on the system to the same level of niceness... but that's getting silly.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2006-07-04 05:40:05 UTC
IMO this is way beyond the scope of portage, shuold rather be a separate tool that can renices any process tree.
Comment 2 Aaron Peterson 2006-07-04 18:23:18 UTC
I tried using the separate tool !!

top could not renice it....

emerge spawns new processes at a nice level specified in make.conf

I suggest that portage checks it's own nice level, and spans new processes at it's own level  rather than some configuration value.

We would then be ABLE to renice portage.
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2006-07-05 03:42:09 UTC
Ah, your inital comment didn't make it clear you were talking about new subprocesses.
Comment 4 Aaron Peterson 2006-07-05 09:52:29 UTC
ok... I thought it was obvious 

and I see how it's not.

And I agree that it would be way beyond the scope to catch keyclicks or whatever to renice it...
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2007-07-09 05:23:19 UTC
Took another look at it today, and AFAICT it works as it should.