Boot times for 11.04

H54

Member
Jan 16, 2011
187
0
71
What are everyone's boot times like?

With 10.10, I was getting sub 15 second boots but under 11.04, I'm looking at almost 2 minutes.

My hardware:
Phenom II 1090T
4 gigs 1333 DDR3
60 gig OCZ Agility2 SSD
Blah, blah, blah...
 

lxskllr

No Lifer
Nov 30, 2004
59,687
10,192
126
That's way too long. I haven't run it since the betas, but it was fairly peppy for me. I don't have exact numbers, but it was similar to all my other installs of various distros, and Ubuntu 10.04.

Did you upgrade, or clean install? While upgrading is officially supported, I've found it can be hit or miss for running into issues. There's a utility that you can log boot time with, but I can't remember what it's called. It shows the various stages, and how much time they used. If you can track that down, it should show you where the issue is.
 

H54

Member
Jan 16, 2011
187
0
71
That's way too long. I haven't run it since the betas, but it was fairly peppy for me. I don't have exact numbers, but it was similar to all my other installs of various distros, and Ubuntu 10.04.

Did you upgrade, or clean install? While upgrading is officially supported, I've found it can be hit or miss for running into issues. There's a utility that you can log boot time with, but I can't remember what it's called. It shows the various stages, and how much time they used. If you can track that down, it should show you where the issue is.


I clean installed twice just to make sure. I was looking for that same utility but can't remember its name either. Nothing in the official documentation that I found useful either.
 

H54

Member
Jan 16, 2011
187
0
71
Excellent! This is the result.


XfWDI.png
 

lxskllr

No Lifer
Nov 30, 2004
59,687
10,192
126
I think it'll take someone smarter than me to analyze it. I'm poking around the web, but haven't come up with anything yet. My gut feeling says it's a disk issue, but I might be way off base :^/
 

H54

Member
Jan 16, 2011
187
0
71
I think it'll take someone smarter than me to analyze it. I'm poking around the web, but haven't come up with anything yet. My gut feeling says it's a disk issue, but I might be way off base :^/



Thanks :thumbsup: I'm trying to find stuff as well.
 

lxskllr

No Lifer
Nov 30, 2004
59,687
10,192
126
I found an old post in the Ubuntu forums of a similar problem. It was hanging due to a CD in the drive. Do you have a CD in the drive? o_O
 

H54

Member
Jan 16, 2011
187
0
71
No CD. Some of the posters are suggesting switching from ACPI to IDE but thats not going to work for Windows 7.

I'm beginning to feel the same way about 11.04 as you. My laptop has already been reverted back to 10.10...
 

mvbighead

Diamond Member
Apr 20, 2009
3,793
1
81
No CD. Some of the posters are suggesting switching from ACPI to IDE but thats not going to work for Windows 7.

I'm beginning to feel the same way about 11.04 as you. My laptop has already been reverted back to 10.10...

Almost did this as well, except I finally found the right recommendation on which driver to install to get my wireless to work. Liking 11.04 so far now.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
It looks like ~70s of that is from ata_id which appears to be what udev uses to generate the various symlinks for all of your disks.
 

H54

Member
Jan 16, 2011
187
0
71
Almost did this as well, except I finally found the right recommendation on which driver to install to get my wireless to work. Liking 11.04 so far now.


Are you having stability issues? My setup didn't stray very far from stock and I was still getting frequent program crashes and freezing. Also, my wireless worked but it was insanely slow. At home, I have wireless N which 10.10 can take full advantage of (downloads at over 1 Mbyte/sec) but with 11.04, I was lucky to get 40 k/sec. Battery life was worse as well.
 

H54

Member
Jan 16, 2011
187
0
71
It looks like ~70s of that is from ata_id which appears to be what udev uses to generate the various symlinks for all of your disks.



That did seem unusual. Do you have a recommended guide for decoding bootchart? Most "
guides" I've looked at just show you how to install and run it but not decipher the data.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
That did seem unusual. Do you have a recommended guide for decoding bootchart? Most "
guides" I've looked at just show you how to install and run it but not decipher the data.

I don't think there's much to decode, it's just process names and execution times so all you need to do is see what's taking the longest and figure out what it does and if it's supposed to be taking that long. there's no way ata_id should take more than a millisecond or two, so if it's hanging that most likely means it's having issues reading the drive.
 

H54

Member
Jan 16, 2011
187
0
71
I don't think there's much to decode, it's just process names and execution times so all you need to do is see what's taking the longest and figure out what it does and if it's supposed to be taking that long. there's no way ata_id should take more than a millisecond or two, so if it's hanging that most likely means it's having issues reading the drive.



Thanks, I'll work on it when I get back home.
 

mvbighead

Diamond Member
Apr 20, 2009
3,793
1
81
Are you having stability issues? My setup didn't stray very far from stock and I was still getting frequent program crashes and freezing. Also, my wireless worked but it was insanely slow. At home, I have wireless N which 10.10 can take full advantage of (downloads at over 1 Mbyte/sec) but with 11.04, I was lucky to get 40 k/sec. Battery life was worse as well.

No stability issues. It just wasn't working with the wireless, which 10.10 had, and I was losing patience trying to fix it. Set it aside for a while, came back and stumbled upon the right thread somewhere where someone was able to set me on the right path.

There are a lot of reports of BCM4xx wireless chips that worked in 10.10, but the default driver selected in 11.04 doesn't work. Other than that, 11.04 is solid... and the interface is very nice and easy to work with.
 

H54

Member
Jan 16, 2011
187
0
71
I think I found a solution:

in /lib/udev/rules.d/60-persistent-storage.rules

comment out rule:

# ATA/ATAPI devices (SPC-3 or later) using the "scsi" subsystem
KERNEL=="sd*[!0-9]|sr*", ENV{ID_SERIAL}!="?*", \ SUBSYSTEMS=="scsi", ATTRS{type}=="5", ATTRS{scsi_level}"[6-9]*", \ IMPORT{program}="ata_id --export $tempnode"


then run as root
Code:
update-initramfs -u
reboot, and check your booting time
wink.gif


Here is my new bootchart:

pALxz.png
 

lxskllr

No Lifer
Nov 30, 2004
59,687
10,192
126
Much better :^)

Btw, there's power issues with the newer Linux kernels that are giving worse battery life. That might be your issue there. AFAIK, it hasn't been fixed yet.
 

H54

Member
Jan 16, 2011
187
0
71
I've been reading that as well. I was really disappointed because this new version was supposed to be better... c'est la vie. Supposedly a major patch is in the works but I need my laptop for work/school and unfortunately I can't wait.



Thanks for your help lxskllr!