[Karmic] Boot time has a huge regression (~1.5 min against ~40 sec for Jaunty)

Bug #442132 reported by Dmitry Tantsur
This bug report is a duplicate of:  Bug #432089: performs poorly on slow HDD. Edit Remove
54
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Ubuntu
Triaged
High
Scott James Remnant (Canonical)

Bug Description

divius@divius-laptop:~$ uname -a
Linux divius-laptop 2.6.31-11-generic #36-Ubuntu SMP Fri Sep 25 06:37:51 UTC 2009 i686 GNU/Linux
divius@divius-laptop:~$ lscpu
Architecture: i686
CPU(s): 1
Thread(s) per core: 1
Core(s) per socket: 1
CPU socket(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 13
Stepping: 8
CPU MHz: 1496.588

Tags: ubuntu-boot
Revision history for this message
Dmitry Tantsur (divius) wrote :
Revision history for this message
Dmitry Tantsur (divius) wrote :
Revision history for this message
Dmitry Tantsur (divius) wrote :
Revision history for this message
Dmitry Tantsur (divius) wrote :
Revision history for this message
Dmitry Tantsur (divius) wrote :

Upd: autologin is on

Revision history for this message
Philip Muškovac (yofel) wrote :

Can you please install the 'bootchart' application and attach the .png file from /var/log/bootchart/ after a fresh boot to this bug report? Thanks in advance.

Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Dmitry Tantsur (divius) wrote :

Here you are

Revision history for this message
Robbie Williamson (robbiew) wrote :

Also, be sure to reboot twice after upgrade if you are measuring boot performance. Most likely, sreadahead is set to profile your boot sequence during your first reboot after upgrade.

Revision history for this message
Robbie Williamson (robbiew) wrote :

Okay, it looks like sreadahead was profiling during this boot...or you are running into a known issue with slower harddisk drives. Assigning to Scott Remnant for bootchart analysis, but I'd suggest rebooting again and attaching that chart to confirm whether or not sreadahead is profiling every boot (which is not right)

Changed in ubuntu:
status: Incomplete → Triaged
importance: Undecided → High
assignee: nobody → Scott James Remnant (scott)
Revision history for this message
Dmitry Tantsur (divius) wrote :

I hope this time it wasn't profiling

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote : Re: [Bug 442132] Re: [Karmic] Boot time has a huge regression (~1.5 min against ~40 sec for Jaunty)

On Wed, 2009-10-07 at 03:15 +0000, Дмитрий "Divius" Танцур wrote:

> I hope this time it wasn't profiling
>
> ** Attachment added: "divius-laptop-karmic-20091007-1.png"
> http://launchpadlibrarian.net/33194356/divius-laptop-karmic-20091007-1.png
>
I'm guessing that this is a laptop with a slower harddrive?

Scott
--
Scott James Remnant
<email address hidden>

Revision history for this message
Dmitry Tantsur (divius) wrote : Re: [Bug 442132] Re: [Karmic] Boot time has a huge regression (~1.5 min against ~40 sec for Jaunty)

Yes it is. But it wasn't that slow with Jaunty (though everything else
is faster in Karmic).

2009/10/8 Scott James Remnant <email address hidden>:
> On Wed, 2009-10-07 at 03:15 +0000, Дмитрий "Divius" Танцур wrote:
>
>> I hope this time it wasn't profiling
>>
>> ** Attachment added: "divius-laptop-karmic-20091007-1.png"
>>    http://launchpadlibrarian.net/33194356/divius-laptop-karmic-20091007-1.png
>>
> I'm guessing that this is a laptop with a slower harddrive?
>
> Scott
> --
> Scott James Remnant
> <email address hidden>
>
> --
> [Karmic] Boot time has a huge regression (~1.5 min against ~40 sec for Jaunty)
> https://bugs.launchpad.net/bugs/442132
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Ubuntu: Triaged
>
> Bug description:
> divius@divius-laptop:~$ uname -a
> Linux divius-laptop 2.6.31-11-generic #36-Ubuntu SMP Fri Sep 25 06:37:51 UTC 2009 i686 GNU/Linux
> divius@divius-laptop:~$ lscpu
> Architecture:          i686
> CPU(s):                1
> Thread(s) per core:    1
> Core(s) per socket:    1
> CPU socket(s):         1
> Vendor ID:             GenuineIntel
> CPU family:            6
> Model:                 13
> Stepping:              8
> CPU MHz:               1496.588
>

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote : Re: [Bug 442132] Re: [Karmic] Boot time has a huge regression (~1.5 min against ~40 sec for Jaunty)

On Fri, 2009-10-09 at 10:44 +0000, Дмитрий "Divius" Танцур wrote:

> Yes it is. But it wasn't that slow with Jaunty (though everything else
> is faster in Karmic).
>
Indeed; we're tracking an issue where slow (<5400RPM) laptop hard drives
seem to be getting heavily penalised.

Scott
--
Scott James Remnant
<email address hidden>

Revision history for this message
Matheus (X-warrior) Bratfisch (matheusbrat) wrote :

I don't agree. I'm using a core 2 duo system and after remove some things from it. I still get 1:13.

My conf is:
C2D E6700 @ 2.4 - 2GB RAM DDR2 - HD 40GB IDE (MASTER) / SATA-II 1TB / SATA-II 200GB

Revision history for this message
Makoto (makotothedragon) wrote :

Confirming bug, Ubuntu Karmic RC, latest update as of 24 Oct 2009.

On the Jaunty system I was using before, I didn't even get boot times this slow. How is it that this now takes well over a minute?

Revision history for this message
Randall Ross (randall) wrote :

I can confirm longer boot times in Karmic over Jaunty as well.

Revision history for this message
xpfighter (xpfighter) wrote :

Me too heres my boot chart

Revision history for this message
Omegamormegil (omegamormegil) wrote :

I have significantly longer boot times in Karmic compared to Jaunty (not to mention it won't boot at all 1 in 3 attempts, but that's likely a different bug).

I'm running a Dell Mini 9 (I've upgraded the SSD to a 32 GB SuperTalent SSD).

I've attached my last four bootcharts if it helps. Any suggestions would be splendid.

Revision history for this message
Omegamormegil (omegamormegil) wrote :

Well, those were probably useless because bootchart was set to stop prematurely, which I've fixed. I've done some tweaking including uninstalling the Broadcom STA driver (I installed a new wireless card) and disabling UbuntuOne and my system has better boot performance, but bootchart indicates that it still takes 110-130 seconds to start. I'm attaching some better bootcharts.

Revision history for this message
phil (pjonasch) wrote :
Revision history for this message
phil (pjonasch) wrote :

whoops,
meant to say that I also have significantly increased boot times since my upgrade to karmic.
And the splash screen won't go away..

Revision history for this message
phil (pjonasch) wrote :

in case it's harddrive related:
I have a 160g WD 5700rpm (wdc wd1600bevs-0) harddrive in my Thinkpad t61p.

Revision history for this message
phil (pjonasch) wrote :

how do I post multiple attachments in one comment..?

Revision history for this message
phil (pjonasch) wrote :
Revision history for this message
phil (pjonasch) wrote :
Revision history for this message
Yuta Ross (ylar34) wrote :

My boot times in Karmic are also longer. I use a Asus eeepc 1000 and Ubuntu is installed on my 32gb SSD. Attatched is my boot chart.

Revision history for this message
phil (pjonasch) wrote :

after having had the "flickering-screen-on-boot-problem" after the last f&*#%$! partial upgrade and not being able to start x or gdm for the last 3 days, I am now back to the old boottime regression. Here's another bootchart (am now on autologin) in case anything changed (had to reïnstall nvidia-drivers, did a million things I did not understand and don't remember). Still 2min19sec is too slow. Scott, please do something! ;)

Revision history for this message
ErikBerglund (a-launchpad-snap-345-blog-no) wrote :

Confirm this bug on Core 2 Duo Q6700, 8 GB ram, SAMSUNG HD501LJ (500 GB, 7200 rpm, SATA II).
Went from ~25 seconds in Jaunty to over 80 seconds in Karmic.

Revision history for this message
smooth (hsavio) wrote :

My boot times in Karmic are longer than jaunty ever took despite stopping a lot of services from starting at starup.
I have a Dell E6400 with Intel(R) Core(TM)2 Duo T9400@2.53GHz), 4GB RAM and Seagate 160GB 7200 RPM.

I had upgraded initially but then installed a clean version with ext4 but the boot time did not improve.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Please try the following:

  sudo add-apt-repository ppa:ubuntu-boot/ppa
  sudo apt-get update
  sudo apt-get dist-upgrade

This should install an updated kernel package, and replace sreadahead with ureadahead.

The first reboot will reprofile your system, the second reboot should be substantially faster.

Please let me know how you get in (before/after bootcharts always appreciated)

Revision history for this message
Matheus (X-warrior) Bratfisch (matheusbrat) wrote :

Hi, I tried what you said the bootcharts is in attachment. Now I get 60s boot time, before do this I had 69s. But if I use a chronometer from Grub window to Login window I got 22s. To desktop 42s. Then I open the /var/log/bootchart and the bootchart image wasn't there. So I waited and it appears in 82s.

Revision history for this message
Matheus (X-warrior) Bratfisch (matheusbrat) wrote :
Revision history for this message
Matheus (X-warrior) Bratfisch (matheusbrat) wrote :

PS: I'm not using a SSD. Just a SATA harddisk.

Maybe a Bootchart problem? The boottime seems to be fast so bootchart is wrong?

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

On Mon, 2009-11-09 at 20:17 +0000, Matheus (X-warrior) Bratfisch wrote:

> Maybe a Bootchart problem? The boottime seems to be fast so bootchart is
> wrong?
>
The "Time" field is misleading ;-)

Your boot looks very fast from the chart to me

Scott
--
Scott James Remnant
<email address hidden>

To post a comment you must log in.