You are not logged in.

#1 2022-06-11 21:02:16

wa11aa
Member
Registered: 2022-06-05
Posts: 1

Slow boot

Hello, My boot time takes up to 18 seconds on my SSD, i wanted to know if this is normal time to boot the system

this is the output of systemd-analyze

Startup finished in 14.121s (firmware) + 514ms (loader) + 1.410s (kernel) + 620ms (initrd) + 1.792s (userspace) = 18.458s 
graphical.target reached after 1.792s in userspace.

systemd-analyze blame

1.434s sys-module-configfs.device
1.297s dev-ttyS1.device
1.297s sys-devices-platform-serial8250-tty-ttyS1.device
1.297s dev-ttyS18.device
1.297s sys-devices-platform-serial8250-tty-ttyS18.device
1.296s sys-devices-platform-serial8250-tty-ttyS0.device
1.296s dev-ttyS0.device
1.296s sys-devices-platform-serial8250-tty-ttyS10.device
1.296s dev-ttyS10.device
1.296s sys-devices-platform-serial8250-tty-ttyS11.device
1.296s dev-ttyS11.device
1.295s dev-ttyS19.device
1.295s sys-devices-platform-serial8250-tty-ttyS19.device
1.295s sys-devices-platform-serial8250-tty-ttyS15.device
1.295s dev-ttyS15.device
1.295s dev-ttyS2.device
1.295s sys-devices-platform-serial8250-tty-ttyS2.device
1.294s dev-ttyS24.device
1.294s sys-devices-platform-serial8250-tty-ttyS24.device
1.294s sys-devices-platform-serial8250-tty-ttyS17.device
1.294s dev-ttyS17.device
1.293s dev-ttyS26.device
1.293s sys-devices-platform-serial8250-tty-ttyS26.device
1.293s dev-ttyS20.device
1.293s sys-devices-platform-serial8250-tty-ttyS20.device
1.292s dev-ttyS21.device
1.292s sys-devices-platform-serial8250-tty-ttyS21.device
1.291s dev-ttyS22.device
1.291s sys-devices-platform-serial8250-tty-ttyS22.device
1.291s dev-ttyS25.device
1.291s sys-devices-platform-serial8250-tty-ttyS25.device
1.291s sys-devices-platform-serial8250-tty-ttyS28.device
1.291s dev-ttyS28.device
1.291s sys-devices-platform-serial8250-tty-ttyS30.device
1.291s dev-ttyS30.device
1.290s dev-ttyS7.device
1.290s sys-devices-platform-serial8250-tty-ttyS7.device
1.289s dev-ttyS27.device
1.289s sys-devices-platform-serial8250-tty-ttyS27.device
1.288s dev-ttyS5.device
1.288s sys-devices-platform-serial8250-tty-ttyS5.device
1.288s dev-ttyS29.device
1.288s sys-devices-platform-serial8250-tty-ttyS29.device
1.286s dev-ttyS31.device
1.286s sys-devices-platform-serial8250-tty-ttyS31.device
1.285s dev-ttyS6.device
1.285s sys-devices-platform-serial8250-tty-ttyS6.device
1.284s sys-devices-platform-serial8250-tty-ttyS9.device
1.284s dev-ttyS9.device
1.284s dev-ttyS3.device
1.284s sys-devices-platform-serial8250-tty-ttyS3.device
1.283s dev-ttyS16.device
1.283s sys-devices-platform-serial8250-tty-ttyS16.device
1.283s sys-devices-platform-serial8250-tty-ttyS8.device
1.283s dev-ttyS8.device
1.280s sys-devices-platform-serial8250-tty-ttyS23.device
1.280s dev-ttyS23.device
1.279s dev-ttyS13.device
1.279s sys-devices-platform-serial8250-tty-ttyS13.device
1.276s sys-devices-platform-serial8250-tty-ttyS14.device
1.276s dev-ttyS14.device
1.276s dev-ttyS12.device
1.276s sys-devices-platform-serial8250-tty-ttyS12.device
1.264s dev-disk-by\x2dlabel-hdd.device
1.264s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1\x2dpart1.device
1.264s sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda1.device
1.264s dev-disk-by\x2dpartlabel-hdd.device
1.264s dev-sda1.device
1.264s dev-disk-by\x2did-ata\x2dTOSHIBA_MQ01ACF032_9493S0FYS\x2dpart1.device
1.264s dev-disk-by\x2duuid-2a769327\x2d91e8\x2d49ba\x2d8635\x2d266c3a31eab1.device
1.264s dev-disk-by\x2dpartuuid-ae6ab595\x2d410e\x2d44dc\x2dac74\x2d01ed0cbf5d1e.device
1.264s dev-disk-by\x2did-wwn\x2d0x50000395c5702cb9\x2dpart1.device
1.264s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0\x2dpart1.device
1.245s sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda.device
1.245s dev-sda.device
1.245s dev-disk-by\x2did-wwn\x2d0x50000395c5702cb9.device
1.245s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.device
1.245s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d1.0.device
1.245s dev-disk-by\x2did-ata\x2dKINGSTON_SA400S37240G_50026B738116801F\x2dpart1.device
1.245s dev-disk-by\x2dpartuuid-eee8cf90\x2d618c\x2d3e40\x2d8789\x2d8d1f5afa84cf.device
1.245s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d2\x2dpart1.device
1.245s dev-disk-by\x2ddiskseq-1.device
1.245s sys-devices-pci0000:00-0000:00:1f.2-ata2-host1-target1:0:0-1:0:0:0-block-sdb-sdb1.device
1.245s dev-sdb1.device
1.245s dev-disk-by\x2did-ata\x2dTOSHIBA_MQ01ACF032_9493S0FYS.device
1.245s dev-disk-by\x2duuid-88EC\x2d0C4F.device
1.245s dev-disk-by\x2did-wwn\x2d0x50026b738116801f\x2dpart1.device
1.245s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d2.0\x2dpart1.device
1.236s dev-disk-by\x2duuid-929a307d\x2dd0a8\x2d4326\x2dadd9\x2d0be62c19c640.device
1.236s dev-disk-by\x2did-wwn\x2d0x50026b738116801f\x2dpart2.device
1.236s dev-sdb2.device
1.236s dev-disk-by\x2dlabel-SDD.device
1.236s sys-devices-pci0000:00-0000:00:1f.2-ata2-host1-target1:0:0-1:0:0:0-block-sdb-sdb2.device
1.236s dev-disk-by\x2did-ata\x2dKINGSTON_SA400S37240G_50026B738116801F\x2dpart2.device
1.236s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d2.0\x2dpart2.device
1.236s dev-disk-by\x2dpartuuid-fd8cb531\x2d6752\x2d134e\x2d86bc\x2db6baff14e429.device
1.236s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d2\x2dpart2.device
1.230s sys-devices-pci0000:00-0000:00:1f.2-ata2-host1-target1:0:0-1:0:0:0-block-sdb.device
1.230s dev-disk-by\x2ddiskseq-2.device
1.230s dev-sdb.device
1.230s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d2.0.device
1.230s dev-disk-by\x2dpath-pci\x2d0000:00:1f.2\x2data\x2d2.device
1.230s dev-disk-by\x2did-ata\x2dKINGSTON_SA400S37240G_50026B738116801F.device
1.230s dev-disk-by\x2did-wwn\x2d0x50026b738116801f.device
1.211s sys-devices-pci0000:00-0000:00:16.3-tty-ttyS4.device
1.211s dev-ttyS4.device
 374ms initrd-switch-root.service
 305ms systemd-logind.service
 222ms systemd-journal-flush.service
 220ms systemd-udevd.service
 198ms udisks2.service
 167ms lvm2-monitor.service
 151ms systemd-fsck@dev-disk-by\x2duuid-2a769327\x2d91e8\x2d49ba\x2d8635\x2d266c3a31eab1.service
 151ms systemd-tmpfiles-setup-dev.service
 150ms boot-EFI.mount
 116ms systemd-random-seed.service
 115ms systemd-tmpfiles-setup.service
 107ms user@1000.service
  97ms systemd-sysctl.service
  92ms polkit.service
  79ms systemd-udev-trigger.service
  74ms NetworkManager.service
  74ms systemd-fsck@dev-disk-by\x2duuid-88EC\x2d0C4F.service
  67ms upower.service
  60ms initrd-parse-etc.service
  59ms dbus.service
  53ms lm_sensors.service
  48ms systemd-timesyncd.service
  31ms systemd-modules-load.service
  21ms mnt-hdd.mount
  20ms systemd-fsck-root.service
  19ms systemd-journald.service
  15ms wpa_supplicant.service
  12ms dev-hugepages.mount
  12ms systemd-rfkill.service
  12ms dev-mqueue.mount
  11ms sys-kernel-debug.mount
  11ms systemd-backlight@leds:dell::kbd_backlight.service
  11ms modprobe@fuse.service
  11ms sys-kernel-tracing.mount
   9ms tmp.mount
   9ms kmod-static-nodes.service
   8ms initrd-cleanup.service
   8ms systemd-update-utmp.service
   8ms modprobe@drm.service
   7ms systemd-remount-fs.service
   6ms systemd-backlight@backlight:acpi_video0.service
   5ms sys-fs-fuse-connections.mount
   5ms user-runtime-dir@1000.service
   4ms initrd-udevadm-cleanup-db.service
   3ms systemd-user-sessions.service
   3ms rtkit-daemon.service
   2ms sys-kernel-config.mount
   2ms modprobe@configfs.service

GRUB config

GRUB_DEFAULT=0
GRUB_TIMEOUT=0
GRUB_RECORDFAIL_TIMEOUT=$GRUB_TIMEOUT
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet loglevel=3 rd.systemd.show_status=auto rd.udev.log_level=3 vt.global_cursor_default=0"
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT_STYLE=hidden


# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT=true

# Uncomment to disable submenus in boot menu
#GRUB_DISABLE_SUBMENU=y

# Probing for other operating systems is disabled for security reasons. Read
# documentation on GRUB_DISABLE_OS_PROBER, if still want to enable this
# functionality install os-prober and uncomment to detect and include other
# operating systems.
#GRUB_DISABLE_OS_PROBER=false

mkinitcpio.conf

HOOKS=(base systemd autodetect modconf block filesystems keyboard fsck)

Please let me know if you want any other info and i'll provide it to you, Thanks!

Offline

#2 2022-06-12 06:11:46

seth
Member
Registered: 2012-09-03
Posts: 29,769

Re: Slow boot

"systemd-analyze critical-chain"

But

Startup finished in 14.121s (firmware) + 514ms (loader) + 1.410s (kernel) + 620ms (initrd) + 1.792s (userspace) = 18.458s

That's the BIOS/UEFI before the boot loader (grub) is even started - it might be probing around for other boot devices, run an extensive self test (eg. RAM) or whatnotelse.

Online

Board footer

Powered by FluxBB