[Pkg-sysvinit-devel] Bug#581907: sysv-rc: performance regression with CONCURRENCY=makefile

Felipe Sateler fsateler at gmail.com
Tue May 18 17:28:57 UTC 2010


On Mon, May 17, 2010 at 01:45, Petter Reinholdtsen <pere at hungry.com> wrote:
> [Felipe Sateler]
>> As per [1], I'm reporting this against the sysv-rc package.
>> CONCURRENCY=makefile results in a performance hit to my boot
>> sequence, both with and without readahead.
>
> Thank you.  I hope we can find the cause of this slowdown.
>
> I notice from bootchart-makefile-readahead.png that there are one
> startpar process that seem to run longer than expected.  It is started
> from rcS.d/.  This is normally a problem with some daemon failing to
> close its file descriptors when it starts.  Can you run 'ps -ef|grep
> startpar' to see which process this is?  These should be reported as
> separate bugs.  Not sure it affect the boot speed, though.

This seems to be timidity.

>
> I notice netagent sleep for 4 seconds during the boot.  Any idea why?

I have no idea what net.agent is.

>
> I also notice X.org seem to start earlier when parallel boot is
> enabled.  Do you benchmark from the kernel start to the desktop is
> ready for use (using autologin) or the login screen is available, or
> just to the last init.d script is done?  The sequencial boot chart
> seem to ignore the time it take to start X, while it is included in
> the parallel boot chart.

It is up to the login screen. I think bootchart stops when rc2.d is
done, so its true the benchmarks could be unfair. I will setup
autologin and stop bootchart once the desktop has started. I'm not
quite sure how to force a command to fire when gnome has finished
loading, will check how to do that.



-- 

Saludos,
Felipe Sateler





More information about the Pkg-sysvinit-devel mailing list