what if native systemd service is slower than old sysvinit script?
"Jóhann B. Guðmundsson"
johannbg at gmail.com
Thu Sep 15 17:06:09 UTC 2011
On 09/15/2011 04:11 PM, Michal Schmidt wrote:
> On 09/15/2011 05:54 PM, Ralf Corsepius wrote:
>> On 09/15/2011 09:42 AM, "Jóhann B. Guðmundsson" wrote:
>>> On 09/15/2011 05:25 AM, Ralf Corsepius wrote:
>>>> Anyway, some more figures: On the same machine, bootup times when
>>>> booting from a (slow) external (IDE) USB2 HD:
>>>> - Fedora 15/i386: ca. 135 secs.
>>>> - Ubuntu 11.04/i386: ca. 70 secs.
>>>> [Here bootup time: Wirst watch measured time from "grub prompt" to
>>>> "login screen"]
>>>> It shows the effect of slow disks (60secs w/ internal HD vs. 2.15
>>>> minutes w/ USB HD), but raises questions on why Ubuntu appears to be so
>>>> much faster in this configuration.
>>> Could you run systemd-analyze plot> bootup.svg and post it somewhere
>> See: http://corsepiu.fedorapeople.org/scratch/bootup-20110915.1.svg
> From the long delay before swap.target is reached it seems that your
> defined swap partition never comes up and systemd times out waiting on it.
If you dont use any lvm, raid and encrypted devices, you can safely turn
off all fedora-* services
( Anaconda (F16) finally offers desktop users an easy way to opt out
from lvm without being partitioning experts )
#for i in fedora-*; do ln -s /dev/null /etc/systemd/system/$i;done
We throw in udev-settle since it gets pulled in by the storage setup
#ln -s /dev/null /etc/systemd/system/udev-settle.service
If you want speed not eye candy you can disable plymouth
#for i in plymouth-*; do ln -s /dev/null /etc/systemd/system/$i;done
Then proceeding disabling all the service you dont use.
#for i in service1 service2 service3 etc... ; do systemctl disable $i ;done
More information about the devel