Hi everyone,
First at all, thank you for this project! It helped me a lot to setup in record time Moodle in my RPi.
I want to collaborate with my actual RPI02W configuration, which allows me to use Moodle on that device in a fluent way. Because, using the default system configuration Moodle isn't usable at all. Was quite slow to render everything and so.
You probably know that RPi02W uses the same CPU as RPI3 but limited on GHz, and so. Also the RAM is like the half of the RPI3. But that was solved 🙂 ...
Here goes my configuration in case someone wants to use Moodle fluently on the RPi02W:
( This also is a cheatsheet for the future in case I/You would needed )
config.txt
(In sort, here I overclocked the RPI02W; RAM frequency, CPU frequency, over voltage... Power 5V ≥ 2.4A)
# Automatically load overlays for detected cameras
camera_auto_detect=0
# Automatically load overlays for detected DSI displays
display_auto_detect=0
force_turbo=0
over_voltage=6
arm_freq=1300
avoid_pwm_pll=1
sdram_freq=550
sdram_schmoo=0x02000020
over_voltage_sdram_p=6
over_voltage_sdram_i=4
over_voltage_sdram_c=4
over_voltage_sdram=2
temp_limit=80
# Keeping low power consumption disabling the following
hdmi_blanking=2
dtparam=audio=off
dtoverlay=disable-bt
Then, we have only 512MB of ram. We can take the advantage of SWAP and "expand capacity" of RAM:
Tutorial
Then, swappiness.
sudo sysctl -w vm.swappiness=70
Check the RAM with this command:
free -h
Disable Bluetooth services:
sudo systemctl disable hciuart.service
sudo systemctl disable bluealsa.service
sudo systemctl disable bluetooth.service
Then on the system I disabled Access Point, due I'm connecting from internet to it:
sudo systemctl disable hostapd
I'm actually using this heat skin and I get about 40ºC idle, and 43ºC with 4 users.
Probably isn't that fast as RPI3 and RPI4, but does the job.
Hope it helps you.
Regards