Other startup optimizations
Other startup optimizations
Systemd offers fast boot times, but you can optimize it further with the following steps:
- Consider disabling SELinux by adding selinux=0 on the kernel command-line. Note that experienced sysadmins recommend leaving SElinux on for security reasons.
- Bypass the initrd if you use one in your Linux system.
- Use Journal, the default logging tool in systemd, and consider uninstalling Syslog.
- Consider removing cron and use systemd timers instead.
- Use a modern desktop environment like GNOME 40.
- Check and disable any unnecessary boot processes or services.
- Please get rid of shell-based services like SysV init scripts and replace them with unit files.
Read on: How to manage systemd services at start-up.
Install preload to speed up application load time
Preload is a daemon to gather and analyze information about processes and services running on the system. It speeds up service load time by caching frequently used apps which improves the overall performance.
Run the following command to install Preload:
$ sudo apt-get install preload #Ubuntu
$ sudo dnf install preload #Fedora
Reboot your system to run Preload in the background and notice improvement load times of your frequently used application.