Author Topic: increase memory availability  (Read 640 times)

benh

  • Newbie
  • *
  • Posts: 37
    • View Profile
increase memory availability
« on: November 08, 2021, 06:55:51 PM »
So I did a quick experiment... it appears that by default, the RPi3 bootloader reserves 64MB for the GPU.

If like me (and probably most pi-stomp users), you don't use HDMI, this is a waste. Adding this to config.txt:

Code: [Select]
gpu_mem=16
Brings it down to 16MB and thus frees an extra 48MB of memory for use by pi-stomp. We aren't running short
today with typical pedal boards but the more the kernel has, the less it's likely to do weird things in the back
ground to reclaim some which tend to result in extra latencies.

Randall, is this something we should add to config.txt in the setup scripts ?

Randall (Admin)

  • Administrator
  • Full Member
  • *****
  • Posts: 221
    • View Profile
Re: increase memory availability
« Reply #1 on: December 08, 2021, 01:30:02 PM »
Nice catch.  Yeah, filed an issue for it:
https://github.com/TreeFallSound/pi-stomp/issues/30