Answer the question
In order to leave comments, you need to log in
How to speed up linux boot?
system takes a long time to load. what services can be disabled?
and most importantly: how to speed up the loading of the KDE graphical shell?
googled this solution:
edit /etc/default/grub, find the LINUX line, and add noresume after quiet splash. It will look something like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash noresume"
Then save the file and run:
sudo update-grub
sudo gedit /etc/initramfs-tools/conf.d/resume
replace RESUME=UUID=xxx with RESUME=none if empty just add
sudo update-initramfs -u
reboot
[email protected]:~$ systemd-analyze
Startup finished in 3.483s (kernel) + 50.530s (userspace) = 54.013s
graphical.target reached after 50.521s in userspace
[email protected]:~$ systemd-analyze blame
19.654s systemd-journal-flush.service
13.742s ufw.service
13.378s keyboard-setup.service
12.198s mariadb.service
11.120s dev-sda6.device
11.058s networkd-dispatcher.service
9.436s NetworkManager.service
8.250s ModemManager.service
7.851s udisks2.service
5.820s thermald.service
5.776s wpa_supplicant.service
4.959s php7.2-fpm.service
4.355s systemd-resolved.service
3.637s apparmor.service
3.537s accounts-daemon.service
3.347s pppd-dns.service
3.303s gpu-manager.service
3.161s avahi-daemon.service
3.138s grub-common.service
2.761s nginx.service
2.464s packagekit.service
2.373s systemd-udevd.service
2.163s systemd-modules-load.service
2.073s lm-sensors.service
Answer the question
In order to leave comments, you need to log in
If your system is loading slowly, load it less often. I have a working computer only on updates and reboots ....
Disable unused services first. Do you really need mariadb, nginx, php-fpm? Here is an article to help - https://losst.ru/uskorenie-zagruzki-linux
19.654s systemd-journal-flush.service
20 seconds is dofiga, most likely you have greatly grown (it can take up to 4 gigabytes) the log file,
as an option , delete and set an acceptable limit
, and then sort it out in order and degree of need, UFW is a firewall, if you trust your local network and sit behind a router then, in principle, you can safely disable it or, as an option, postpone its loading, and so on
Here, to help you, you need to understand what kind of OS, Ubuntu or something else, and what kind of hardware, laptop or PC.
For example, on my old laptop, ubuntu crashed slowly for two reasons, and in general it worked slower due to the fact that there was a regular HDD, not an SSD, and because of the amd vidyuhi.
I installed an SSD, almost began to fly, but it happened on the chart that I was stupid, video, games.
On a new laptop, on an intel chip and with a built-in ssd, the laptop boots in 6 seconds. My computer is running slower.
Most likely you have a hardware problem.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question