Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] Wow -- amazing boot time reduction, thank you @towo!  (Read 1326 times)

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
[EN] Wow -- amazing boot time reduction, thank you @towo!
« on: 2018/03/08, 23:23:46 »

I was watching the systemd update warning all day today and waited until it was safe to update my big desktop rig, because I need it for productive work.  This rig runs 24/7/365 unless I leave the house for an overnight trip. It has been booting siduction for 5 or 6 years, always taking 8-11 seconds or more to get to the plasma desktop.


Code: [Select]
System:    Host: Hibiscus Kernel: 4.15.7-towo.3-siduction-amd64 x86_64 bits: 64
           Desktop: KDE Plasma 5.12.3 Distro: siduction 13.2.1 December - kde - (201401272125)
Machine:   Device: desktop System: ASUS product: All Series serial: N/A
           Mobo: ASUSTeK model: Z87-WS v: Rev 1.xx serial: N/A
           BIOS: American Megatrends v: 2004 date: 06/05/2014
CPU:       Quad core Intel Core i7-4770 (-MT-MCP-) cache: 8192 KB
           clock speeds: max: 3900 MHz 1: 1751 MHz 2: 1751 MHz 3: 1751 MHz 4: 1750 MHz 5: 1752 MHz
           6: 1754 MHz 7: 1753 MHz 8: 1752 MHz
Graphics:  Card: NVIDIA GM107 [GeForce GTX 750 Ti]
           Display Server: x11 (X.Org 1.19.6 ) driver: nvidia
           Resolution: 1920x1200@59.88hz, 1920x1080@60.00hz
           OpenGL: renderer: GeForce GTX 750 Ti/PCIe/SSE2 version: 4.6.0 NVIDIA 390.25
Audio:     Card-1 Intel 8 Series/C220 Series High Def. Audio Controller driver: snd_hda_intel
           Card-2 NVIDIA Device 0fbc driver: snd_hda_intel
           Card-3 Logitech QuickCam Communicate STX driver: USB Audio
           Sound: Advanced Linux Sound Architecture v: k4.15.7-towo.3-siduction-amd64
Network:   Card-1: Intel I210 Gigabit Network Connection driver: igb
           IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>                               
           Card-2: Intel I210 Gigabit Network Connection driver: igb                                       
           IF: enp9s0 state: down mac: <filter>                                                           
Drives:    HDD Total Size: 3500.7GB (27.9% used)                                                           
           ID-1: /dev/sda model: WDC_WD1001FALS size: 1000.2GB                                             
           ID-2: /dev/sdb model: Samsung_SSD_850 size: 500.1GB                                             
           ID-3: /dev/sdc model: WDC_WD1000DHTZ size: 1000.2GB                                             
           ID-4: /dev/sdd model: WDC_WD1000DHTZ size: 1000.2GB                                             
Partition: ID-1: / size: 56G used: 12G (23%) fs: ext4 dev: /dev/sdb1                                       
           ID-2: /home size: 402G used: 53G (14%) fs: ext4 dev: /dev/sdb3                                 
           ID-3: swap-1 size: 1.07GB used: 0.00GB (0%) fs: swap dev: /dev/sdb2                             
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present                                     
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 31C                                           
           Fan Speeds (in rpm): cpu: 0                                                                     
Info:      Processes: 274 Uptime: 7 min Memory: 1888.8/32111.8MB Client: Shell (bash) inxi: 2.3.56


So when I saw it was safe, I ran a full-upgrade and rebooted. That was when I saw the fastest boot that has ever happened on this machine. I ran


Code: [Select]
systemd-analyze blame and was amazed to see this:


Code: [Select]
3.976s networking.service                                                                       
          2.014s ifupdown-wait-online.service                                                             
          1.095s dnsmasq.service                                                                           
           503ms mnt-DATA.mount                                                                           
           488ms keyboard-setup.service                                                                   
           391ms udisks2.service                                                                           
           384ms dev-sdb1.device                                                                           
           217ms systemd-journal-flush.service                                                             
           217ms systemd-hwdb-update.service                                                               
           140ms systemd-logind.service                                                                   
           115ms systemd-modules-load.service                                                             
            98ms ModemManager.service                                                                     
            87ms accounts-daemon.service
            83ms lvm2-monitor.service
            82ms libvirtd.service
            ....


I don't know what happened, but this is absolutely stunning.  Thank you, Mr. Wohlfarth.

System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO