You don't need a GUI (??) on your Tor(ified) RaspberryPi

If you access to your RPi via console, and you don't need X, this is already a good reason to remove Gnome on your Centos system.

But, there is another reason why: have you ever tried to analyze how much memory is eating the gnome-shell ?

Well...


VERIFY CPU/MEMORY/SWAP USAGE

[root@jolek78-rpi3 bin]# lscpu Architecture: armv7l Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 Model: 4 Model name: ARMv7 Processor rev 4 (v7l) CPU max MHz: 1200.0000 CPU min MHz: 600.0000 BogoMIPS: 38.40 Flags: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32

[root@jolek78-rpi3 bin]# sar -r 4 2 Linux 4.14.127-v7.1.el7 (jolek78-rpi3) 07/16/2019 armv7l (4 CPU) 03:48:19 PM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [...] Average: 52250 897162 94.50 65892 379876 3550156 184.54 388690 351148 0

[root@jolek78-rpi3 bin]# sar -S 4 2 Linux 4.14.127-v7.1.el7 (jolek78-rpi3) 07/16/2019 armv7l (4 CPU) 03:48:33 PM kbswpfree kbswpused %swpused kbswpcad %swpcad [...] Average: 816204 158208 16.24 17052 10.78

[root@jolek78-rpi3 bin]# sar 4 2 Linux 4.14.127-v7.1.el7 (jolek78-rpi3) 07/16/2019 armv7l (4 CPU) 03:48:58 PM CPU %user %nice %system %iowait %steal %idle [...] Average: all 4.36 0.00 2.87 0.00 0.00 92.77


INSTALL PS_MEM

[root@jolek78-rpi3 bin]# sudo pip install ps_mem [...] Installing collected packages: ps-mem Running setup.py install for ps-mem ... done Successfully installed ps-mem-3.12

[root@jolek78-rpi3 bin]# ps_mem [....] 4.1 MiB + 114.5 KiB = 4.2 MiB systemd 4.2 MiB + 968.5 KiB = 5.2 MiB tracker-store 4.4 MiB + 1.8 MiB = 6.2 MiB tracker-extract 7.4 MiB + 123.5 KiB = 7.5 MiB polkitd 9.9 MiB + 584.5 KiB = 10.4 MiB nyx 8.2 MiB + 2.3 MiB = 10.5 MiB gnome-terminal-server 11.0 MiB + 159.5 KiB = 11.2 MiB unbound 14.4 MiB + 930.5 KiB = 15.3 MiB firewalld 20.1 MiB + 1.8 MiB = 21.9 MiB Xorg 101.3 MiB + 2.0 MiB = 103.3 MiB gnome-shell 117.2 MiB + 581.5 KiB = 117.8 MiB tor 393.2 MiB <<<<<<<<<<<<<< =================================


REMOVE GNOME

[root@jolek78-rpi3 ~]# yum remove gnome-shell [....] Removed: gnome-shell.armv7hl 0:3.28.3-6.el7

Dependency Removed: gdm.armv7hl 1:3.28.2-12.el7_6.1
gnome-classic-session.noarch 0:3.28.1-5.el7.1 gnome-initial-setup.armv7hl 0:3.28.0-1.el7 gnome-shell-extension-alternate-tab.noarch 0:3.28.1-5.el7.1 gnome-shell-extension-apps-menu.noarch 0:3.28.1-5.el7.1 gnome-shell-extension-common.noarch 0:3.28.1-5.el7.1 gnome-shell-extension-launch-new-instance.noarch 0:3.28.1-5.el7.1 gnome-shell-extension-places-menu.noarch 0:3.28.1-5.el7.1 gnome-shell-extension-top-icons.noarch 0:3.28.1-5.el7.1 gnome-shell-extension-user-theme.noarch 0:3.28.1-5.el7.1 gnome-shell-extension-window-list.noarch 0:3.28.1-5.el7.1 gnome-tweak-tool.noarch 0:3.28.1-2.el7.2
Complete!


VERIFY MEMORY USAGE

[root@jolek78-rpi3 bin]# ps_mem [....] 4.2 MiB + 128.5 KiB = 4.3 MiB systemd 7.9 MiB + 429.5 KiB = 8.3 MiB polkitd 11.0 MiB + 199.5 KiB = 11.2 MiB unbound 15.0 MiB + 1.0 MiB = 16.1 MiB firewalld 117.5 MiB + 749.5 KiB = 118.3 MiB tor 193.5 MiB <<<<<<<<<<<<<< =================================

[jolek78@jolek78-rpi3 ~]$ sar -r 4 4 Linux 4.14.127-v7.1.el7 (jolek78-rpi3) 16/07/19 armv7l (4 CPU) 16:05:38 kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [....] Average: 228918 720494 75.89 57800 429772 681248 35.41 400958 202836 9


Music: ‎Lyrics Of Life Artist: ‎Scream Inc || Album: Inception

— Jolek78