xboxscene.org forums

Author Topic: Two PS3 Linux Performance Tweaks  (Read 402 times)

PS3Scene

  • Archived User
  • Hero Member
  • *
  • Posts: 832
Two PS3 Linux Performance Tweaks
« on: January 18, 2008, 11:46:00 PM »

Two PS3 Linux Performance Tweaks
Posted by XanTium | 19-1-2008 1:10 EST

 
From pslegion.com:
Quote

First, bring up a terminal.
Applications > Accessories > Terminal

Then, in the window that comes up, type
sudo sysctl -w vm.swappiness=10

To make the change permanent, do the following:
in the terminal, type
sudo gedit /etc/sysctl.conf
(if you don't have gedit, type sudo apt-get install gedit, then perform the above step)

In the sysctl.conf file, add this line at the bottom of the page:
vm.swappiness=10

Afterwards, either click File > Save
Or just click the Save icon.
Close the window afterwards.

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).

Full Story: pslegion.com (check here for 2nd tweak)



Logged

stevenalvarado

  • Archived User
  • Full Member
  • *
  • Posts: 232
Two PS3 Linux Performance Tweaks
« Reply #1 on: January 19, 2008, 12:30:00 PM »

I´m sorry but that´s difficult to even guess that´s the way it should be made.

Why linux is so hard to use?
Logged

throwingks

  • Archived User
  • Hero Member
  • *
  • Posts: 2690
Two PS3 Linux Performance Tweaks
« Reply #2 on: January 19, 2008, 04:44:00 PM »

There is no need for gedit. You can just echo the command in.

This post has been edited by throwingks: Jan 20 2008, 01:27 AM
Logged

d-range

  • Archived User
  • Full Member
  • *
  • Posts: 151
Two PS3 Linux Performance Tweaks
« Reply #3 on: January 20, 2008, 09:55:00 AM »

Why would you want to spoil your precious 256MB RAM on swap space? If you have a task that doesn't fit in main memory, causing parts of it to be swapped out, this is not going to improve that, it might actually make make things worse. And if you have only tasks that *do* fit in main memory, then swapping will not be the main performance bottleneck anyway.
Logged