LINUX LITE 7.2 RC1 RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I want to make it boot faster
#1
My linux lite is taking a while to boot. Can I make it faster?

My pc specifications:

System:    Host: OptiPlex-360 Kernel: 5.15.0-76-generic x86_64 bits: 64 compiler: N/A Desktop: Xfce 4.16.0
          Distro: Linux Lite 6.4 LTS base: Ubuntu 22.04.2 LTS (Jammy Jellyfish)
Machine:  Type: Desktop System: Dell product: OptiPlex 360 v: N/A serial: <superuser/root required>
          Mobo: Dell model: 0T656F v: A01 serial: <superuser/root required> BIOS: Dell v: A07 date: 06/18/2012
CPU:      Topology: Dual Core model: Intel Core2 Duo E8400 bits: 64 type: MCP arch: Penryn rev: A L2 cache: 6144 KiB
          flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 11970
          Speed: 2237 MHz min/max: 2000/3000 MHz Core speeds (MHz): 1: 2397 2: 2274
Graphics:  Device-1: NVIDIA GF119 [GeForce GT 610] vendor: ZOTAC driver: nouveau v: kernel bus ID: 01:00.0
          Display: x11 server: X.Org 1.21.1.4 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz
          OpenGL: renderer: NVD9 v: 4.3 Mesa 22.2.5-0ubuntu0.1~22.04.3 direct render: Yes
Audio:    Device-1: Intel NM10/ICH7 Family High Definition Audio vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1b.0
          Device-2: NVIDIA GF119 HDMI Audio vendor: ZOTAC driver: snd_hda_intel v: kernel bus ID: 01:00.1
          Sound Server: ALSA v: k5.15.0-76-generic
Network:  Device-1: Broadcom and subsidiaries NetLink BCM5784M Gigabit Ethernet PCIe vendor: Dell driver: tg3 v: kernel
          port: dc80 bus ID: 02:00.0
          IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: 00:23:ae:b7:14:10
          IF-ID-1: lxcbr0 state: down mac: 00:16:3e:00:00:00
Drives:    Local Storage: total: 111.79 GiB used: 25.75 GiB (23.0%)
          ID-1: /dev/sda model: SSD 120GB size: 111.79 GiB temp: 39 C
Partition: ID-1: / size: 108.98 GiB used: 25.74 GiB (23.6%) fs: ext4 dev: /dev/sda3
Sensors:  System Temperatures: cpu: 44.0 C mobo: N/A gpu: nouveau temp: 46 C
          Fan Speeds (RPM): N/A
Info:      Processes: 197 Uptime: 9m Memory: 3.75 GiB used: 1.18 GiB (31.4%) Init: systemd runlevel: 5 Compilers: gcc: 11.3.0
          Shell: bash v: 5.1.16 inxi: 3.0.38

This is the systemd-analyze time output:

Startup finished in 4.138s (kernel) + 18.051s (userspace) = 22.190s
graphical.target reached after 18.007s in userspace

This is the systemd-analyze blame output:

11.849s logrotate.service
11.793s networking.service
10.493s gpu-manager.service
8.212s NetworkManager-wait-online.service
2.524s lightdm.service
2.523s plymouth-quit-wait.service
2.123s snapd.service
1.896s systemd-random-seed.service
1.616s systemd-udev-settle.service
1.575s dev-sda3.device
1.512s blueman-mechanism.service
1.200s networkd-dispatcher.service
1.008s snapd.seeded.service
  986ms udisks2.service
  772ms accounts-daemon.service
  549ms polkit.service
  535ms NetworkManager.service
  532ms avahi-daemon.service
  459ms thermald.service
  457ms ModemManager.service
  453ms wpa_supplicant.service
  452ms systemd-logind.service
  421ms lxc-net.service
  416ms nmbd.service
  413ms apparmor.service
  406ms virtualbox.service
  335ms rsyslog.service
  315ms keyboard-setup.service
  314ms zfs-load-module.service
  311ms cups.service
  298ms systemd-journald.service
  277ms systemd-udev-trigger.service
  277ms systemd-udevd.service
  242ms systemd-modules-load.service
  238ms systemd-journal-flush.service
  237ms [email protected]
  212ms resolvconf-pull-resolved.service
  211ms ubiquity.service
  204ms smbd.service
  202ms snapd.apparmor.service
  188ms systemd-resolved.service
  179ms grub-common.service
  177ms e2scrub_reap.service
  164ms alsa-restore.service
  156ms ntp.service
  140ms update-notifier-download.service
  121ms hddtemp.service
  113ms lvm2-monitor.service
  112ms lm-sensors.service
  101ms lxc.service
  99ms [email protected]
  96ms systemd-networkd.service
  85ms packagekit.service
  83ms systemd-tmpfiles-setup.service
  81ms grub-initrd-fallback.service
  72ms upower.service
  54ms systemd-sysusers.service
  49ms modprobe@chromeos_pstore.service
  48ms systemd-fsck@dev-disk-by\x2duuid-78F1\x2d468B.service
  43ms zfs-share.service
  43ms dev-loop0.device
  43ms dev-mqueue.mount
  41ms sys-kernel-debug.mount
  41ms dev-hugepages.mount
  40ms sys-kernel-tracing.mount
  37ms kmod-static-nodes.service
  34ms [email protected]
  33ms dns-clean.service
  30ms [email protected]
  30ms plymouth-start.service
  29ms plymouth-read-write.service
  29ms systemd-networkd-wait-online.service
  28ms systemd-sysctl.service
  27ms swapfile.swap
  26ms systemd-remount-fs.service
  25ms zfs-mount.service
  24ms zfs-volume-wait.service
  22ms modprobe@pstore_blk.service
  21ms systemd-tmpfiles-setup-dev.service
  20ms [email protected]
  20ms [email protected]
  17ms boot-efi.mount
  15ms modprobe@efi_pstore.service
  15ms openvpn.service
  14ms console-setup.service
  13ms systemd-update-utmp.service
  12ms finalrd.service
  12ms ifupdown-pre.service
  11ms sys-fs-fuse-connections.mount
  11ms rtkit-daemon.service
  10ms systemd-user-sessions.service
    9ms sys-kernel-config.mount
    9ms casper-md5check.service
    9ms systemd-update-utmp-runlevel.service
    8ms snap-core-15511.mount
    8ms proc-sys-fs-binfmt_misc.mount
    8ms modprobe@pstore_zone.service
    5ms setvtrgb.service
  969us snapd.socket
  51us blk-availability.service

Sometimes the networking.service is taking almost 20sec.
I wanted it to boot faster, what can I do?
Reply
#2
Hallo! Das dauert bei mir ca. 1min. 40sek., es ist doch kein Lichtschalter.  Der Speicher kann vielleicht um 4GB verdoppelt werden. Beste Grüße, K.H.
Reply
#3
First call for reports of slow boot time is this post.
It includes advice on disabling startup services and fixing IP addresses to trim a little time.

https://www.linuxliteos.com/forums/start...inux-lite/

A command suggested in that post is
Code:
systemd-analyze critical-chain
stevef
clueless
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)