My Fedora 44 boot optimization experience: ~39s to ~23s on a ThinkBook 16+ 2025

I recently noticed that Fedora 44 was taking quite a while to boot on my ThinkBook 16+ 2025 (Core Ultra 9 285H). After trying a few changes, I managed to reduce the boot time from around 39 seconds to 23 seconds.

Here’s a record of what I changed and how I investigated the delays.

Results

I made four main changes:

Change Purpose Measured improvement
Disabled PXE Boot in BIOS Disable unused network booting Loader: ~15s → 7s
Disabled the NFS client I don’t use NFS network shares graphical.target: ~12.1s → 9.4s
Disabled the Ethernet controller Reduce unnecessary network initialization delays graphical.target: ~9.4s → 7.6s
Changed GRUB to gfxterm Improve keyboard responsiveness in the boot menu Loader: ~5.4s → 3.6s

My latest result:

Startup finished in
7.268s (firmware) +
2.905s (loader) +
539ms (kernel) +
4.618s (initrd) +
7.474s (userspace)
= 22.806s

That’s approximately 16 seconds faster than the original 38.891 seconds.

Hardware and system

  • Laptop: Lenovo ThinkBook 16+ 2025
  • CPU: Intel Core Ultra 9 285H
  • OS: Fedora 44 Workstation (GNOME)
  • Dual boot: Windows 11 + Fedora
  • NVMe SSD

Troubleshooting

1. Finding where the boot time was spent

I started with:

systemd-analyze

The initial output was:

Startup finished in
6.969s (firmware) +
14.958s (loader) +
592ms (kernel) +
4.139s (initrd) +
12.231s (userspace)
= 38.891s

The stages roughly mean:

Stage Description
firmware BIOS/UEFI initialization
loader Bootloader, such as GRUB
kernel Linux kernel initialization
initrd Initial userspace and root filesystem preparation
userspace systemd services and other system components

The two longest stages were loader and userspace, so I focused on those.

2. Loader: Disabling PXE Boot

Initially, the loader stage took almost 15 seconds, even though my GRUB menu timeout was only 2 seconds.

I tried disabling PXE Boot in BIOS.

PXE (Preboot Execution Environment) allows a computer to boot over a network. It’s commonly used for enterprise OS deployment and network installation.

If you only boot from your local SSD, you probably don’t need it.

After disabling PXE:

6.775s (firmware) +
6.863s (loader) +
538ms (kernel) +
4.010s (initrd) +
12.461s (userspace)
= 30.650s

The loader time dropped from 14.958s to 6.863s, which was a pretty noticeable improvement.

3. Userspace: Checking NFS

Next, I looked into the userspace startup time.

I mainly used:

systemd-analyze blame
systemd-analyze critical-chain graphical.target
  • blame lists systemd units by their startup duration.
  • critical-chain shows the critical dependency chain leading to a target.

One thing worth noting is that a unit taking a long time in blame doesn’t necessarily mean it’s delaying the whole boot, since many services run in parallel.

While checking critical-chain, I noticed some NFS-related components:

remote-fs.target
remote-fs-pre.target
nfs-client.target
gssproxy.service

I checked their dependencies:

systemctl list-dependencies --reverse nfs-client.target
systemctl list-dependencies remote-fs.target --all

Then checked for NFS mounts:

findmnt -t nfs,nfs4
cat /etc/fstab

I couldn’t find any NFS mounts in use.

NFS is a network filesystem protocol commonly used between Linux/Unix systems. I only use SMB for network shares, so I don’t need the NFS client.

I tried disabling it:

sudo systemctl disable nfs-client.target

This was the only change between those two tests.

Afterward, the time to reach graphical.target decreased from 12.145s to 9.414s, an improvement of about 2.7 seconds.

4. Userspace: Network waiting

While continuing to examine critical-chain, I noticed that NetworkManager-wait-online.service was taking several seconds.

The relevant part looked like this:

graphical.target @9.381s
└─multi-user.target
  └─rsyslog.service
    └─network-online.target
      └─NetworkManager-wait-online.service
        @3.152s +6.185s

NetworkManager-wait-online.service waits for NetworkManager to finish its startup and connection activation process.

My laptop has an Ethernet controller that I almost never use, since I normally connect through Wi-Fi.

I wondered whether disabling it might help, so I disabled the Ethernet controller in BIOS.

After rebooting:

graphical.target @7.573s
└─multi-user.target
  └─rsyslog.service
    └─network-online.target
      └─NetworkManager-wait-online.service
        @4.222s +3.314s

The network waiting time decreased from 6.185s to 3.314s, and graphical.target was reached about 1.8 seconds earlier.

Of course, disabling Ethernet in BIOS also affects Windows, so this isn’t a good option if you regularly use wired networking.

5. GRUB: Changing the terminal output mode

My laptop also had a small issue where the GRUB menu would appear, but sometimes wouldn’t immediately respond to keyboard input.

I checked /etc/default/grub:

GRUB_TIMEOUT=1
GRUB_TERMINAL_OUTPUT="console"

The menu timeout was already just 1 second, so I didn’t try reducing it further.

After looking into similar issues, I tried changing console to gfxterm:

GRUB_TERMINAL_OUTPUT="gfxterm"

Then regenerated the GRUB configuration:

sudo grub2-mkconfig -o /boot/grub2/grub.cfg

After rebooting, the GRUB menu responded normally to keyboard input.

The loader time also decreased from 5.411s to 3.610s in those tests.

Full results

Here are the main measurements from systemd-analyze:

Configuration Firmware Loader Initrd Userspace Total
Initial 6.969s 14.958s 4.139s 12.231s 38.891s
PXE disabled 6.775s 6.863s 4.010s 12.461s 30.650s
NFS and Ethernet disabled 6.795s 5.411s 4.005s 8.192s 24.930s
GRUB changed to gfxterm 7.279s 3.610s 4.811s 7.457s 23.786s

The kernel column is omitted for brevity. These measurements were taken across different boots, so some variation is expected.

Another issue

Clash Verge Rev autostart problem

After optimizing the boot time, Clash Verge Rev occasionally reported that its system service was unavailable when starting automatically.

At first, I tried reinstalling the service through Clash Verge, but the issue sometimes came back after rebooting.

I checked the service status:

systemctl status clash-verge-service

The service was actually running.

Completely closing Clash Verge and reopening it fixed the problem. Disabling autostart and manually launching it after logging into GNOME also worked.

I suspected that the GUI might be starting too early, before the background service’s communication interface was ready.

So I added a 3-second delay to its GNOME autostart entry.

In the corresponding .desktop file under ~/.config/autostart/, I changed:

Exec=clash-verge %u

to:

Exec=sh -c "sleep 3; exec clash-verge"

Clash Verge Rev has been working normally with this delay so far.

Conclusion

I mainly used systemd-analyze to identify the slow boot stages, then tried disabling features I didn’t need and adjusting GRUB’s terminal output mode.

The boot time is now much better, and I’m happy with the result.

2 Likes