While Ubuntu's default iso brings some gorgeous eye candy, it somehow hampers the boot performance and perhaps not the cup of tea for everyone as posted in earlier thread. So if you can waste little extra time configuring your machine, Follow this.
I use Unity. I use netboot install. There is a fantastic guide on wiki. You can follow that, at least for graphics, gvfs, network-manager, misc-utils part would be same for everyone. But if you want to install from regular iso that is also fine. You just need to disable few more services.
This is my systemd-analyze blame chart. My boot time is fast, within 30-35 sec.
Plymouth & Grub: If you don't need plymouth, remove quiet splash from grub. Now disable all plymouth related services with sudo service disable plymouth*.service.
(check it with systemctl list-units)
. You can also remove plymouth-theme-ubuntu-logo package. You can put back "quiet" later if you don't find any errors.
Lightdm still depends on plymouth package, so I can't remove Plymouth entirely. In that case leave plymouth-quit and plymouth read-write service as it is.
Disable apt-daily services: Remember to run sudo apt-get update
time to time.
sudo systemctl stop apt-daily.service
sudo systemctl disable apt-daily.service
sudo systemstl stop apt-daily-upgrade.timer
sudo systemctl stop apt-daily-upgrade.timer
sudo systemctl disable apt-daily-upgrade.timer
sudo systemctl stop apt-daily.timer
sudo systemctl disable apt-daily.timer
Disable networkd services: If you are not a system admin you don't need this. Gui uses network-manger (and it has it's own dispatcher) anyway.
sudo apt-get remove networkd-dispatcher
sudo systemctl stop systemd-networkd.service
sudo systemctl disable systemd-networkd.service
No SSD: If you don't have ssd you can disable this.
sudo systemctl stop e2scrub_all.timer
sudo systemctl disable e2scrub_all.timer
Motd-News:
sudo systemctl stop motd-news.timer
sudo systemctl disable motd-news.timer
No Journald but Syslog: Ubuntu has both journald and syslog. If yoy don't need journald logging (you can still view all logs with syslog and gnome-logs), edit
# edit /etc/systemd/journald.conf
[Journal]
Storage=none
& reboot. Remove gazzilion of logs from /var/log/syslog. And
sudo systemctl stop systemd-journal-flush.service
sudo systemctl disable systemd-journal-flush.service
Apport: If don't care about error reporting GUI of collecting crash data, remove the package. There are better ways to collect program crash. And most users do not need this.
No Gnome-Software/snapd but Synaptic: If you don't need gnome-software and use synaptic , then you can remove snapd and disable snapd related services in the same way and it will save some considerable amount of boot time.
Thermald (optional): It has issues with some laptops, and I don't use it. Just remove the package and reboot.
Brak komentarzy:
Prześlij komentarz