Yellow Dog Linux v6.x

TOPIC: Using ps3vram as swap



Required Hardware and OS Versions
  • PlayStation3
  • YDL v.6.1 or higher - Note that this feature is not available in the second distribution ISO (the one with 'NEW' in the ISO name).
  • GameOS 2.52 or higher
Configuring ps3vram as swap

The kernel used in YDL v.6.1 has ps3vram enabled by default. This is a way of using excess framebuffer memory as a fast drive. You may want to use this excess memory for swap.

Download and run our script to use vram as swap on the PS3.
  1. Open a terminal window.
  2. Switch to user root:
    su -
  3. Enter the root password once prompted.
  4. Change to the /etc/init.d directory:
    cd /etc/init.d
  5. Download the script by typing:
    wget http://us.fixstars.com/support/solutions/ydl_6.x/ps3-vram-swap
  6. Enter:
    chmod 755 ps3-vram-swap
  7. Type:
    chkconfig --add ps3-vram-swap
    chkconfig ps3-vram-swap on
    service ps3-vram-swap start
  8. Click the X in the top right-hand corner of the terminal to close the window.
Confirm that ps3vram is being used as Swap
  1. From the command line, type:
    swapon -s
  2. You should see output similar to the following:
    Filename Type Size Used Priority 
    /dev/ps3da3 partition 522104 12196 -1 
    /dev/mtdblock0 partition 241656 0 1 


This HOWTO was prepared by Community Members.



 
          Copyright ® 1999-2010. Fixstars Corporation. All rights reserved.
YDL.net Fixstars Corporation