all from here (:
* PlayStation3
* * YDL v.6.1 or higher
* 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:
3. Enter the root password once prompted.
4. Change to the /etc/init.d directory:
5. Create the script by typing:
and enter the following and save and quit gedit...
6. Enter:
7. Type:
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:
2. You should see output similar to the following:
* PlayStation3
* * YDL v.6.1 or higher
* 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:
PHP Code:
cd /etc/init.d
5. Create the script by typing:
PHP Code:
gedit ps3-vram-swap
and enter the following and save and quit gedit...
PHP Code:
#! /bin/bash
#
# ps3-vram-swap Use vram for swap
#
# chkconfig: 345 99 99
# description: makes and enables vram swap on the PS3 platform
#
# Source function library.
. /etc/init.d/functions
#Check if we are a PS3
if `grep -q PS3 /proc/cpuinfo `; then
ISPS3=true
fi
###Check if swap is already made
# See how we were called.
case "$1" in
start)
if ${ISPS3}; then
mkswap /dev/mtdblock0
swapon -p1 /dev/mtdblock0
else
echo "This is only for PS3's and you do not appear to be running on a PS3"
fi
;;
stop)
swapoff /dev/mtdblock0
;;
status)
if `grep -q /dev/mtdblock0 /proc/swaps`; then
echo "vram swap is running"
else
echo "vram swap is stopped"
fi
;;
*)
echo $"Usage: $0 {start|stop|status}"
exit 1
esac
exit 0
6. Enter:
PHP Code:
chmod 755 ps3-vram-swap
7. Type:
PHP Code:
chkconfig --add ps3-vram-swap
chkconfig ps3-vram-swap on
service ps3-vram-swap start
Confirm that ps3vram is being used as Swap
1. From the command line, type:
PHP Code:
swapon -s
2. You should see output similar to the following:
PHP Code:
Filename Type Size Used Priority
/dev/ps3da3 partition 522104 145856 -1
/dev/mtdblock0 partition 241656 239624 1