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):
Steps to Reproduce:
1.look at /etc/init.d/network
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.
Created attachment 106377 [details]
patch to reduce program starts from 8 to 4
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 :=)
Addded in 8.08-1, thanks.