Mint 19(MATE) system stats before/after basic tweaks.

Chat about anything related to Linux Mint
Post Reply
LuvNix
Level 3
Level 3
Posts: 101
Joined: Wed Jan 02, 2019 4:50 pm

Mint 19(MATE) system stats before/after basic tweaks.

Post by LuvNix » Fri Jan 11, 2019 11:24 pm

What the title says, I'm just being a dork but this is the comparison of a fresh install of LM v 19 (Mate desktop, 64bit) just after it's been installed and dist-upgrade/d. Before and after uber basic tweakage applied to it. These basic tweaks include, I removed a bunch of panel launchers I don't want, the one for launching the terminal ( I can use the shortcut Alt + Ctrl + T to start the sucker.), the mintupdate thingy too, in the control center I disabled a bunch of programs that automatically start at boot up. Things I don't want/need or use. Again in control center, under Desktop settings, I removed the desktop icons ( as again ... I don't use or want them.)

So this is that fresh install with everything out-of-box and as it is after freshly installing this version of Mint and it also has the mate-terminal in which I ran the follow commands to gather system stats.
Out-of-Box state,

* dude101@mintbox:~$ free -m
total used free shared buff/cache available
Mem: 3906 384 3009 44 512 3262
Swap: 4099 0 4099

* dude101@mintbox:~$ systemd-analyze
Startup finished in 8.897s (kernel) + 28.308s (userspace) = 37.205s
graphical.target reached after 28.292s in userspace

* dude101@mintbox:~$ systemd-analyze blame
16.235s systemd-journal-flush.service
16.076s dev-sda7.device
13.300s lvm2-monitor.service
13.150s keyboard-setup.service
12.527s systemd-tmpfiles-setup-dev.service
9.765s systemd-sysctl.service
6.229s udisks2.service
4.338s NetworkManager.service
4.081s networkd-dispatcher.service
4.032s ubuntu-system-adjustments.service
3.275s systemd-modules-load.service
3.119s grub-common.service
2.003s lightdm.service
1.998s plymouth-quit-wait.service
1.906s thermald.service
1.666s ModemManager.service
1.507s accounts-daemon.service
1.401s apparmor.service
1.395s dns-clean.service
1.268s systemd-resolved.service
1.005s networking.service
795ms systemd-remount-fs.service
778ms speech-dispatcher.service

* dude101@mintbox:~ uptime
21:00:59 up 2 min, 1 user, load average: 0.93, 0.75, 0.31

* dude101@mintbox:~$ sensors
dell_smm-virtual-0
Adapter: Virtual device
Processor Fan: 3800 RPM
CPU: +49.0°C
Other: +47.0°C
Other: +49.0°C

acpitz-virtual-0
Adapter: Virtual device
temp1: +49.5°C (crit = +100.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0: +55.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +51.0°C (high = +100.0°C, crit = +100.0°C)
Again same exact stuff after some uber basic tweaks.

* dude101@mintbox:~$ free -m
total used free shared buff/cache available
Mem: 3906 332 3096 45 478 3315
Swap: 4099 0 4099

* dude101@mintbox:~$ systemd-analyze
Startup finished in 8.899s (kernel) + 26.608s (userspace) = 35.507s
graphical.target reached after 26.593s in userspace

* dude101@mintbox:~$ systemd-analyze blame
15.687s dev-sda7.device
14.407s lvm2-monitor.service
13.377s systemd-journal-flush.service
8.546s systemd-udevd.service
5.492s udisks2.service
4.142s systemd-tmpfiles-setup-dev.service
3.900s keyboard-setup.service
3.679s networkd-dispatcher.service
3.588s ubuntu-system-adjustments.service
3.346s NetworkManager.service
2.696s accounts-daemon.service
2.461s ModemManager.service
2.118s grub-common.service
1.866s networking.service
1.743s lightdm.service
1.730s plymouth-quit-wait.service
1.579s thermald.service
1.364s dns-clean.service
1.247s avahi-daemon.service
1.217s lm-sensors.service
1.184s apport.service
1.180s speech-dispatcher.service
1.179s gpu-manager.service

* dude101@mintbox:~$ uptime
21:05:55 up 1 min, 1 user, load average: 2.06, 0.83, 0.30

* dude101@mintbox:~$ sensors
dell_smm-virtual-0
Adapter: Virtual device
Processor Fan: 3800 RPM
CPU: +55.0°C
Other: +47.0°C
Other: +51.0°C

acpitz-virtual-0
Adapter: Virtual device
temp1: +55.5°C (crit = +100.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0: +60.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +57.0°C (high = +100.0°C, crit = +100.0°C)
Mentioned this is just dorking around, isn't a massive difference but clearly some. Shows 50+ megabytes of RAM saved and a couple of secs off what systemd is reporting in boot-time. I will of course do a TON of additional tweakage to the Mint operating system. This applies to MATE, will equally apply to other versions as this type of tweaking is pretty much universal. Even regardless of gnu/Linux Os-distro or for that matter any other platform ie: Windows version-xyz. In windows when you install software, sometimes it'll add itself to autostart. This of course adds time to the boot process and uses additional memory. Someone can of course install a startup-manager and disable the one's they don't need/want starting. Thus saving RAM/time.

PS, random junk about this. Now of course you may use and prefer other stuff( or even it could be something important so you don't want to prevent it from autostarting at boot.) I do all package management and updates via command line with CLI junk, as the gnu/Linux gods intend. :) Will set and use keyboard shortcuts to launch anything I choose (launch them in terminal or the run dialogue etc), so don't need the launchers on the desktop panel etc etc. Just wanted to post this for the heck of it.
Last edited by LuvNix on Sat Jan 12, 2019 2:27 am, edited 1 time in total.

LuvNix
Level 3
Level 3
Posts: 101
Joined: Wed Jan 02, 2019 4:50 pm

Re: Mint 19(MATE) system stats before/after basic tweaks.

Post by LuvNix » Sat Jan 12, 2019 2:15 am

Ok in the above, an out-of-box Mate install was using 384mbs-RAM right after boot-up and according to "free -m" and 37.205s according to systemd. After some basic tweakage, dropped to 332mbs-RAM and 35.507s boot-time.

And now, after just continuing on with said basic tweaks, again, got rid of launchers I don't want, the mintupdate one was already gone in the basic tweak above, this time around however I also got rid of the panel launcher for the browser and the file-manager = caja. As again .. I've got keyboard shortcuts to launch these, or can do so one of many other ways anyway.

In addition to this, am getting around to disabling or masking services in systemd with "systemctl" etc. So far only one's I've messed with are the bluetooth.service. This old laptop doesn't support BT anyway or cannot remember a time I ever needed bluetooth on my pc's, shrugs.

Also went ahead and masked the cups.service. This is used for printing in gnu/Linux, atm I don't do that or need it with how I use my comp's either so don't need them enabled, loading ... running etc.

At the moment this dorkish tweakage has got memory usage @ boot down to 291mbs-RAM and systemd is actually saying it's increased initial boot time to 39.040s. Having said that in regards this, I consider systemd to be fulla crap. :D

It's idea of how long to boot and my definition are totally different things. It reports some number x-time, I consider boot-time, the amount of time it takes to get to an actual working desktop. Meaning the time from when someone selects something in the grub(etc) boot menu and when you can actually do something like pop open a terminal window on the desktop.

No point in including all the output as was done above. Just bloats up the thread. Here you have it and I shall now continue dorking with this LM Mate install folks. :D I have not yet begun to DORK !!!! Overall happy ... saved 93mbs-RAM, actual boot-time isn't effected anyway. So yay, good enough for 10mins of tweaking.

Post Reply

Return to “Chat about Linux Mint”