Bugzilla – Bug 216218
Boot time too slow
Last modified: 2007-01-30 11:44:08 UTC
openSUSE 10.2 boot time is much too slow here on my Acer Aspire 1353LC. SUSE LINUX 10 booted in about: 70 sec openSUSE 10.2 needs over 140 sec to boot! Boot time here is doubled. For laptop use this is way too slow! I cannot just have a short look in some documents if it takes ages to boot my Notebook. Although the desktop environments in openSUSE 10.2 are very responsive, the long boot time makes it impossible to use it on my Notebook. Please speed up the boot time so that it gets as fast as SUSE LINUX 10 again.
Could you attach your /var/log/boot.log , boot.msg and boot.omsg files, please?
Created attachment 103379 [details] boot.msg My USB hard disc was plugged in while booting. Without that booting is a little bit faster - maybe 3 sec. But it did take over 2 minutes, although I disabled as much init scripts as possible. In (K)Ubuntu Edgy my system boots about 30 sec faster with web server, MySQL etc. enabled.
Created attachment 103380 [details] boot.omsg my boot.omsg file. the boot.log file is empty.
Felix, please retest with the upcoming Beta2 in any case! Over to the kernel group.
Boot time is only very rarely a kernel issue. Have you compared the time until the kernel hands over to user-space (roughly until line 'Kernel logging (ksyslog) stopped.' appears) and compared that to 10.0? Which part of the boot appears to have slowed down? The logs don't have timestamps, so it is impossible to tell right now. Thanks for your help!
The boottime was very slow in 10.1, too. Don't know what exactly slowed down the boot time that much compared to 10.0. With 10.2 it takes very long until GDM starts - over 1 min. In that time 10.0 nearly booted the whole desktop. And with 10.2 it takes a very long time until Gnome desktop completely appeares. Don't have all exact times from 10.0 because I don't have it installed any more - but I remember that it booted in around 70 sec the whole system with desktop. I will try Beta2 when it comes out and if I have time will install the bootchart program. Then I can attach the generated bootchart graphic.
Created attachment 104730 [details] Bootchart graphic This is a boot chart from a fresh installed 10.2 beta2. I did not install AppArmor which should speed the boot process a little bit. I'm no expert in bootchart graphics but it takes 65 sec to boot till KDM is loaded. And it nearly takes another minute until KDE is completely startet. Maybe Beagle and the very slow ZMD stuff are responsible for the slow boot of 10.2. What makes me wonder is that the installer installed ZMD although I deactivated this pattern.
Thanks for the detailed analysis. I'm sorry though, the chart doesn't indicate a kernel bug.
Felix, what happens to the boot time if you uninstall the zmd package management pattern's packages? zmd, rug, and zen-updater. This is a safe thing to do, assuming you have the opensuse package management pattern installed as well, so this won't leave you without a package manager.
this is no KDE problem. YOur boot graphic indicates your computer is all of these 69s in IO wait. Either your file system or your hard drive is bad - or both.
ok, bought a shiny new Thinkpad Z61m with Core 2 Duo. Boot time is much better now - comparable with the fast boot time in (K)Ubuntu Edgy - have to compare them on my new machine. @Will: my Aspire boot time was also slow without ZMD stuff. @Stephan: my Aspire was not the best anymore but that does not explain why (K)Ubuntu Edgy bootet much faster on it with comparable settings. Suse seems to be optimized for Dual processor computers ;)
actually this is something I noticed too. And it could be indeed a problem - that is hard to solve now that so many new machines are actually dual core
my laptop is Asus A6Q, the laptop is Centrino cpu. when I use the AC supply, SuSE 10.2 will boot slow when I use the battery supply, SuSE 10.2 will boot fast
I have same problem with Asus M6V (centrino cpu). The boot time I have 3minutes, I think I have problem with checking DMA of the disk, because when I disable DMA by append ide=nodma on cmdline in grub I speedup the booting to 2minutes (after booting I have DMA switch ON because it is enabled by /etc/sysconfig/ide (DEVICES_FORCE_IDE_DMA="/dev/hda:on /dev/hdb:on"). Another problem I had with suspend-to-disk (which works without problem until SL10.2). When I switched off DMA in "booting time", the suspend again work well, but it is too slow (becasue suspend used DMA setting from kernel cmdline and ignores /etc/sysconfig/ide settings). The new vanilla kernel doesn't solve my problem. I can't confirm workaround from comment #13, because my 1.5year old battery is dead ;(.
The comment #14 is now known as Bug 236723.
The comment #13 is now known as Bug 236726.
try nosmp and noapic in kernel cmdline and it should speed up the booting (see bug #236723)
*** This bug has been marked as a duplicate of bug 216205 ***