XPost: alt.os.linux, alt.os.linux.ubuntu
On a sunny day (Sun, 24 Apr 2022 16:23:35 -0000 (UTC)) it happened NewsKrawler <
[email protected]> wrote in <t43ti6$3i5rb$
[email protected]>:
However the full desktop environment is quite a lot for the Pi to handle. Up >until now, we've recommended users stick to models with either 4GB or 8GB of >RAM to be confident that it will perform well. One of our goals for the >upcoming Ubuntu 22.04 LTS release is to lower that barrier to entry. This >means targeting a viable Desktop experience on Raspberry Pi 4 2GB models.
The secret to this optimisation is a Linux kernel feature called zswap.
Not sure it make much difference, my Oi4 4GB does not use any swap
raspi95: /mnt/sda2/security/video # vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
0 0 0 2429192 7164 1098336 0 0 0 5 3 3 10 4 85 1 0
it runs 6 security cameras, and chromium occasionally
it also records other data 24/ radiation. air traffic, wether data etc. raspi95: /mnt/sda2/security/video # uptime
18:30:23 up 21 days, 10:40, 15 users, load average: 0.27, 0.72, 0.87
in alu housing with fan:
raspi95: /mnt/sda2/security/video # temperature
temp=45.0'C
Maybe no swap because I limit cache in crontab like this:
# clear cache every 15 minutes to prevent swap space usage and swap partition overflow due to too little free memory left
0,15,30,45 * * * * /bin/echo 3 > /proc/sys/vm/drop_caches
what does Ubuntu have that raspian does not have?
I also have a Pi4 8GB mostly used for Chromium web browsing an coding applications.
raspi99: ~ # vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
0 0 1024 3463372 163740 4163576 0 0 2 0 3 5 7 3 89 1 0
Here swap is used as I do not do the cache limiting thing.
raspi99: ~ # uptime
18:39:44 up 21 days, 4:24, 11 users, load average: 0.89, 1.09, 1.25
raspi99: ~ # temperature
temp=68.6'C
original plastic housing, also runs pimoroni FLIR stuff.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)