How can i evaluate/optimize boot time ?

A SSD will not help if you use buggy software as systemd on btrfs.

Hi guys,
for improving boot times, see this great article:
openSUSE Lizards
openSUSE Lizards

Cheers,
Wojtek

now ipv6 was to blame for me

I have the same long 19637ms network.service times as you, did you disable ivp6? I am leery of doing this because I do not understand the repercussions of turning it off.

I have an interesting boot time saga that I am working to solve as well. Here is the short story.
I installed Opensuse 12.2 all on USB3 drive and boot times were pretty good.
I moved / partition to SSD and left /home on USB3 and boot times were great (30sec or less). However there was some flaky behavior with the USB3 /home partiton, soo
I moved the the SATA drive that was in the USB3 enclosure (/home) into the box onto the sata bus. Boot Times are Horrible (1 min or more).

I am currently considering moving the sata drive around to another connector on the motherboard, there are 4. I just have to make sure everything is set to uuid. Also I have a windows drive in there I do not want to move, it makes microsoft sad.:cry:

Here is the boot time now Startup finished in 12385ms (kernel) + 117339ms (userspace) = 129725ms

One of the simplest ways to find out durring bootup is to hit the Esc key, which will switch to text mode. From here you can see what processes and services are loading, which ones are taking a while, and which ones are failing. Once you have this done, you can then begin to optimize your desktop (KDE) to perform better. Bootchart will also help with diagnosing the bootup process. As mentioned before bootup and loging into KDE are two very different processes. You have to look at them seperately.

On Fri 09 Nov 2012 05:16:03 PM CST, anika200 wrote:

> now ipv6 was to blame for me
I have the same long 19637ms network.service times as you, did you
disable ivp6? I am leery of doing this because I do not understand the
repercussions of turning it off.

I have an interesting boot time saga that I am working to solve as
well. Here is the short story.
I installed Opensuse 12.2 all on USB3 drive and boot times were pretty
good.
I moved / partition to SSD and left /home on USB3 and boot times were
great (30sec or less). However there was some flaky behavior with the
USB3 /home partiton, soo
I moved the the SATA drive that was in the USB3 enclosure (/home) into
the box onto the sata bus. Boot Times are Horrible (1 min or more).

I am currently considering moving the sata drive around to another
connector on the motherboard, there are 4. I just have to make sure
everything is set to uuid. Also I have a windows drive in there I do not
want to move, it makes microsoft sad.:cry:

Hi
I use an SSD and a rotating HDD on this laptop (DELL Latitude E5510);


lsblk

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0  55.9G  0 disk
├─sda1   8:1    0   100M  0 part /boot/efi
└─sda2   8:2    0  55.8G  0 part /
sdb      8:16   0 232.9G  0 disk
├─sdb1   8:17   0     8G  0 part /var/tmp
├─sdb2   8:18   0     8G  0 part /var
├─sdb3   8:19   0     8G  0 part /tmp
├─sdb4   8:20   0    53G  0 part /home
├─sdb5   8:21   0   149G  0 part /data
└─sdb6   8:22   0   6.9G  0 part [SWAP]

systemd-analyze

Startup finished in 6901ms (kernel) + 4680ms (userspace) = 11582ms

1453ms network.service

The network service is the top as well, I’m using the network manager
and ipv6 is enabled.

So I disable ipv6 and now see;


Startup finished in 6544ms (kernel) + 5445ms (userspace) = 11989ms

So for me no real difference, however network.service is now gone…

Haven’t seen any detrimental affects with no ipv6 either.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
up 2:50, 3 users, load average: 0.08, 0.07, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

Update to my earlier post, I found the problem was the old disk ID for the swap partition was not right. Changed it to UUID.
I also disabled Blue Devil which shaved off some time.
This command shows some good info

sudo dmesg | grep fail

or

 sudo cat /var/log/messages | grep fail

You can substitute error, warning in place of fail.

My new boot time: Startup finished in 12512ms (kernel) + 21845ms (userspace) = 34357ms
Drastic difference, hurray.
Great topic which made me get off my hands and figure out the horrible boot time.