Slow boot time ~1:45 from powerup to desktop

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mikejp56
Level 2
Level 2
Posts: 70
Joined: Mon Oct 21, 2019 8:06 am
Location: Maryland USA

Slow boot time ~1:45 from powerup to desktop

Post by mikejp56 »

Hi All,
So the title says it all. It takes about 1:45 seconds from powerup to desktop. Plus there is a delay from when I click the mouse to when an action occurs; I have observed the HDD light on for long periods of time also without doing anything.
Below is the system report as outlined by Karl Chen.
Any help to speed this up would be appreciated; this is a new install without much added.
Regards,
mikejp56

Code: Select all

System:    Kernel: 5.4.0-94-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 5.2.7 
           wm: muffin dm: LightDM Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal 
Machine:   Type: Desktop System: LENOVO product: 10BC000GUS v: ThinkCentre M73z serial: <filter> 
           Mobo: LENOVO model: SHARKBAY v: 0B98401 WIN serial: <filter> BIOS: LENOVO v: FGKT32AUS 
           date: 05/29/2014 
CPU:       Topology: Dual Core model: Intel Pentium G3220 bits: 64 type: MCP arch: Haswell rev: 3 
           L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 11972 
           Speed: 2993 MHz min/max: 800/3000 MHz Core speeds (MHz): 1: 2993 2: 2993 
Graphics:  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics 
           vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0402 
           Display: x11 server: X.Org 1.20.13 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1600x900~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics (HSW GT1) v: 4.5 Mesa 21.0.3 compat-v: 3.0 
           direct render: Yes 
Audio:     Device-1: Intel 8 Series/C220 Series High Definition Audio vendor: Lenovo 
           driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:8c20 
           Sound Server: ALSA v: k5.4.0-94-generic 
Network:   Device-1: Intel Ethernet I217-V vendor: Lenovo driver: e1000e v: 3.2.6-k port: f080 
           bus ID: 00:19.0 chip ID: 8086:153b 
           IF: eno1 state: down mac: <filter> 
           Device-2: Intel Centrino Wireless-N 2230 driver: iwlwifi v: kernel port: 0580 
           bus ID: 02:00.0 chip ID: 8086:0888 
           IF: wlp2s0 state: up mac: <filter> 
Drives:    Local Storage: total: 465.76 GiB used: 13.23 GiB (2.8%) 
           ID-1: /dev/sda vendor: Western Digital model: WD5000AAKX-08U6AA0 size: 465.76 GiB 
           speed: 6.0 Gb/s serial: <filter> 
Partition: ID-1: / size: 456.95 GiB used: 13.23 GiB (2.9%) fs: ext4 dev: /dev/sda5 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 1-1:2 info: Intel ports: 4 rev: 2.0 chip ID: 8087:8008 
           Device-1: 1-1.1:3 info: Intel type: Bluetooth driver: btusb rev: 2.0 chip ID: 8087:07da 
           Device-2: 1-1.3:4 info: Z-Star Micro type: Video driver: uvcvideo rev: 2.0 
           chip ID: 0ac8:c458 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 2-1:2 info: Intel ports: 6 rev: 2.0 chip ID: 8087:8000 
           Device-3: 2-1.4:3 info: Logitech type: Mouse,HID driver: hid-generic,usbhid rev: 2.0 
           chip ID: 046d:c092 
           Device-4: 2-1.6:11 info: N/A type: Keyboard,HID driver: hid-generic,usbhid rev: 1.1 
           chip ID: c0f4:06f0 
           Hub: 3-0:1 info: Full speed (or root) Hub ports: 10 rev: 2.0 chip ID: 1d6b:0002 
           Hub: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.0 chip ID: 1d6b:0003 
Sensors:   System Temperatures: cpu: 40.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/gambas-team-gambas3-focal.list 
           1: deb http: //ppa.launchpad.net/gambas-team/gambas3/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb https: //mirror.cs.jmu.edu/pub/linuxmint/packages una main upstream import backport
           2: deb http: //archive.ubuntu.com/ubuntu focal main restricted universe multiverse
           3: deb http: //archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
           4: deb http: //archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
           5: deb http: //security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http: //archive.canonical.com/ubuntu/ focal partner
Info:      Processes: 178 Uptime: 23h 19m Memory: 1.79 GiB used: 924.9 MiB (50.5%) Init: systemd 
           v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Client: Unknown python3.8 client 
           inxi: 3.0.38 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Termy
Level 12
Level 12
Posts: 4248
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: Slow boot time ~1:45 from powerup to desktop

Post by Termy »

Run systemd-analyze blame in a terminal to see what's slowing things down.
I'm also Terminalforlife on GitHub.
mikejp56
Level 2
Level 2
Posts: 70
Joined: Mon Oct 21, 2019 8:06 am
Location: Maryland USA

Re: Slow boot time ~1:45 from powerup to desktop

Post by mikejp56 »

Hi Termy,
Here is the info you asked for.
Regards,
mikejp56

Code: Select all

14.464s systemd-journal-flush.service                        
12.858s man-db.service                                       
10.481s logrotate.service                                    
 9.365s dev-sda5.device                                      
 8.607s accounts-daemon.service                              
 8.444s udisks2.service                                      
 6.542s ubuntu-system-adjustments.service                    
 5.893s lightdm.service                                      
 5.880s plymouth-quit-wait.service                           
 5.055s avahi-daemon.service                                 
 5.053s bluetooth.service                                    
 5.025s NetworkManager.service                               
 5.011s systemd-udevd.service                                
 4.461s thermald.service                                     
 4.457s systemd-logind.service                               
 4.451s wpa_supplicant.service                               
 3.539s gpu-manager.service                                  
 2.797s systemd-resolved.service                             
 2.657s apt-daily.service                                    
 2.287s apt-daily-upgrade.service                            
 2.192s apparmor.service                                     
 1.796s fwupd-refresh.service                                
 1.650s hddtemp.service                                      
 1.624s grub-common.service                                  
 1.444s rsyslog.service                                      
 1.351s systemd-fsck@dev-disk-by\x2duuid-D2D4\x2d1FAA.service
 1.185s systemd-modules-load.service                         
 1.158s systemd-sysctl.service                               
 1.144s networking.service                                   
 1.050s alsa-restore.service                                 
  927ms systemd-tmpfiles-setup-dev.service                   
  767ms grub-initrd-fallback.service                         
  762ms e2scrub_reap.service                                 
  605ms systemd-journald.service                             
  592ms systemd-tmpfiles-clean.service                       
  592ms systemd-tmpfiles-setup.service                       
  574ms upower.service                                       
  540ms keyboard-setup.service                               
  540ms dns-clean.service                                    
  522ms user@1000.service                                    
  513ms systemd-sysusers.service                             
  510ms systemd-udev-trigger.service                         
  453ms systemd-rfkill.service                               
  445ms boot-efi.mount                                       
  438ms colord.service                                       
  436ms ufw.service                                          
  404ms lm-sensors.service                                   
  389ms systemd-random-seed.service                          
  354ms plymouth-read-write.service                          
  354ms plymouth-start.service                               
  308ms ifupdown-pre.service                                 
  284ms swapfile.swap                                        
  270ms polkit.service                                       
  257ms pppd-dns.service                                     
  257ms kerneloops.service                                   
  234ms systemd-timesyncd.service                            
  221ms lvm2-monitor.service                                 
  195ms systemd-remount-fs.service                           
  171ms systemd-backlight@backlight:intel_backlight.service  
  139ms console-setup.service                                
  131ms rtkit-daemon.service                                 
  113ms dev-hugepages.mount                                  
  112ms dev-mqueue.mount                                     
  111ms sys-kernel-debug.mount                               
  110ms sys-kernel-tracing.mount                             
  109ms blk-availability.service                             
  108ms systemd-user-sessions.service                        
  106ms kmod-static-nodes.service                            
   82ms systemd-update-utmp.service                          
   66ms setvtrgb.service                                     
   16ms user-runtime-dir@1000.service                        
    8ms systemd-update-utmp-runlevel.service                 
    6ms finalrd.service                                      
    6ms sys-fs-fuse-connections.mount                        
    5ms motd-news.service                                    
    3ms openvpn.service                                      
    3ms sys-kernel-config.mount
User avatar
AndyMH
Level 21
Level 21
Posts: 13742
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Slow boot time ~1:45 from powerup to desktop

Post by AndyMH »

A common cause is a wrong UUID in fstab, this causes a 90s delay. Post the output from cat /etc/fstab and blkid.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Reddog1
Level 7
Level 7
Posts: 1939
Joined: Wed Jun 01, 2011 2:12 pm

Re: Slow boot time ~1:45 from powerup to desktop

Post by Reddog1 »

You have 2GB of memory installed and 1.79GB available (probably on-board gpu). That is not enough for Cinnamon. Install a lighter weight desktop--Xfce or Mate if you want to get any performance from Mint. If either of those still seem really slow, go looking for a lighter weight distribution--maybe Sparky Linux Xfce or Q4OS kde. Or, install a couple more GB of ram. My opinion only--good luck.
User avatar
karlchen
Level 23
Level 23
Posts: 18225
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Slow boot time ~1:45 from powerup to desktop

Post by karlchen »

Hello, mikejp56.

For a computer from 2014 with a spinning WD harddisk, the total startup time of 1 min 45 sec for Linux Mint 20.3 Cinnamon is pretty fine.
The only reasonable way of improving the startup time substantially is by replacing the spinning harddisk by an SSD.
Doing so will not only result in a shorter startup time. Disk intensive operations will also be much faster.

Adding more memory would not do any harm either. Less than 4 GB is not really sufficient in 2022 any more.

Regards,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
Locked

Return to “Installation & Boot”