I am dealing with a Dell Optiplex 9020 All-In-One from 2012, equipped with a SATA-interfaced HDD just as old, 12 GB of RAM, no GPU, and a touch-enabled monitor. I am running Pop!_OS 22.04 on it, with systemd as my init system and KDE as my desktop environment.
Boot times are really slow, and opening applications immediately after boot is slow as well.
➜ ~ sudo systemd-analyze Startup finished in 12.022s (kernel) + 1min 6.588s (userspace) = 1min 18.610s graphical.target reached after 1min 5.830s in userspace
systemd-analyze blame, and
systemd-analze critical-chain are here
I suspected the reason for this was the old spinning hard drive and ran various diagnostic tests. SMART told me the drive is in perfect health, and Dell's BIOS diagnostics concurred.
Is it a fixable issue with the boot process, or do I go ahead and replace the drive?