Setting up the Raspberry Pi for Pd (1) – allocate more RAM to CPU

Edit : this is an old post, and recent changes in the Raspberry Pi design (more RAM in Revision 2) and improvements in how Pd runs in Raspbian make it obsolete. Please read newer posts in the Raspberry Pi category.

I recently found out that it was possible to change the share of RAM allocated to the CPU (the chip that does 100% of the audio calculation in Pure Data, if I’m not mistaken).

By default the CPU is allocated 192 Mb of RAM, and the remaining 64 is allocated to the GPU (the chip that does all the graphical work). If you plan on using Pd on a headless Raspberry Pi (see my previous post on this topic), you won’t need no display, hence no graphics, and you can allocate more RAM to do the audio job.

To do this, enter your login and password at start up when the command prompt shows up (“pi” and “raspberry” if you haven’t changed them yet), and type :

sudo raspi-config (more info on this command here)

This will open a graphical user interface to help you configure your machine. Use the arrow keys to scroll down to “memory split”, and hit enter. Then select the line that gives 224 MB to the CPU (it should be the first), and use the left or right arrow key to highlight the “OK” button. Hit enter. You need to reboot in order for the changes to apply (you can just unplug and replug your Raspberry Pi).

About these ads
This entry was posted in Software and tagged , , . Bookmark the permalink.

4 Responses to Setting up the Raspberry Pi for Pd (1) – allocate more RAM to CPU

  1. Bosstiger says:

    Reblogged this on Gigable – Tech Blog.

  2. Pingback: Raspberry Pi becomes a guitar effects processor

  3. Pingback: Raspberry Pi becomes a guitar effects processor | Daily IT News on it news..it news..

  4. Pingback: Raspberry Pi ทำเอฟเฟคกีต้าร์ | Raspberry Pi Thailand

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s