Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 84319

Summary: emerge proformance increase by temporarily stopping CPU intensive init programs
Product: Gentoo Linux Reporter: Frank Barton <pauling>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Frank Barton 2005-03-06 10:30:16 UTC
I run the Distributed.net client as an init script on startup, and have found that it slows down any compiles in a non-trivial manner.
would it be possible in, for example, make.conf to have a list of "pre-emerge" and "post-emerge" programs, such that when emerge is called , it first runs the "pre-emerge" commands then starts the emerge, then once everything is completed, it runs the "post-emerge" command
ie:
PRE_EMERGE /etc/init.d/dnetc stop
POST_EMERGE /etc/init.d/dnetc start

Reproducible: Always
Steps to Reproduce:
1.boot system
2.emerge anything
3.
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2005-03-06 10:42:48 UTC
why don't you simply create an alias?
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-06 13:53:37 UTC
Write a script or add an alias alias as Simon proposed.