Slow Startup Time

Startup loading time takes a very long time and I already use SSD. These happen after I add an swap partition, Please help! .

inxi -Fxz

System: Kernel: 5.10.26-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 Desktop: GNOME 3.38.4 Distro: Manjaro Linux
base: Arch Linux
Machine: Type: Laptop System: Micro-Star product: PS42 Modern 8RA v: REV:1.0 serial:
Mobo: Micro-Star model: MS-14B3 v: REV:1.0 serial: UEFI: American Megatrends v: E14B3IMS.102
date: 01/25/2019
Battery: ID-1: BAT1 charge: 15.8 Wh (49.7%) condition: 31.8/50.0 Wh (63.6%) volts: 15.7 min: 15.2 model: BIF0_9
status: Charging
CPU: Info: Quad Core model: Intel Core i5-8265U bits: 64 type: MT MCP arch: Kaby Lake note: check rev: B cache:
L2: 6 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 28808
Speed: 2800 MHz min/max: 400/3900 MHz Core speeds (MHz): 1: 2800 2: 2800 3: 2800 4: 2801 5: 2800 6: 2800 7: 2799
8: 2801
Graphics: Device-1: Intel UHD Graphics 620 vendor: Micro-Star MSI driver: i915 v: kernel bus-ID: 00:02.0
Device-2: NVIDIA GP108M [GeForce MX250] vendor: Micro-Star MSI driver: nvidia v: 460.67 bus-ID: 01:00.0
Device-3: Acer HD Webcam type: USB driver: uvcvideo bus-ID: 1-7:6
Display: x11 server: X. org 1.20.10 driver: loaded: modesetting,nvidia unloaded: intel,nouveau
resolution: <missing: xdpyinfo>
OpenGL: renderer: Mesa Intel UHD Graphics 620 (WHL GT2) v: 4.6 Mesa 21.0.1 direct render: Yes
Audio: Device-1: Intel Cannon Point-LP High Definition Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
bus-ID: 00:1f.3
Sound Server-1: ALSA v: k5.10.26-1-MANJARO running: yes
Sound Server-2: JACK v: 0.125.0 running: no
Sound Server-3: PulseAudio v: 14.2 running: yes
Sound Server-4: PipeWire v: 0.3.24 running: yes
Network: Device-1: Intel Cannon Point-LP CNVi [Wireless-AC] driver: iwlwifi v: kernel port: 4000 bus-ID: 00:14.3
IF: wlo1 state: up mac:
Device-2: Realtek RTL8188EUS 802.11n Wireless Network Adapter type: USB driver: r8188eu bus-ID: 1-2:3
IF: wlp0s20f0u2 state: down mac:
Bluetooth: Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB driver: btusb v: 0.8 bus-ID: 1-10:7
Report: This feature requires one of these tools: hciconfig/bt-adapter
Drives: Local Storage: total: 476.94 GiB used: 45.64 GiB (9.6%)
ID-1: /dev/nvme0n1 vendor: Toshiba model: N/A size: 476.94 GiB temp: 47.9 C
Partition: ID-1: / size: 76.35 GiB used: 36.82 GiB (48.2%) fs: ext4 dev: /dev/nvme0n1p5
ID-2: /boot/efi size: 296 MiB used: 35.3 MiB (11.9%) fs: vfat dev: /dev/nvme0n1p1
Swap: ID-1: swap-1 type: partition size: 7.58 GiB used: 0 KiB (0.0%) dev: /dev/nvme0n1p6
Sensors: System Temperatures: cpu: 61.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info: Processes: 309 Uptime: 26m Memory: 7.62 GiB used: 3.14 GiB (41.2%) Init: systemd Compilers: gcc: 10.2.0
Packages: 1581 Shell: Zsh v: 5.8 inxi: 3.3.03


Startup finished in 8.004s (firmware) + 2.965s (loader) + 1.346s (kernel) + 2min 23.798s (userspace) = 2min 36.114s reached after 1min 38.050s in userspace

systemd-analyze blame

39.995s pkgfile-update.service
13.201s NetworkManager-wait-online.service
7.436s plymouth-quit-wait.service
1.336s systemd-random-seed.service
1.262s systemd-modules-load.service
867ms man-db.service
784ms var-lib-snapd-snap-easy\x2dopenvpn-5.mount
748ms var-lib-snapd-snap-gtk\x2dcommon\x2dthemes-1514.mount
743ms var-lib-snapd-snap-node-4150.mount
702ms var-lib-snapd-snap-hollywood-3.mount
696ms var-lib-snapd-snap-slack-38.mount
688ms var-lib-snapd-snap-core-10958.mount
655ms var-lib-snapd-snap-node-3790.mount
639ms var-lib-snapd-snap-code-60.mount
637ms var-lib-snapd-snap-code-61.mount
636ms var-lib-snapd-snap-core-10908.mount
632ms var-lib-snapd-snap-core18-1997.mount
629ms var-lib-snapd-snap-gnome\x2d3\x2d28\x2d1804-145.mount
614ms var-lib-snapd-snap-spotify-46.mount
572ms lvm2-monitor.service
571ms apparmor.service
456ms dev-nvme0n1p5.device
455ms systemd-swap.service
441ms tlp.service
350ms upower.service
250ms snapd.service
222ms snap.easy-openvpn.easy-openvpn.service
205ms dev-loop1.device
205ms dev-loop4.device
202ms dev-loop2.device
201ms dev-loop6.device
198ms dev-loop3.device
159ms dev-loop0.device
141ms dev-loop5.device
130ms systemd-udevd.service
125ms user@1000.service
118ms dev-loop7.device
117ms polkit.service
106ms systemd-udev-trigger.service
100ms systemd-tmpfiles-clean.service
95ms systemd-journal-flush.service
93ms systemd-journald.service
92ms boot-efi.mount
90ms systemd-logind.service
89ms dev-loop8.device
86ms dev-loop9.device
83ms udisks2.service
80ms snapd.apparmor.service
67ms logrotate.service
64ms mnt-Windows.mount
60ms bluetooth.service
58ms NetworkManager.service
57ms systemd-vconsole-setup.service
55ms ModemManager.service
53ms cups.service
48ms systemd-timesyncd.service

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. @1min 38.050s
└─ @1min 38.050s
└─plymouth-quit-wait.service @1min 30.613s +7.436s
└─systemd-user-sessions.service @1min 30.601s +10ms
└─ @1min 31.728s