Slow booting manjaro kde plasma 20.2

i have a problem with my linux it boot very slow and at the start it feel very slow too
and sometimes it take a lot of time to open programs
systemd-analyze
the output

Startup finished in 5.338s (firmware) + 14.668s (loader) + 3.591s (kernel) + 34.009s (userspace) = 57.608s 
graphical.target reached after 32.997s in userspace

systemd-analyze blame
the output

13.896s snapd.service                                              
11.486s systemd-journal-flush.service                              
 7.573s lvm2-monitor.service                                       
 5.846s polkit.service                                             
 5.559s systemd-modules-load.service                               
 5.485s ModemManager.service                                       
 4.767s dev-sda2.device                                            
 3.597s avahi-daemon.service                                       
 3.595s bluetooth.service                                          
 3.592s NetworkManager.service                                     
 3.182s cups.service                                               
 3.130s systemd-tmpfiles-setup.service                             
 1.925s wpa_supplicant.service                                     
 1.859s systemd-logind.service                                     
 1.753s systemd-udevd.service                                      
 1.733s linux-module-cleanup.service                               
 1.625s apparmor.service                                           
 1.487s var-lib-snapd-snap-eclipse-48.mount                        
 1.358s var-lib-snapd-snap-core18-1944.mount                       
 1.322s systemd-fsck-root.service                                  
 1.189s var-lib-snapd-snap-gedit-605.mount                         
 1.148s systemd-random-seed.service                                
 1.087s dev-loop8.device                                           
 1.050s var-lib-snapd-snap-gnome\x2d3\x2d28\x2d1804-145.mount      
 1.032s dev-loop0.device                                           
 1.012s tlp.service                                                
  959ms var-lib-snapd-snap-gtk\x2dcommon\x2dthemes-1514.mount      
  899ms dev-loop7.device                                           
  882ms snapd.apparmor.service                                     
  870ms var-lib-snapd-snap-notepad\x2dplus\x2dplus-253.mount       
  852ms var-lib-snapd-snap-snapd-10707.mount                       
  810ms systemd-backlight@backlight:intel_backlight.service        
  766ms dev-loop2.device                                           
  690ms systemd-tmpfiles-setup-dev.service                         
  639ms upower.service                                             
  629ms user@1000.service                                          
  584ms systemd-fsck@dev-disk-by\x2duuid-3CD1\x2d2C82.service      
  573ms systemd-udev-trigger.service                               
  536ms udisks2.service                                            
  515ms boot-efi.mount                                             
  491ms systemd-update-utmp.service                                
  420ms systemd-journald.service                                   
  408ms dev-loop6.device                                           
  364ms modprobe@configfs.service                                  
  351ms var-lib-snapd-snap-wine\x2dplatform\x2druntime-206.mount   
  324ms systemd-sysctl.service                                     
  313ms systemd-binfmt.service                                     
  281ms rtkit-daemon.service                                       
  256ms var-lib-snapd-snap-wine\x2dplatform\x2d5\x2dstable-16.mount
  233ms systemd-tmpfiles-clean.service                             
  182ms modprobe@drm.service                                       
  156ms modprobe@fuse.service                                      
  125ms dev-hugepages.mount                                        
  124ms dev-mqueue.mount                                           
  123ms sys-kernel-debug.mount                                     
  122ms sys-kernel-tracing.mount                                   
  118ms systemd-rfkill.service                                     
  111ms systemd-remount-fs.service                                 
   80ms tmp.mount                                                  
   76ms kmod-static-nodes.service                                  
   75ms dev-loop1.device                                           
   14ms proc-sys-fs-binfmt_misc.mount                              
   12ms user-runtime-dir@1000.service                              
    6ms systemd-user-sessions.service                              
    6ms dev-loop4.device                                           
    5ms sys-kernel-config.mount                                    
    5ms dev-loop3.device                                           
    3ms dev-loop5.device                                           
    3ms sys-fs-fuse-connections.mount                              
  859us snapd.socket   

systemd-analyze critical-chain<br>the output

The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @34.811s
└─multi-user.target @34.810s
  └─snapd.service @20.912s +13.896s
    └─basic.target @20.574s
      └─sockets.target @20.574s
        └─snapd.socket @20.573s +859us
          └─sysinit.target @20.554s
            └─systemd-update-utmp.service @20.063s +491ms
              └─systemd-tmpfiles-setup.service @16.929s +3.130s
                └─systemd-journal-flush.service @5.439s +11.486s
                  └─systemd-remount-fs.service @5.264s +111ms
                    └─systemd-fsck-root.service @3.939s +1.322s
                      └─systemd-journald.socket @3.842s
                        └─system.slice @3.574s
                          └─-.slice @3.574s

inxi -Fzy

System:
  Kernel: 5.9.16-1-MANJARO x86_64 bits: 64 Desktop: KDE Plasma 5.20.5 
  Distro: Manjaro Linux 
Machine:
  Type: Laptop System: HP product: HP Pavilion Laptop 14-bf1xx 
  v: Type1ProductConfigId serial: <filter> 
  Mobo: HP model: 83CE v: 59.40 serial: <filter> UEFI: Insyde v: F.35 
  date: 02/23/2018 
Battery:
  ID-1: BAT1 charge: 9.5 Wh condition: 10.1/42.1 Wh (24%) 
CPU:
  Info: Quad Core model: Intel Core i7-8550U bits: 64 type: MT MCP 
  L2 cache: 8 MiB 
  Speed: 600 MHz min/max: 400/4000 MHz Core speeds (MHz): 1: 600 2: 600 3: 600 
  4: 600 5: 600 6: 600 7: 600 8: 600 
Graphics:
  Device-1: Intel UHD Graphics 620 driver: i915 v: kernel 
  Device-2: NVIDIA GM108M [GeForce 940MX] driver: nvidia v: 460.32.03 
  Device-3: Cheng Uei Precision Industry (Foxlink) HP Wide Vision HD Camera 
  type: USB driver: uvcvideo 
  Display: x11 server: X.Org 1.20.10 driver: loaded: modesetting,nvidia 
  unloaded: intel,nouveau resolution: 1280x720 
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.3.3 
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel 
  Sound Server: ALSA v: k5.9.16-1-MANJARO 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  driver: r8169 
  IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter> 
  Device-2: Intel Wireless 7265 driver: iwlwifi 
  IF: wlo1 state: up mac: <filter> 
Drives:
  Local Storage: total: 1.03 TiB used: 29.44 GiB (2.8%) 
  ID-1: /dev/sda vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB 
  ID-2: /dev/sdb vendor: SanDisk model: SD9SN8W-128G-1006 size: 119.24 GiB 
Partition:
  ID-1: / size: 105.33 GiB used: 29.37 GiB (27.9%) fs: ext4 dev: /dev/sda2 
  ID-2: /boot/efi size: 256 MiB used: 73.1 MiB (28.6%) fs: vfat dev: /dev/sdb1 
Swap:
  Alert: No Swap data was found. 
Sensors:
  System Temperatures: cpu: 32.0 C mobo: 29.8 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 233 Uptime: 24m Memory: 11.62 GiB used: 2.34 GiB (20.1%) 
  Shell: Bash inxi: 3.2.02 

Hi, nothing triggers me but, snap seems to take a long time to load. Do you use it? if not you can opt to to disable it.

Swap:
  Alert: No Swap data was found. 

some swap might be usefull, even if it almost never used. Swap - Manjaro

Depending on how long you are running with this install, do some maintenance?

https://wiki.manjaro.org/index.php/System_Maintenance

1 Like