Feb 10, 2013

openSUSE Forums: Slow boot time with openSUSE 12.2 in a good laptop.

openSUSE Forums
openSUSE Forums
Slow boot time with openSUSE 12.2 in a good laptop.
Feb 10th 2013, 14:34

Hello,

I installed Opensuse 12.2 in a new laptop two months ago and notice a slow boot time, now finally I am trying to discover why the boot is taking so long to finish. I am still a noob with linux, I am using it since version 11.4 mostly with Xfce desktop.

I am struggling to find out what is causing the delay and I have also notice that the boot time is increasing over the time. I thought of asking for help in this forum.

The laptop boot time was like that:

> systemd-analyze
Startup finished in 6807ms (kernel) + 38714ms (userspace) = 45522ms

> systemd-analyze blame
31171ms systemd-vconsole-setup.service
30769ms systemd-modules-load.service
25792ms udev.service
1665ms SuSEfirewall2_init.service
1448ms remount-rootfs.service
1172ms NetworkManager.service
...

In order to collect the log files just for one Boot I usually delete "warn" and "messages" files from "/var/log" before reboot. I tryed to analyze these two files but I couldn't figure out any possible source of problems. As "systemd-analyze" points out long times for the "systemd" services I am guessing that it could be a problem with "systemd" itself.

I found out that "systemd" has a logging service "systemd-journald" that stores the log at "/run/log/journal/...". To my surprise the "system.journal.log" was more than 120MB big

After deleting 120+ MB log from /var/log/journal/41ef233e76e7528b304b79b700000697/system.journal.log and rebooting I've got a significant improvement in the boot time.

# systemd-analyze
Startup finished in 6684ms (kernel) + 17854ms (userspace) = 24539ms

# systemd-analyze blame
13228ms remount-rootfs.service
12545ms systemd-modules-load.service
8847ms udev-trigger.service
3705ms systemd-vconsole-setup.service
1413ms localnet.service
850ms cycle.service
...

Big log files slowing down systems is not a novelty, but I still not pleased with the boot time and I still suspecting it is a problem with systemd. That is why I am attaching some log files to this thread and asking for any good soul to analize then point out what could be the the problem.

logs from /var/log (.log extension added)
warn.log
messages.log

systemd-journal
systemd-journalctl -a > systemd-journal.log

dmesg
dmesg > dmesg.log

systemd-analyze
systemd-analyze blame > blame.log
systemd-analyze plot > plot.svg (print screen: plot.png)



Systemd configuration
/etc/systemd/system.conf

[Manager]
LogLevel=debug
LogTarget=syslog-or-kmsg
SysVConsole=no



Hardware: Dell
Model: Latitude E6430
HD: 7200 RPM
CPU: Intel Core i7-3520M CPU @ 2.90GHz
Memory: 2 X 4 GB 1600 MHz DDR3
Graphics: Intel HD 4000
Bios: "A07" "10/08/2012"

System: openSUSE 12.2 (x86_64)

Desktops:
Xfce 4.10 - most used
Gnome 3,4,2.1
KDE 4.8.5

Thank you very much
Best Regards
Marcilio

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

No comments: