what if native systemd service is slower than old sysvinit script?
mitr at volny.cz
Wed Sep 14 14:37:32 UTC 2011
2011/9/14 "Jóhann B. Guðmundsson" <johannbg at gmail.com>:
> On 09/14/2011 10:56 AM, Steve Clark wrote:
> > This was a simple test to start postgresql - what else needs to be done!
> An simple test to measure this reliably is to strip down the legacy sysv
> init script to the start up command only and have a strip down unit file to
> the startup command only.
> Then time the startup of either.
Why? The current numbers show that the service file is _slower_ even
when the old init script is supposedly doing much more work in shell.
If anything, stripping the unessential parts should make the service
file _even slower_ in relative terms.
More information about the devel