LM 19 - very slow boot

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
sam_glaim

LM 19 - very slow boot

Post by sam_glaim »

Hi.

I'm trying Linux Mint 19 (really liking it so far :) ) and installing to a clean, freshly formatted SSD on an AMD CPU/GPU based system with 16 gigs ram but after install, boot times are really slow (minutes). Shut down is also slow, but not as slow as boot up times.

I've tried a couple of different SSD drives, thinking that the first one I tried may have been showing it's age (it's a few years old now and been formatted many times while trying different operating systems), but boot times really are slow. I've tried both Cinnamon and Mate and both are very slow to boot, after a clean fresh install.

I tried the Beta of LM 19 a few days before the full release and that did not have the slow boot problems.

Anyone else seeing these slow boot and shut down times with LM 19 ?
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.
sam_glaim

Re: LM 19 - very slow boot

Post by sam_glaim »

Update: ....

I've just grabbed a copy of LM 18.3 "Sylvia" (Cinnamon) and installed it on the same computer and exactly the same hardware and boot up and shut down times are pretty quick. It does appear that the problem with very slow boot/shut down for me is with LM 19 :cry:
binocry
Level 1
Level 1
Posts: 15
Joined: Mon Jul 09, 2018 4:30 am

Re: LM 19 - very slow boot

Post by binocry »

me too, this is maybe Ubuntu 18.04 fault
tgwilt
Level 3
Level 3
Posts: 131
Joined: Fri Jun 08, 2018 2:26 am
Location: Florida, USA

Re: LM 19 - very slow boot

Post by tgwilt »

I'm running Mint 19 on an old Toshiba Satellite 775. I just timed from executing the reboot command to the time the cinnamon desktop appeared. One Minute 17.52 seconds. I never timed Mint 18.3, but the boot time doesn't seem too slow for me. OTOH, I'm 65 and not in a hurry anymore
User avatar
afineman
Level 2
Level 2
Posts: 50
Joined: Sun Sep 28, 2014 12:08 pm

Re: LM 19 - very slow boot

Post by afineman »

All

I have the exact same problem VERY slow boot on an older computer. I replaced 18.3 with 19 and boot times were 7.3 minutes, shut down was about 6 min. I reloaded 17.3 mate (I had it handy) and with the upgraded processor, SSD and RAM (preparing for 19) boot time is measures in seconds.

Below is my laptop with 17.3, I'll reload 19 and make an identical post, so give me about a hour

Code: Select all

lap@lap-Aspire-4720Z ~ $ inxi -Fxz
System:    Host: lap-Aspire-4720Z Kernel: 4.4.0-130-generic x86_64 (64 bit gcc: 4.8.4)
           Desktop: MATE 1.12.0 (Gtk 3.10.8~8+qiana)
           Distro: Linux Mint 17.3 Rosa
Machine:   System: Acer product: Aspire 4720Z
           Mobo: Acer model: Nestos Bios: Acer v: v1.3810 date: 04/23/2008
CPU:       Dual core Intel Core2 Duo T7700 (-MCP-) cache: 4096 KB
           flags: (lm nx sse sse2 sse3 ssse3 vmx) bmips: 9601
           clock speeds: max: 2401 MHz 1: 1600 MHz 2: 1200 MHz
Graphics:  Card: Intel Mobile GM965/GL960 Integrated Graphics Controller (primary)
           bus-ID: 00:02.0
           Display Server: X.Org 1.17.1 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1280x800@60.0hz
           GLX Renderer: Mesa DRI Intel 965GM
           GLX Version: 2.1 Mesa 10.5.9 Direct Rendering: Yes
Audio:     Card Intel 82801H (ICH8 Family) HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.4.0-130-generic
Network:   Card-1: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express)
           driver: ath5k bus-ID: 04:00.0
           IF: wlan0 state: up mac: <filter>
           Card-2: Broadcom NetLink BCM5787M Gigabit Ethernet PCI Express
           driver: tg3 v: 3.137 bus-ID: 05:00.0
           IF: eth0 state: down mac: <filter>
Drives:    HDD Total Size: 120.0GB (8.8% used)
           ID-1: /dev/sda model: Corsair_Force_GT size: 120.0GB
Partition: ID-1: / size: 107G used: 7.0G (7%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 3.21GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 54.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 164 Uptime: 26 min Memory: 741.2/2999.1MB
           Init: Upstart runlevel: 2 Gcc sys: 4.8.4
           Client: Shell (bash 4.3.111) inxi: 2.2.28 
User avatar
afineman
Level 2
Level 2
Posts: 50
Joined: Sun Sep 28, 2014 12:08 pm

Re: LM 19 - very slow boot

Post by afineman »

All
Just an FYI, I tried the new Ubuntu as well and the boot times were just as slow, I know there is a command that displays boot time for each segment, I'll search before going back to 17.3, I'll edit this post if it says anything.

Code: Select all

System:    Host: mint Kernel: 4.15.0-20-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.3 (Gtk 3.22.30-1ubuntu1)
           Distro: Linux Mint 19 Tara
Machine:   Device: kvm System: Acer product: Aspire 4720Z serial: N/A
           Mobo: Acer model: Nestos serial: N/A
           BIOS: Acer v: v1.3810 date: 04/23/2008
Battery    BAT1: charge: 13.3 Wh 100.0% condition: 13.3/44.4 Wh (30%)
           model: SONY Nestos status: Full
CPU:       Dual core Intel Core2 Duo T7700 (-MCP-) 
           arch: Conroe rev.11 cache: 4096 KB
           flags: (lm nx sse sse2 sse3 ssse3 vmx) bmips: 9600
           clock speeds: max: 2401 MHz 1: 1767 MHz 2: 1791 MHz
Graphics:  Card: Intel Mobile GM965/GL960 Integrated Graphics Controller (primary)
           bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: modesetting (unloaded: fbdev,vesa)
           Resolution: 1280x800@60.00hz
           OpenGL: renderer: Mesa DRI Intel 965GM
           version: 2.1 Mesa 18.0.0-rc5 Direct Render: Yes
Audio:     Card Intel 82801H (ICH8 Family) HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.15.0-20-generic
Network:   Card-1: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express)
           driver: ath5k bus-ID: 04:00.0
           IF: wlp4s0 state: up mac: <filter>
           Card-2: Broadcom Limited NetLink BCM5787M Gigabit Ethernet PCIE
           driver: tg3 v: 3.137 bus-ID: 05:00.0
           IF: enp5s0 state: down mac: <filter>
Drives:    HDD Total Size: 122.1GB (2.5% used)
           ID-1: /dev/sda model: Corsair_Force_GT size: 120.0GB temp: 44C
           ID-2: USB /dev/sdb model: USB_DISK_2.0 size: 2.1GB temp: 0C
Partition: ID-1: / size: 1.5G used: 33M (3%) fs: overlay dev: N/A
           ID-2: swap-1 size: 3.21GB used: 0.00GB (0%)
           fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 55.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 171 Uptime: 10 min Memory: 581.1/2992.7MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
EDIT:

As you can see nothing really stands out

Code: Select all

mint@mint:~$ systemd-analyze
Startup finished in 2min 19.309s (kernel) + 4.900s (userspace) = 2min 24.210s
graphical.target reached after 4.882s in userspace
mint@mint:~$ systemd-analyze blame
          2.155s networkd-dispatcher.service
          2.064s console-setup.service
          2.036s ubuntu-system-adjustments.service
          1.606s dev-loop0.device
          1.562s udisks2.service
          1.482s dev-sdb.device
          1.474s dev-sda5.device
          1.450s keyboard-setup.service
          1.399s NetworkManager.service
          1.294s ModemManager.service
          1.211s gpu-manager.service
          1.016s wpa_supplicant.service
           960ms rsyslog.service
           955ms accounts-daemon.service
           913ms lightdm.service
           905ms plymouth-quit-wait.service
           825ms thermald.service
           598ms networking.service
           581ms polkit.service
           548ms grub-common.service
           511ms speech-dispatcher.service
           497ms upower.service
           437ms dns-clean.service
           423ms avahi-daemon.service
           413ms apport.service
           394ms systemd-resolved.service
           370ms hddtemp.service
           355ms systemd-udev-trigger.service
           347ms systemd-logind.service
           332ms systemd-journald.service
           244ms ubiquity.service
           240ms lm-sensors.service
           239ms lvm2-monitor.service
           220ms systemd-modules-load.service
           176ms kerneloops.service
           158ms systemd-timesyncd.service
           140ms systemd-udevd.service
           120ms user@999.service
           117ms plymouth-start.service
            96ms systemd-update-utmp.service
            92ms colord.service
lines 1-41
Sourav

Re: LM 19 - very slow boot

Post by Sourav »

Linux Mint 19, as I experienced, is very buggy. May be it's the fault of Ubuntu Bionic. I don't know, Linux Mint Tara sucks.
I don't know, did you try the kernel before 4.15.0-20? I had my desktop running buggy after installing the kernel 4.15.0-20 on Linux Mint 18.3. My laptop is running the kernel 4.15.23 and Linux Mint 19. I'm currently having no problems. But check if rolling down the kernel can fix your problem?
sam_glaim

Re: LM 19 - very slow boot

Post by sam_glaim »

Just done another clean install of LM 19 (Cinnamon) and this time, did not update to the latest kernel and the slow boot/shutdown problem is not there.

It would appear, as a number of people have suggested, that updating to the latest kernel is causing these slow boot times?

Hopefully, the next release will address this issue of slow boot/shutdown problems. As it is, LM 19 seems to be performing very well :)

Thanks to all those who responded.... cheers!
Mute Ant

Re: LM 19 - very slow boot

Post by Mute Ant »

@ afineman Slow with two different distributions? Use the Disks accessory to look at the SMART report for your hard drive. An ailing magnetic drive suffers silently with hard-to-read and hard-to write blocks. Age or on-time is not a reliable indicator of the internal state of the storage, some fail after only months of light activity, some are still running with zero bad sectors after years of continuous use. SSD, I don't know. Odd that Mint17 works normally though.
User avatar
Pepi
Level 6
Level 6
Posts: 1305
Joined: Wed Nov 18, 2009 7:47 pm

Re: LM 19 - very slow boot

Post by Pepi »

sam_glaim wrote: Thu Jul 12, 2018 3:39 pm Just done another clean install of LM 19 (Cinnamon) and this time, did not update to the latest kernel and the slow boot/shutdown problem is not there.

It would appear, as a number of people have suggested, that updating to the latest kernel is causing these slow boot times?

Hopefully, the next release will address this issue of slow boot/shutdown problems. As it is, LM 19 seems to be performing very well :)

Thanks to all those who responded.... cheers!
In my case it also appears that after updating to the newest kernel but then going back to an older kernel doesn't fix the problem. My system was still slow.
sam_glaim

Re: LM 19 - very slow boot

Post by sam_glaim »

Pepi wrote: Thu Jul 12, 2018 3:54 pm
sam_glaim wrote: Thu Jul 12, 2018 3:39 pm Just done another clean install of LM 19 (Cinnamon) and this time, did not update to the latest kernel and the slow boot/shutdown problem is not there.

It would appear, as a number of people have suggested, that updating to the latest kernel is causing these slow boot times?

Hopefully, the next release will address this issue of slow boot/shutdown problems. As it is, LM 19 seems to be performing very well :)

Thanks to all those who responded.... cheers!
In my case it also appears that after updating to the newest kernel but then going back to an older kernel doesn't fix the problem. My system was still slow.
I did a clean install and didn't allow the update to the new kernel.... sounds like going back, still leaves behind whatever it is that causes the slow boots?
dataflood
Level 1
Level 1
Posts: 1
Joined: Fri Jul 13, 2018 3:50 am

Re: LM 19 - very slow boot

Post by dataflood »

Hello,

i installed Mint 19 yesterday. i have the same Problem with the very slow boot.

Code: Select all

 lars@Mint-PC:~$ inxi -Fxz
System:    Host: Mint-PC Kernel: 4.15.0-20-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: Cinnamon 3.8.6 (Gtk 3.22.30-1ubuntu1) Distro: Linux Mint 19 Tara
Machine:   Device: desktop Mobo: ASUSTeK model: M2N-SLI DELUXE v: 1.XX serial: N/A
           BIOS: Phoenix v: ASUS M2N-SLI DELUXE 5001 date: 02/04/2010
CPU:       Quad core AMD Phenom 9950 (-MCP-) arch: K10 rev.3 cache: 2048 KB
           flags: (lm nx sse sse2 sse3 sse4a svm) bmips: 20897
           clock speeds: max: 2612 MHz 1: 2612 MHz 2: 2612 MHz 3: 2612 MHz 4: 2612 MHz
Graphics:  Card: NVIDIA GK106 [GeForce GTX 650 Ti Boost] bus-ID: 03:00.0
           Display Server: x11 (X.Org 1.19.6 ) drivers: nvidia (unloaded: modesetting,fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: GeForce GTX 650 Ti BOOST/PCIe/SSE2 version: 4.6.0 NVIDIA 390.48 Direct Render: Yes
Audio:     Card-1 NVIDIA GK106 HDMI Audio Controller driver: snd_hda_intel bus-ID: 03:00.1
           Card-2 NVIDIA MCP55 High Definition Audio driver: snd_hda_intel bus-ID: 00:06.1
           Card-3 Microsoft LifeCam VX-1000 driver: USB Audio usb-ID: 002-002
           Sound: Advanced Linux Sound Architecture v: k4.15.0-20-generic
Network:   Card-1: NVIDIA MCP55 Ethernet driver: forcedeth port: ec00 bus-ID: 00:08.0
           IF: enp0s8 state: up speed: 1000 Mbps duplex: full mac: <filter>
           Card-2: NVIDIA MCP55 Ethernet driver: forcedeth port: eb00 bus-ID: 00:09.0
           IF: enp0s9 state: down mac: <filter>
           Card-3: Sundance / IC Plus IC Plus IP100A Integrated 10/100 Ethernet MAC + PHY
           driver: sundance port: dc00 bus-ID: 01:06.0
           IF: enp1s6 state: unknown speed: 10 Mbps duplex: half mac: <filter>
Drives:    HDD Total Size: 1120.2GB (24.1% used)
           ID-1: /dev/sda model: SanDisk_SDSSDHII size: 120.0GB
           ID-2: /dev/sdb model: WDC_WD10EZEX size: 1000.2GB
Partition: ID-1: / size: 105G used: 8.4G (9%) fs: ext4 dev: /dev/sda1
           ID-2: /boot size: 491M used: 77M (17%) fs: ext4 dev: /dev/sda6
           ID-3: /home size: 766G used: 160G (22%) fs: ext4 dev: /dev/sdb6
           ID-4: swap-1 size: 4.50GB used: 0.00GB (0%) fs: swap dev: /dev/dm-0
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 54.0C mobo: 39.0C gpu: 0.0:38C
           Fan Speeds (in rpm): cpu: 1934 psu: 0 sys-1: 1436 sys-2: 597 sys-3: 0 sys-4: 1109
Info:      Processes: 272 Uptime: 2:42 Memory: 1857.0/7976.4MB Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
     

Code: Select all

lars@Mint-PC:~$  systemd-analyze
Startup finished in 3min 17.918s (kernel) + 4.027s (userspace) = 3min 21.946s
graphical.target reached after 2.216s in userspace
lars@Mint-PC:~$ systemd-analyze blame
          1.286s apt-daily.service
           857ms apt-daily-upgrade.service
           629ms udisks2.service
           481ms systemd-timesyncd.service
           459ms systemd-resolved.service
           430ms dev-sda1.device
           424ms systemd-journal-flush.service
           368ms lvm2-monitor.service
           341ms systemd-cryptsetup@cryptswap1.service
           307ms ubuntu-system-adjustments.service
           291ms networkd-dispatcher.service
           276ms systemd-logind.service
           262ms NetworkManager.service
           204ms ModemManager.service
           201ms accounts-daemon.service
           194ms systemd-fsck@dev-disk-by\x2duuid-88a7521b\x2d8710\x2d4f68\x2d9cff\x2d212edf591ed9.service
           163ms lm-sensors.service
           159ms keyboard-setup.service
           156ms systemd-modules-load.service
           153ms bluetooth.service
           147ms grub-common.service
           138ms apport.service
           136ms speech-dispatcher.service
           125ms apparmor.service
           123ms hddtemp.service
           122ms alsa-restore.service
           120ms systemd-fsck@dev-disk-by\x2duuid-c35b70d3\x2d2e79\x2d4f61\x2d95ea\x2d85bc15fa7187.service
           113ms upower.service
           111ms systemd-tmpfiles-setup.service
           108ms kerneloops.service
            99ms avahi-daemon.service
            93ms systemd-tmpfiles-setup-dev.service
            92ms systemd-udev-trigger.service
            88ms dns-clean.service
            87ms thermald.service
            87ms gpu-manager.service
            82ms lightdm.service
            82ms plymouth-quit-wait.service
            80ms rsyslog.service
            78ms pppd-dns.service
            78ms networking.service
            76ms wpa_supplicant.service
            70ms polkit.service
            68ms systemd-journald.service
            65ms nvidia-persistenced.service
            62ms home.mount
            61ms systemd-rfkill.service
            60ms user@1000.service
            49ms packagekit.service
            36ms colord.service
            28ms systemd-tmpfiles-clean.service
            24ms systemd-udevd.service
            24ms boot.mount
            24ms dev-hugepages.mount
            23ms systemd-remount-fs.service
            21ms plymouth-start.service
            20ms kmod-static-nodes.service
Locked

Return to “Beginner Questions”