Support Requests - CLICK TO READ BEFORE POSTING


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Slow boot (~3 min) on old laptop
#1

Hi.
I have running LL 4.2 for about half a year by now. From the very first boot after LL was installed, it took some amount of time for it to boot. Last OS installed on the same laptop was LL 3.6, and back then it bootet very fast compared to now.
Hope you can help me find the reason why. I'll try to add as much information I beleive is needed.


systemd-analyze time
Code:
Startup finished in 7.863s (kernel) + 2min 15.243s (userspace) = 2min 23.106s graphical.target reached after 2min 15.218s in userspace


systemd-analyze blame
Code:
    1min 25.956s nmbd.service     1min 6.366s vboxadd.service     1min 2.049s plymouth-quit-wait.service         17.830s systemd-journal-flush.service         15.546s lager.mount         15.208s home.mount           7.774s dev-sda10.device           7.687s udisks2.service           7.257s ModemManager.service           7.112s NetworkManager-wait-online.service           6.362s accounts-daemon.service           5.692s ufw.service           5.177s NetworkManager.service           4.817s snapd.service           4.460s grub-common.service           4.338s apport.service           4.188s lightdm.service           4.126s alsa-restore.service           3.840s networking.service           3.806s console-kit-log-system-start.service           3.788s lm-sensors.service           3.654s thermald.service           3.647s avahi-daemon.service           3.580s systemd-logind.service


systemd-analyze critical-chain
Code:
The time after the unit is active or started is printed after the "@" character. The time the unit takes to start is printed after the "+" character. graphical.target @2min 15.218s └─multi-user.target @2min 15.218s   └─smbd.service @2min 13.955s +1.262s     └─nmbd.service @47.995s +1min 25.956s       └─network-online.target @47.985s         └─NetworkManager-wait-online.service @40.872s +7.112s           └─NetworkManager.service @35.688s +5.177s             └─dbus.service @32.755s               └─basic.target @31.951s                 └─sockets.target @31.951s                   └─snapd.socket @31.889s +61ms                     └─sysinit.target @31.869s                       └─apparmor.service @28.375s +3.490s                         └─local-fs.target @28.373s                           └─run-user-1001-gvfs.mount @2min 10.042s                             └─run-user-1001.mount @2min 8.044s                               └─swap.target @11.338s                                 └─dev-disk-by\x2duuid-76d58ce0\x2dcba9\x2d4795\x                                   └─dev-disk-by\x2duuid-76d58ce0\x2dcba9\x2d4795


systemd-analyze plot > init.svg
See attachment.

inxi -Fxzd
Code:
System:    Host: sparr Kernel: 4.15.0-42-generic x86_64 bits: 64 gcc: 7.3.0           Desktop: Xfce 4.12.3 (Gtk 2.24.31) Distro: Ubuntu 18.04.1 LTS Machine:  Device: portable System: Dell product: Latitude D620 serial: N/A           Mobo: Dell model: 0FT292 serial: N/A BIOS: Dell v: A08 date: 04/03/2007 Battery    BAT0: charge: 57.7 Wh 4482.8% condition: 1.3/57.7 Wh (2%)           model: Sanyo DELL HX3457 status: Full CPU:      Dual core Intel Core2 T5500 (-MCP-) arch: Conroe rev.2 cache: 2048 KB           flags: (lm nx sse sse2 sse3 ssse3 vmx) bmips: 6650           clock speeds: max: 1667 MHz 1: 1396 MHz 2: 1295 MHz Graphics:  Card: Intel Mobile 945GM/GMS 943/940GML Express Integrated Graphics Controller           bus-ID: 00:02.0           Display Server: x11 (X.Org 1.19.6 ) drivers: intel (unloaded: modesetting,fbdev,vesa)           Resolution: [email protected]           OpenGL: renderer: Mesa DRI Intel 945GM version: 1.4 Mesa 18.0.5 Direct Render: Yes Audio:    Card Intel NM10/ICH7 Family High Def. Audio Controller           driver: snd_hda_intel bus-ID: 00:1b.0           Sound: Advanced Linux Sound Architecture v: k4.15.0-42-generic Network:  Card-1: Broadcom Limited NetXtreme BCM5752 Gigabit Ethernet PCIE           driver: tg3 v: 3.137 bus-ID: 09:00.0           IF: enp9s0 state: down mac: <filter>           Card-2: Broadcom Limited BCM4311 802.11a/b/g driver: b43-pci-bridge bus-ID: 0c:00.0           IF: wlan0 state: up mac: <filter> Drives:    HDD Total Size: 100.0GB (57.2% used)           ID-1: /dev/sda model: Hitachi_HTS72101 size: 100.0GB           Optical-1: /dev/sr0 model: TSST DVD+-RW TS-L632D           rev: DE04 dev-links: cdrom,cdrw,dvd,dvdrw           Features: speed: 24x multisession: yes           audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r state: running Partition: ID-1: / size: 13G used: 6.3G (55%) fs: ext4 dev: /dev/sda10           ID-2: /boot size: 735M used: 164M (24%) fs: ext4 dev: /dev/sda1           ID-3: /var size: 5.9G used: 4.0G (71%) fs: ext4 dev: /dev/sda6           ID-4: /tmp size: 1.4G used: 2.2M (1%) fs: ext2 dev: /dev/sda5           ID-5: /home size: 13G used: 4.3G (41%) fs: btrfs dev: /dev/sda7           ID-6: swap-1 size: 2.20GB used: 0.00GB (0%) fs: swap dev: /dev/sda9 RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present Sensors:  System Temperatures: cpu: 62.0C mobo: N/A           Fan Speeds (in rpm): cpu: N/A Info:      Processes: 202 Uptime: 2:46 Memory: 805.6/2992.4MB           Init: systemd runlevel: 5 Gcc sys: 7.3.0 Client: Shell (bash 4.4.191) inxi: 2.3.56



sudo sfdisk -l
Code:
Disk /dev/sda: 93,2 GiB, 100030242816 bytes, 195371568 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xeee291bd Device    Boot    Start      End  Sectors  Size Id Type /dev/sda1  *        2048  1562623  1560576  762M 83 Linux /dev/sda2        1564670 195371007 193806338 92,4G  5 Extended /dev/sda5      27346944  30275583  2928640  1,4G 83 Linux /dev/sda6      30277632  42971135  12693504  6,1G 83 Linux /dev/sda7      42973184  68556799  25583616 12,2G 83 Linux /dev/sda8      93808640 195371007 101562368 48,4G 83 Linux /dev/sda9      89505792  93804543  4298752  2,1G 82 Linux swap / Solaris /dev/sda10      1564672  27346943  25782272 12,3G 83 Linux Partition table entries are not in disk order.


Thanks in advance

I won't let an old, but fully functional computer die just because some company tell me that they won't make no more security updates to their OS. Thanks Linux Smile
Reply
#2

https://mityer.khdlhfjijfrupr.tk/forums/relea...-released/
Read "performance tips"
Reply
#3

Thank you very much - it boots very much faster now  Smile
Problem solved

Can't beleive it was that easy . . .
Maybe there also should be a hint for this in welcome screen (or maybe something else if that will cause overpopulation of welcome screen) ?

I won't let an old, but fully functional computer die just because some company tell me that they won't make no more security updates to their OS. Thanks Linux Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)