Bug 216218 - Boot time too slow
Summary: Boot time too slow
Status: RESOLVED DUPLICATE of bug 216205
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Beta 1
Hardware: i686 Other
: P5 - None : Enhancement with 5 votes (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-30 11:37 UTC by Felix Rommel
Modified: 2007-01-30 11:44 UTC (History)
2 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
boot.msg (27.56 KB, text/plain)
2006-11-01 22:15 UTC, Felix Rommel
Details
boot.omsg (26.31 KB, text/plain)
2006-11-01 22:16 UTC, Felix Rommel
Details
Bootchart graphic (255.25 KB, image/png)
2006-11-10 18:14 UTC, Felix Rommel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Rommel 2006-10-30 11:37: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.
Comment 1 Matej Horvath 2006-11-01 15:38:43 UTC
Could you attach your /var/log/boot.log , boot.msg and boot.omsg files, please?
Comment 2 Felix Rommel 2006-11-01 22:15:12 UTC
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.
Comment 3 Felix Rommel 2006-11-01 22:16:35 UTC
Created attachment 103380 [details]
boot.omsg

my boot.omsg file. the boot.log file is empty.
Comment 4 Christoph Thiel 2006-11-04 13:58:22 UTC
Felix, please retest with the upcoming Beta2 in any case!

Over to the kernel group.
Comment 5 Lars Marowsky-Bree 2006-11-04 18:58:33 UTC
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!
Comment 6 Felix Rommel 2006-11-06 22:24:03 UTC
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.
Comment 7 Felix Rommel 2006-11-10 18:14:31 UTC
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.
Comment 8 Lars Marowsky-Bree 2007-01-02 11:53:43 UTC
Thanks for the detailed analysis.

I'm sorry though, the chart doesn't indicate a kernel bug.
Comment 9 Will Stephenson 2007-01-09 09:11:30 UTC
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.
Comment 10 Stephan Kulow 2007-01-09 16:30:04 UTC
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.
Comment 11 Felix Rommel 2007-01-09 17:07:54 UTC
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 ;)
Comment 12 Stephan Kulow 2007-01-10 08:45:38 UTC
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 
Comment 13 Pang Dawei 2007-01-16 03:13:06 UTC
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
Comment 14 Petr Ostadal 2007-01-16 14:22:17 UTC
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 ;(.
Comment 15 Matej Horvath 2007-01-19 14:30:36 UTC
The comment #14 is now known as Bug 236723.
Comment 16 Matej Horvath 2007-01-19 14:47:37 UTC
The comment #13 is now known as Bug 236726.
Comment 17 Petr Ostadal 2007-01-30 11:43:47 UTC
try nosmp and noapic in kernel cmdline and it should speed up the booting (see bug  #236723)
Comment 18 Petr Ostadal 2007-01-30 11:44:08 UTC

*** This bug has been marked as a duplicate of bug 216205 ***