 |
 |
 |
 |
| Installation and Live Media Help with Installation & Live Media (Live CD, USB, DVD) problems. |

15th September 2012, 09:14 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,612

|
|
|
Re: increasing boot speed
Good point, marko.
The way that systemd starts multiple services at one time now, you might disable a unneeded service but not shave a bit of time off of the total boot time simply because another service is taking longer than it should to start.
|

17th September 2012, 02:01 AM
|
 |
Registered User
|
|
Join Date: Aug 2010
Location: Wellington, New Zealand
Age: 16
Posts: 889

|
|
|
Re: increasing boot speed
Quote:
Originally Posted by DBelton
Good point, marko.
The way that systemd starts multiple services at one time now, you might disable a unneeded service but not shave a bit of time off of the total boot time simply because another service is taking longer than it should to start.
|
Could you explain that a bit further? I ask because I've disabled at least 3 services but my boot time has stayed solidly around 32 secs, even though by my calculations Fedora should be booting about 3-5 secs faster
__________________
"For what is a man profited if he gains the whole world, but loses his own soul?"
- Jesus
|

17th September 2012, 02:29 AM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,612

|
|
|
Re: increasing boot speed
Say for example, systemd starts 3 services at one time.
A takes 45 seconds, B takes 30 seconds, C takes 15 seconds.
All three services being started takes 45 seconds.
Now, if you disable C, the total time is still 45 seconds, since A is still taking 45 seconds to finish, even though you disabled C which took only 15 seconds.
|

17th September 2012, 03:10 AM
|
 |
Registered User
|
|
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,302

|
|
|
Re: increasing boot speed
This command
systemd-analyze plot >/tmp/sysplot.xml ; firefox /tmp/sysplot.xml
will bring up a bar graph of the startup. The portions in red represent processes that are
holding up others from proceeding. Some can be eliminated, some can be made faster,
some cant be improved.
So for example you may be able to drop the fedora-wait-storage.service, but you likely don't
get rid of NetworkManager.
NB the graph seems to be imperfect.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
|

17th September 2012, 10:44 AM
|
|
Registered User
|
|
Join Date: Sep 2012
Location: San Mateo, California
Posts: 1

|
|
|
Re: increasing boot speed
You can increase the boot speed for Fedora by following these steps. Firstly while booting check which service takes a lot of time to start, you may disable it if not required. Check what timeout value you have in /etc/grub.conf, you may reduce a couple of seconds there. Install and launch system-config-services , stop and disable all the unwanted services. That should certainly help your boot time. You will feel the difference.
|

17th September 2012, 09:38 PM
|
|
Registered User
|
|
Join Date: Sep 2012
Location: Poland
Posts: 6

|
|
|
Re: increasing boot speed
Code:
5406ms udev-settle.service
3137ms fedora-storage-init.service
1603ms fedora-readonly.service
1581ms boot.mount
1563ms NetworkManager.service
1321ms systemd-vconsole-setup.service
1089ms ip6tables.service
1031ms systemd-remount-fs.service
1008ms iptables.service
812ms avahi-daemon.service
792ms systemd-logind.service
732ms udev-trigger.service
699ms udev.service
695ms chronyd.service
593ms media.mount
587ms dev-mqueue.mount
583ms dev-hugepages.mount
547ms livesys.service
538ms fedora-storage-init-late.service
529ms sys-kernel-debug.mount
What I don't like is fact, that it takes almost 1 minute for initramfs to start..
Here's my systemd-analyze output:
Code:
Startup finished in 880ms (kernel) + 58178ms (initramfs) + 13562ms (userspace) = 72621ms
I'd attach my svg plot from systemd-analyze, but it's too large  .
Best regards!
Last edited by qkurdej; 17th September 2012 at 09:41 PM.
|

19th September 2012, 01:16 AM
|
 |
Registered User
|
|
Join Date: Aug 2010
Location: Wellington, New Zealand
Age: 16
Posts: 889

|
|
|
Re: increasing boot speed
Quote:
Originally Posted by DBelton
Say for example, systemd starts 3 services at one time.
A takes 45 seconds, B takes 30 seconds, C takes 15 seconds.
All three services being started takes 45 seconds.
Now, if you disable C, the total time is still 45 seconds, since A is still taking 45 seconds to finish, even though you disabled C which took only 15 seconds.
|
Oh, I see ....
__________________
"For what is a man profited if he gains the whole world, but loses his own soul?"
- Jesus
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 11:56 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|