Linux Lite Forums

Software - Support => Other => Topic started by: ohjrson on April 13, 2015, 03:52:12 PM

Title: Using USB stick like extra memory
Post by: ohjrson on April 13, 2015, 03:52:12 PM
Ok Peeps,
I know that this is a feature that windows has where you can insert a USB stick and it will ask you if you want to use it to speed up your computer or if you want to import pics etc... I am wondering if Beryl (Linux Lite) can do that too.

Reason I am asking is that I have this Dell Optiplex that only has 1 gig of memory installed and it is sorta slow, Yes I know I can put in an additional 7 gigs of memory and it would fly then, but I cannot afford that and was wondering if there is a way to increase that or whatever. Any additional suggestions would be great. Thanks.

Comp specs- Optiplex 755 Dual processors @ 2.0 Gig with 972 mb of mem available after display usage.
Title: Re: Using USB stick like extra memory
Post by: avj on April 13, 2015, 06:15:31 PM
I don't know if this works but it might be what you are looking for.
Title: Re: Using USB stick like extra memory
Post by: Deadheadjoe on April 14, 2015, 08:10:31 AM
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

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.
Title: Re: Using USB stick like extra memory
Post by: avj on April 14, 2015, 11:42:33 AM
Changing the swappiness settings on low resource systems to a lower number can actually reduce performance. You might want to research swappiness before attempting to change the settings.