[opensuse-factory] How to reduce boot time by 10 seconds
I read the threads about boot performance effort an preload settings and wanted to do some tests by my own. So I just startet to disable the automatically startet services one by one via YaST, here the results (Phenom II System with Intel SSD, boot time measured from Grub to XDM (XFCE-System) Default OpenSuse 11.1: 25 seconds with crond, auditd and sshd disabled: 15 seconds So 10 seconds only by disabling crond, auditd and sshd at boot time. No preload experiments no other changes. Usually you want auditd at boot time, so maybe this is not a good idea to disable it, but it might be a good starting point for improvement. Also sshd does not have to be started at boot time, as it's blocked by the firewall anyway, so you can just leave ssh away and tell users to enable it, if they need it. (I hate Ubuntu for doing so, but an average user does not need sshd anyway). Crond is probably not needed during boot process neighter, so there just has to be a solution to start it later, after X. -- Mit freundlichen Grüßen, Marcel Hilzinger Linux New Media AG, Putzbrunner Str. 71, 81739 München, Germany Tel: +49 89 99 34 110, Fax: +49 89 99 34 1199 mhilzinger@linuxnewmedia.de - http://www.linuxnewmedia.de ---------------------------------------------------------- Linux New Media, the Pulse of Open Source: Lawrence, KS - Málaga Manchester - München - São Paulo - Timisoara - Warszawa ---------------------------------------------------------- Sitz der Gesellschaft: Putzbrunner Str. 71, 81739 München Amtsgericht München: HRB 129161 Vorstand: Rosemarie Schuster, Hermann Plank Aufsichtsratsvorsitzender: Rudolf Strobl -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Am Donnerstag, 19. Februar 2009 17:53:41 schrieb Marcel Hilzinger:
I read the threads about boot performance effort an preload settings and wanted to do some tests by my own. So I just startet to disable the automatically startet services one by one via YaST, here the results (Phenom II System with Intel SSD, boot time measured from Grub to XDM (XFCE-System)
Default OpenSuse 11.1: 25 seconds with crond, auditd and sshd disabled: 15 seconds
Forget about this posting. I've definitively gained 10 seconds through disabling different services at boot, but it's definitively not crond, auditd and sshd. The speedup seems to been related to the SSD/and or the CPU, as on an Atom-System without ssd drive there is almost no speedup with disabling services. I'll run some further tests and report, if I can reproduce. Marcel -- Mit freundlichen Grüßen, Marcel Hilzinger Linux New Media AG, Putzbrunner Str. 71, 81739 München, Germany Tel: +49 89 99 34 110, Fax: +49 89 99 34 1199 mhilzinger@linuxnewmedia.de - http://www.linuxnewmedia.de ---------------------------------------------------------- Linux New Media, the Pulse of Open Source: Lawrence, KS - Málaga Manchester - München - São Paulo - Timisoara - Warszawa ---------------------------------------------------------- Sitz der Gesellschaft: Putzbrunner Str. 71, 81739 München Amtsgericht München: HRB 129161 Vorstand: Rosemarie Schuster, Hermann Plank Aufsichtsratsvorsitzender: Rudolf Strobl -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Friday 20 February 2009 13:12:42 Marcel Hilzinger wrote:
Forget about this posting. I've definitively gained 10 seconds through disabling different services at boot, but it's definitively not crond, auditd and sshd. The speedup seems to been related to the SSD/and or the CPU, as on an Atom-System without ssd drive there is almost no speedup with disabling services.
Yes, that is to be expected. If you have a spinning disk, the biggest problem is the IO not being fast enough - the disk head seeks are dominating erverything else. Something can be gained from preloading data (ie start to load it into the cache before the application asks for it, so that we eliminate the seek wait) but results vary a lot here. Have you looked at http://en.opensuse.org/Boottime/Boot_time already? Olaf -- 1. Die Welt ist alles, was der Fall ist. 1.1. Der Rest sind Fußnoten. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Am Freitag, 20. Februar 2009 13:18:23 schrieb Olaf Kirch:
On Friday 20 February 2009 13:12:42 Marcel Hilzinger wrote:
Forget about this posting. I've definitively gained 10 seconds through disabling different services at boot, but it's definitively not crond, auditd and sshd. The speedup seems to been related to the SSD/and or the CPU, as on an Atom-System without ssd drive there is almost no speedup with disabling services.
Yes, that is to be expected. If you have a spinning disk, the biggest problem is the IO not being fast enough - the disk head seeks are dominating erverything else. Something can be gained from preloading data (ie start to load it into the cache before the application asks for it, so that we eliminate the seek wait) but results vary a lot here.
Thanks for the explanation.
Have you looked at http://en.opensuse.org/Boottime/Boot_time already? I did in the meantime ;-)
-- Mit freundlichen Grüßen, Marcel Hilzinger Linux New Media AG, Putzbrunner Str. 71, 81739 München, Germany Tel: +49 89 99 34 110, Fax: +49 89 99 34 1199 mhilzinger@linuxnewmedia.de - http://www.linuxnewmedia.de ---------------------------------------------------------- Linux New Media, the Pulse of Open Source: Lawrence, KS - Málaga Manchester - München - São Paulo - Timisoara - Warszawa ---------------------------------------------------------- Sitz der Gesellschaft: Putzbrunner Str. 71, 81739 München Amtsgericht München: HRB 129161 Vorstand: Rosemarie Schuster, Hermann Plank Aufsichtsratsvorsitzender: Rudolf Strobl -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (2)
-
Marcel Hilzinger
-
Olaf Kirch