sábado, 11 de julho de 2015

How to Increase RAM available to Raspberry Pi CPU or GPU


Raspberry Pi 2 has 1,024MB RAM that is partitioned between the CPU and the GPU. If the Pi is working as a headless server or the Pi desktop is being accessed via VNC (which doesn't utilize the GPU) the memory split between the two processors can be altered to assign more memory to the CPU for running applications.
  • Default GPU memory on Raspbian is set to 64MB and the minimum recommended to ensure proper operation is 16MB.
  • Pi Camera Module requires a minimum of 128MB RAM.
  • Kodi Media center requires a minimum of 256MB RAM for the GPU, to avoid choppy video playback.
To modify GPU memory to 256MB either:
  1. edit /boot/config.txt and set gpu_mem=256;
    or
  2. run sudo raspi-config and select option 8 Advanced Options -> A3 Memory Split and modify value to 256
Save the change, reboot the Pi, and enjoy the CPU memory boost!

Nenhum comentário:

Postar um comentário