Bug 138557 - too many programs run
too many programs run
Product: Fedora
Classification: Fedora
Component: initscripts (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
: FutureFeature
Depends On:
Blocks: FC4Target
  Show dependency treegraph
Reported: 2004-11-09 16:30 EST by Ulrich Drepper
Modified: 2014-03-16 22:50 EDT (History)
3 users (show)

See Also:
Fixed In Version: 8.08-1
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-15 15:54:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch to reduce program starts from 8 to 4 (863 bytes, patch)
2004-11-09 16:30 EST, Ulrich Drepper
no flags Details | Diff

  None (edit)
Description Ulrich Drepper 2004-11-09 16:30:00 EST
Description of problem:
Startup can be sped up by using fewer programs.  Yes, it's nice to use many
programs in a pipeline but using severel grep and sed invocations where one sed
call is sufficient just costs time and resources.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.look at /etc/init.d/network
Actual results:

Expected results:

Additional info:
I got a speedup of the chaing of commands of about 30%, probably more at startup
time.  In real time this isn't that much (6-20ms, depending on the machine) but
it's also meant to raise awareness.  Find a few dozen more of these kind of
problems and the effects will be measurable.
Comment 1 Ulrich Drepper 2004-11-09 16:30:00 EST
Created attachment 106377 [details]
patch to reduce program starts from 8 to 4
Comment 2 Per Winkvist 2004-12-01 09:28:23 EST
Its not much time when you compare with the fact that cupsd takes 
about 3 seconds to start on my machine... It should be loaded the 
first time you are about to print.

And just try to boot FC when you don't have the ethernet cable 
plugged in. I have to wait about a minute for it to realise that the 
cable is not there :=)

Comment 3 Bill Nottingham 2005-04-15 15:54:58 EDT
Addded in 8.08-1, thanks.

Note You need to log in before you can comment on or make changes to this bug.