Author Topic: Systemd Services  (Read 157 times)

Offline sotnas78

  • Newly Subscribed
  • *
  • Posts: 6
  • Karma: 3
  • New To PeppermintOS
    • View Profile
  • Peppermint version(s): Peppermint 10 Respin
Systemd Services
« on: July 04, 2020, 03:57:53 pm »
HI there. Recently I started disabling some systemd services at startup.

The reason for that (even though I may started from a wrong idea) was to reduce the amount of RAM needed at startup. And that came up because I was looking for data from an old hdd that I wanted to install with a Linux distro for my mother's cpu and I had Debian Squeeze in it with XFCE. The usage of RAM was of 117Mb. I had forgotten how frugal Linux and XFCE used to be in 32 bit OS.

Now, I've lowered a bit the usage of RAM after startup.

Also, I have a damn fast booting old cpu.

Quote
$ systemd-analyze && systemd-analyze blame
Startup finished in 4.150s (kernel) + 8.063s (userspace) = 12.213s
graphical.target reached after 8.043s in userspace
          5.948s nmbd.service
          1.845s dev-sda3.device
          1.827s mintsystem.service
          1.267s grub-common.service
           885ms systemd-journal-flush.service
           851ms udisks2.service
           733ms snapd.service
           728ms plymouth-quit-wait.service
           727ms lightdm.service
           722ms hddtemp.service
           359ms NetworkManager.service
           314ms accounts-daemon.service
           312ms keyboard-setup.service
           308ms upower.service
           269ms systemd-udev-trigger.service
           219ms swapfile.swap
           209ms systemd-journald.service
           196ms thermald.service
           190ms systemd-resolved.service
           188ms rpcbind.service
           180ms alsa-restore.service
           178ms apparmor.service
           166ms user@1000.service
           147ms systemd-logind.service
           139ms rsyslog.service
lines 1-25

In my quest for the leanest boot as posible, I'm asking you guys if there is any other service I won't need from the list above (do I really need snap? ).

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1242
  • Karma: 133
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Systemd Services
« Reply #1 on: July 04, 2020, 06:19:31 pm »
Hi sontas78, if you don't use snap packages then no you don't need it. You could also probably remove apparmor also. I'ld also look into the hdd temp service also. Have fun.
What was I thinking?

Offline rayzer

  • Trusted User
  • Member
  • *****
  • Posts: 385
  • Karma: 148
  • Graphics n Stuff
    • View Profile
  • Peppermint version(s): 10 Respin
Re: Systemd Services
« Reply #2 on: July 04, 2020, 06:24:35 pm »
For wallpapers ive made you can download them here

Offline sotnas78

  • Newly Subscribed
  • *
  • Posts: 6
  • Karma: 3
  • New To PeppermintOS
    • View Profile
  • Peppermint version(s): Peppermint 10 Respin
Re: Systemd Services
« Reply #3 on: July 06, 2020, 01:26:48 pm »
Hi sontas78, if you don't use snap packages then no you don't need it. You could also probably remove apparmor also. I'ld also look into the hdd temp service also. Have fun.

I still don't master the concept of snap packages. It seems to me they are some kind of sandboxes. Is this right?

apt-daily.service came up to life. I should mask it, shouldn't I?