Linux Lite A.I. Services are now live! https://www.linuxliteos.com/shop.html


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using USB stick like extra memory
#3
I don't know if this would help you any but it has speed up my computer a bit when I was using ubuntu
might be worth giving it a shot

Menu - Terminal
Type (use copy/paste to avoid errors):
cat /proc/sys/vm/swappiness

Press Enter.

The result will probably be 60.

b. Make sure that you have installed the applications gksu and leafpad:

Menu - Terminal

Type (use copy/paste to transport this magical incantation to the terminal):
sudo apt-get install gksu leafpad

Press Enter. When prompted, type your password. Your password will remain entirely invisible, not even dots will show, this is normal.
Press Enter again.

c. To change the swappiness into a more sensible setting, type in the terminal (use copy/paste):
gksudo leafpad /etc/sysctl.conf

Press Enter.

Scroll to the bottom of the text file and add your swappiness parameter to override the default. Copy/paste the following blue lines:
# Decrease swap usage to a more reasonable level
vm.swappiness=10

d. Save and close the text file. Then reboot your computer.

e. After the reboot, check the new swappiness value:
Menu - Terminal
Type (use copy/paste):
cat /proc/sys/vm/swappiness

Press Enter.

Now it should be 10.

Note: your machine might benefit from an even bigger decrease in swappiness. A useful rule of thumb might be this:
1 GB RAM or more: set swappiness to 10
Less than 1 GB RAM: set swappiness to 5

Evedently I miss read the forum I found this on and have been using it alot lol I want to say thanks to avj  for pointing it out that I probly been doing more harm then good.
Reply


Messages In This Thread
Using USB stick like extra memory - by ohjrson - 04-13-2015, 07:52 PM
Re: Using USB stick like extra memory - by avj - 04-13-2015, 10:15 PM
Re: Using USB stick like extra memory - by Deadheadjoe - 04-14-2015, 12:10 PM
Re: Using USB stick like extra memory - by avj - 04-14-2015, 03:42 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)