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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/14/2011 11:28 AM, Tom Lane wrote:
=?ISO-8859-2?Q?Miloslav_Trma=E8?= <mitr@xxxxxxxx> writes:
2011/9/14 "Jóhann B. Guðmundsson" <johannbg@xxxxxxxxx>:
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.
Yes.  The unit file is already stripped down: it does nothing except
"pg_ctl start".  The init script had accumulated a whole lot of
perhaps-unnecessary sanity-checking, which frankly I'd rather have kept
but the systemd mantra seems to be "no shell scripting" so I didn't.

Michal's numbers look pretty damning, and I find it remarkable that the
systemd advocates seem to have managed not to read them, let alone admit
Don't confuse we with facts! I've already made up my mind! ;-)
that they suggest something's seriously wrong.

			regards, tom lane


--
Stephen Clark
NetWolves
Sr. Software Engineer III
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.clark@xxxxxxxxxxxxx
http://www.netwolves.com
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux