what if native systemd service is slower than old sysvinit script?

Steve Clark sclark at netwolves.com
Wed Sep 14 10:56:04 UTC 2011


On 09/14/2011 04:35 AM, "Jóhann B. Guðmundsson" wrote:
> On 09/13/2011 11:03 PM, Micha? Piotrowski wrote:
>> Hi
>>
>> 2011/9/13 Tom Lane<tgl at redhat.com>:
>>> (This isn't new with 9.1, btw --- the last version or so of 9.0
>>> for F16 was the same, since we switched over to native systemd
>>> files.)
>> I used this service file on F15 and it starts slower
>>     4214ms postgresql.service
>>
>> if we compare with an old SysVinit script
>>     2469ms postgresql.service
>
> First of all you cant reliably measure startup performance between
> legacy sysv init script and a native systemd unit since either one of
> those might be doing less/more.
>
>> So I wonder if it makes sense to convert in such case?
> Yes systemd is bringing more to the table then just "startup speed"
> which by the way is completely irrelevant in server environment.
>
> I personally look at the boot decrease as an side effect not an feature.
>
> We are still a long way from actually deliver that degreased boot time
> out of the box into the hands of the desktop end users or perhaps I
> should rather say there is room for plenty of improvements in that regard.
>
> Once we have done that it willl highlight other issues such as the log
> into the desktop time which currently is taking longer time for me (
> Gnome it might be faster on other *DE ) than it takes to booting the
> operating system.
>
> JBG
Thats right!  Just wave your hands and say it is all ok that systemd is slower now but it is doing
so much more and we will make it better in the future...!

This was a simple test to start postgresql - what else needs to be done!



-- 
Stephen Clark
*NetWolves*
Sr. Software Engineer III
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.clark at netwolves.com
http://www.netwolves.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/devel/attachments/20110914/230f1b75/attachment.html 


More information about the devel mailing list