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:
Startup finished in 6807ms (kernel) + 38714ms (userspace) = 45522ms
> systemd-analyze blame
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.
Startup finished in 6684ms (kernel) + 17854ms (userspace) = 24539ms
# systemd-analyze blame
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)
systemd-journalctl -a > systemd-journal.log
dmesg > dmesg.log
systemd-analyze blame > blame.log
systemd-analyze plot > plot.svg (print screen: plot.png)
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)
Xfce 4.10 - most used
Thank you very much