what if native systemd service is slower than old sysvinit script?
"Jóhann B. Guðmundsson"
johannbg at gmail.com
Wed Sep 14 08:35:47 UTC 2011
On 09/13/2011 11:03 PM, Michał Piotrowski wrote:
> 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
> 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
More information about the devel