My fresh manjaro i3 installation is taking about 3 mins to boot, although the time shown on systemd-analyze is 34s. System is dual boot, and I have not considered grub time while recording time on stopwatch.
Following is the output from various commands
systemd-analyze
Startup finished in 5.205s (firmware) + 869ms (loader) + 1.775s (kernel) + 26.504s (userspace) = 34.355s
graphical.target reached after 1.452s in userspace
systemd-analyze critical-chain
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 @1.452s
└─multi-user.target @1.408s
└─systemd-user-sessions.service @1.400s +7ms
└─nss-user-lookup.target @1.455s
systemd-analyze blame
937ms apparmor.service
766ms dev-sda5.device
594ms tlp.service
587ms systemd-rfkill.service
446ms systemd-random-seed.service
176ms systemd-backlight@backlight:intel_backlight.service
161ms boot-efi.mount
148ms systemd-udev-trigger.service
100ms NetworkManager.service
99ms user@1000.service
95ms systemd-udevd.service
94ms upower.service
84ms systemd-journald.service
84ms avahi-daemon.service
76ms modprobe@drm.service
68ms systemd-logind.service
64ms systemd-tmpfiles-clean.service
57ms systemd-fsck@dev-disk-by\x2duuid-C61B\x2d2608.service
35ms systemd-tmpfiles-setup-dev.service
35ms systemd-modules-load.service
32ms modprobe@fuse.service
30ms ufw.service
25ms systemd-tmpfiles-setup.service
22ms bluetooth.service
21ms swapfile.swap
21ms maia-console@tty1.service
17ms wpa_supplicant.service
17ms tmp.mount
16ms systemd-remount-fs.service
15ms dev-hugepages.mount
15ms dev-mqueue.mount
14ms sys-fs-fuse-connections.mount
14ms sys-kernel-debug.mount
13ms sys-kernel-tracing.mount
11ms alsa-restore.service
11ms kmod-static-nodes.service
11ms lightdm.service
10ms modprobe@configfs.service
10ms systemd-update-utmp.service
9ms systemd-sysctl.service
9ms user-runtime-dir@1000.service
8ms systemd-journal-flush.service
7ms systemd-user-sessions.service
3ms polkit.service
3ms sys-kernel-config.mount
inxi -Fzy
System:
Kernel: 5.10.42-1-MANJARO x86_64 bits: 64 Desktop: i3 4.19.1
Distro: Manjaro Linux
Machine:
Type: Laptop System: ASUSTeK product: X541UAK v: 1.0 serial: <filter>
Mobo: ASUSTeK model: X541UAK v: 1.0 serial: <filter>
UEFI: American Megatrends v: X541UAK.311 date: 03/14/2018
Battery:
ID-1: BAT0 charge: 25.1 Wh (100.0%) condition: 25.1/23.8 Wh (105.7%)
volts: 10.8 min: 10.8
CPU:
Info: Dual Core model: Intel Core i3-7100U bits: 64 type: MT MCP cache:
L2: 3 MiB
Speed: 704 MHz min/max: 400/2400 MHz Core speeds (MHz): 1: 704 2: 701 3: 703
4: 702
Graphics:
Device-1: Intel HD Graphics 620 driver: i915 v: kernel
Device-2: IMC Networks USB2.0 VGA UVC WebCam type: USB driver: uvcvideo
Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting
resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel HD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.1.2
Audio:
Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel
Sound Server-1: ALSA v: k5.10.42-1-MANJARO running: yes
Network:
Device-1: Realtek RTL810xE PCI Express Fast Ethernet driver: r8169
IF: enp2s0f2 state: down mac: <filter>
Device-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter
driver: ath9k
IF: wlp3s0 state: up mac: <filter>
Bluetooth:
Device-1: Lite-On type: USB driver: btusb
Report: rfkill ID: hci0 state: up address: see --recommends
Drives:
Local Storage: total: 223.57 GiB used: 12.58 GiB (5.6%)
ID-1: /dev/sda model: SATA SSD size: 223.57 GiB
Partition:
ID-1: / size: 120.48 GiB used: 12.56 GiB (10.4%) fs: ext4 dev: /dev/sda5
ID-2: /boot/efi size: 96 MiB used: 24.7 MiB (25.7%) fs: vfat dev: /dev/sda2
Swap:
ID-1: swap-1 type: file size: 6 GiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
System Temperatures: cpu: 49.0 C mobo: N/A
Fan Speeds (RPM): cpu: 2200
Info:
Processes: 153 Uptime: 20m Memory: 3.73 GiB used: 1.98 GiB (53.3%)
Shell: Bash inxi: 3.3.04
cat /etc/default/grub | head -n6
GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=hidden
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet apparmor=1 security=apparmor udev.log_priority=3"
GRUB_CMDLINE_LINUX=""
I have already disabled snapd, please help