Go Back   PS3Hax - Sony Fears Us > OtherOS Resources > Tutorials
Tutorials This is how we do it. We like to prove our work here.

Reply
 
LinkBack Thread Tools

Two PS3 Linux Performance Tweaks
  #1 (permalink)  
Old 01-18-2008, 10:39 PM
H.axen's Avatar
H.axen is offline
Administrator
PS3Hax Leader
 
Join Date: Apr 2007
Location: Inside a microchip
Posts: 2,196
Exclamation Two PS3 Linux Performance Tweaks

WARNING: I have tried both of these commands in YDL. The first one (sysctl ...) works perfectly. However, I do not recommend it because it reduces the amount of hard disk swap usage. This is fine for Linux systems that have RAM of 512 megs or better, but the PS3 has only 256 megs RAM available to it in Linux, so it needs to rely heavily on the hard drive swap file.

The other command (hdparm ...) does not exist in YDL, it is meant for Ubuntu users.


1. In YDL or Ubuntu, login as root and you can then run the command in a terminal window:
Code:
sysctl -w vm.swappiness=10
To make the change permanent, do the following:

If using Ubuntu, in the terminal type

Code:
sudo gedit /etc/sysctl.conf
(if you don't have gedit, type sudo apt-get install gedit, then perform the above step)

If using YDL, use either vi or nano to edit the sysctl.conf file in a terminal window.

In the sysctl.conf file, add this line at the bottom of the page:

vm.swappiness=10

Save your edits and exit the editor and the terminal window.

Congratulations! You just forced Linux to use the PS3's RAM more often instead of virtual RAM on the Hard Drive (known as swap file...it's 100 times slower than RAM access). Well, that's fine if you are running a really light distro and desktop manager such as XCFE, this might be a good mod. If you are running a resource heavy desktop manager and run a lot of concurrent apps, do not make this permanent.

2. This next trick also involves the use of a terminal window and only works in Ubuntu.

At the prompt, type:

Code:
sudo hdparm -C3 -A1 -a256 /dev/ps3da1
This is a combination of a few things that makes Linux a little more snappy in general.

Last edited by H.axen : 01-22-2008 at 12:10 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2 (permalink)  
Old 01-21-2008, 02:24 PM
gnosis's Avatar
gnosis is offline
PS3Hax Active Hacker
 
Join Date: Nov 2007
Posts: 16
Default

I don't think the above commands are written for YDL users.

Any update on applying these performance improvements under YDL?

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 01-21-2008, 03:07 PM
H.axen's Avatar
H.axen is offline
Administrator
PS3Hax Leader
 
Join Date: Apr 2007
Location: Inside a microchip
Posts: 2,196
Default

you can use vi or nano as a text editor from within a terminal window, or edit the sysctl.conf file within your desktop manager, just make sure you login as root.

I will try this tonight.
__________________
http://www.ps3gamercard.net/karta/haxen.png
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 01-22-2008, 01:40 AM
H.axen's Avatar
H.axen is offline
Administrator
PS3Hax Leader
 
Join Date: Apr 2007
Location: Inside a microchip
Posts: 2,196
Default

I tried both of these in YDL. See my WARNING edit to the first post.
__________________
http://www.ps3gamercard.net/karta/haxen.png
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 01-22-2008, 12:10 PM
gnosis's Avatar
gnosis is offline
PS3Hax Active Hacker
 
Join Date: Nov 2007
Posts: 16
Default

Thanks H.axen, I appreciate you looking into that

Oddly enough I didn't notice that sysctl worked in YDL. I did edit the sysctl.conf file while mucking around but glad to hear your views on the issue.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup your Blu-Ray Disc haxen PS3 & PS2 Games 11 11-03-2008 05:57 PM
How to Install Fedora Core 8 haxen Fedora Core 8 17 08-28-2008 09:50 AM
Installation Guide for Ubuntu on PS3 H.axen Ubuntu Linux 15 07-13-2008 09:49 PM
How to Install Gentoo Linux haxen Gentoo Linux 40 09-09-2007 09:38 AM
Linux Experts please..... (PS3 Linux and ALSA) asong26 General Messages 0 01-20-2007 08:13 PM



All times are GMT -5. The time now is 12:26 PM.

vB skin by: eXtremepixels
Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
 SEO by 3.0.0
© PS3Hax.com 2007 & 2008