Skip to content

Instantly share code, notes, and snippets.

@colerd24
Last active October 24, 2019 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colerd24/eb6a6cc4426e941fd038189778e4bd10 to your computer and use it in GitHub Desktop.
Save colerd24/eb6a6cc4426e941fd038189778e4bd10 to your computer and use it in GitHub Desktop.
Diet Pi has some good information
https://docs.google.com/spreadsheets/d/1mDHGZC-H6tU6_O8kuLTG8d4A8Nt7lV1Q7MXTR_6qw30/edit#gid=0
Throttling:
Change soft and firm temperature limits? (soft limit will underclock, how much on CM3+? It is 1.4->1.2 on 3B+)
In config.txt
temp_limit=X (default 85C)
If overclocked, sets default clocks if value is exceeded
temp_soft_limit=X (default 60C)
Sets temp when clock is throttled if value is met, 1.4GHz to 1.2GHz on 3B+ (what does it do on CM3+?)
Is there a way to check to see how often the thermal throttle kicks in?
Possibly decrease on-demand CPU governor sampling rate
https://wiki.archlinux.org/index.php/CPU_frequency_scaling
Overclocking:
CM3 and CM3+ have same ARM core
CM3+ doesn't support overclocking due to Power management integrated circuit (PMIC) abilities
The non-CM board has better heatsinking due to PCB design, even clocking to 1.4GHz would be worse
Swap Files:
Decrease swapiness so that swaps occur less often (ideally never)
More swap is usually worse and could possibly do damage to SD card from frequent writes
Edit swap file size:
Open /etc/dphys-swapfile
Run sudo dphys-swapfile setup
Reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment