Posted: . At: 10:28 AM. This was 4 years ago. Post ID: 14341
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.


Nice way I sped up my Ubuntu system. This is better than CPU optimizations.


I have completely uninstalled the snapd service from my Ubuntu machine. This seems to have given me a faster system, Firefox loads faster and the boot is faster overall. The snapd service was taking 50 seconds to load upon booting, now that it is gone. it is a fair bit faster to boot.

I ran this command first. This erased the /var/cache/snapd folder.

sudo rm -rf /var/cache/snapd/

Then remove the snapd service and the gnome-software center plugin.

sudo apt autoremove --purge snapd gnome-software-plugin-snap

Once this is done, delete the snap folder in your home directory.

rm -fr ~/snap

This will remove a lot of packages from your system, it uninstalled a bunch of Linux kernel packages, but my system came straight back up after a reboot. It is a little faster to boot now, but it still needs work.

4.4 Tue May 26 jason@Yog-Sothoth 0: $ systemd-analyze blame
         46.167s docker.service
         41.865s mysql.service
         22.607s dev-mapper-fedora\x2droot.device
         20.227s systemd-journal-flush.service
         18.257s postfix@-.service
         16.723s NetworkManager-wait-online.service
         15.688s timidity.service
         13.230s tor@default.service
         12.788s networking.service
         12.206s apport-autoreport.service
         10.248s smbd.service
         10.112s nmbd.service
         10.068s apache2.service
          9.327s speech-dispatcher.service
          8.659s tor.service
          8.553s xrdp-sesman.service
          8.510s NetworkManager.service
          8.452s lm-sensors.service
          8.445s landscape-client.service
          8.431s networkd-dispatcher.service
          8.354s rsyslog.service
          8.313s pppd-dns.service
          7.764s apparmor.service
          7.431s libvirtd.service
          6.475s systemd-udevd.service
          5.718s systemd-logind.service
          4.885s accounts-daemon.service
          4.842s nftables.service
          3.907s xrdp.service
          3.703s wpa_supplicant.service
          3.687s grub-common.service
          3.626s ssh.service
          3.346s lvm2-monitor.service

But this is well worth trying anyway, this does give a faster boot if you have no intentions of using snap at all.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.