A few months ago I changed on my Lenovo Q180 HTPC from Windows to Ubuntu (only Ubuntu installation, without dual boot). Now, after upgrading to Ubuntu 14.04 I am noticing a slowdown on boot. Therefore, I followed the instructions to check listing of dmesg.
I'm not an expert, but I noticed 3 longer gaps in dmesg extract.
The first gap occurs after 4.22 seconds:
[ 4.220866] random: nonblocking pool is initialized
[ 15.022778] Adding 4188156k swap on /dev/sda5. Priority:-1 extents:1 across:4188156k FS
the other after 29.51 seconds:
[ 29.514165] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 32.096660] init: plymouth-upstart-bridge main process ended, respawning
and third (longer) gap after 32.13 seconds:
[ 32.133380] init: plymouth-upstart-bridge main process ended, respawning
[ 55.489238] type=1400 audit(1399922728.858:68): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=2196 comm="apparmor_parser"
The sum of these gaps are more than 65% of the boot time displayed by dmesg. I tried to find answers to these gaps, but unfortunately I could not find nothing, what exactly match my gaps. I would therefore ask for advice, if there is a way, how to optimize these gaps, or if these gaps are normal.
I am also enclosing bootchart file: bootchart
Lenovo Q180 specifications:
- Intel Atom D2700 @ 2.3GHZ
- 4GB DDR3 RAM
- 320GB Hard Drive (5400 RPM)
- AMD Radeon HD 6450 (512 MB)
- Lenovo N5902 Multimedia Remote with Keyboard
- 10/100/1000 Realtek RTL8111//8168B Gigabit NIC
- 802.11 b/g/n Realtek RTL8188CE Wireless NIC
- 4x USB 2.0 ports(in the back)
- 2x USB 3.0 ports(in the front)
- HDMI and VGA port
- SD/SDHC/SDXC/MMC/MS/MS_Pro card reader
Thanks in advance!
quiet splash
withdebug
, then look at dmesg after booting. You will get a much more detailed boot log. – bain May 13 '14 at 16:54