Post4VPS Forum | Free VPS Provider
INCREASE YOUR SYSTEM RAM INSTANTLY. - Printable Version

+- Post4VPS Forum | Free VPS Provider (https://post4vps.com)
+-- Forum: VPS Discussion (https://post4vps.com/Forum-VPS-Discussion)
+--- Forum: Tutorials (https://post4vps.com/Forum-Tutorials)
+--- Thread: INCREASE YOUR SYSTEM RAM INSTANTLY. (/Thread-INCREASE-YOUR-SYSTEM-RAM-INSTANTLY)



INCREASE YOUR SYSTEM RAM INSTANTLY. - sagher - 02-04-2017

This is not a exact replacement of RAM but a SWAP memory which share your RAM load. and it's effective. you can try this once. when the OS runs out of physical RAM it uses the ‘swap space’, which is like RAM but on a hard drive. And because it’s on a hard drive, it’s really really slow.
This quick hack uses a USB flash drive instead, which not only offsets the load on the hard drive, but also has speed advantages. One of my older systems ran up against the 2Gb RAM wall pretty quick. For less than $10, this takes away some of the hang ups it used to experience. 
Lets Start Tutorial now:  Grab a USB stick, make sure there’s nothing on it you need (as it will be deleted!), and follow these steps:
1- Plug it in. If it automounts, unmount it. 
2- Type:

Code:
sudo mkswap /dev/sdb1

(or whatever your device path is) 
3- Then type:

Code:
sudo swapon -p 32767 /dev/sdb1


(the 32767 makes it a higher priority and will thus be used before the hard drive swap drive).

To make sure everything went well, type:


Code:
cat /proc/swaps


If you need to take the stick out, type:


Code:
sudo swapoff /dev/sdb1


Since I’ll be leaving this in the back of my desktop, first I got the UUID of the drive by typing:


Code:
ls -l /dev/disk/by-uuid/


And then I added the following line to my
/etc/fstab to have it automount as swap:


Code:
UUID=35e61737-7418-4a6a-9d00-9ee18efc6832 none swap sw,pri=32767 0 0


It’s obviously not as fast as physical RAM, but it’s a cheap and quick way to get a performance boost.

Thank you
Need Your Positive Response.


RE: INCREASE YOUR SYSTEM RAM INSTANTLY. - humanpuff69 - 04-24-2017

this is just readyboost for linux . nothing more

your flash drive will die faster if you use it as swap or readyboost


RE: INCREASE YOUR SYSTEM RAM INSTANTLY. - sagher - 04-25-2017

Mostly those kind of memory boosts are just for a small time like . if you need to work on high graphics and u want to boost your ram to render any image or any other work which makes your PC slower when you work on it. just use it as a backup. but you don't use it on Servers. and heavy machines which 24/7 on.


RE: INCREASE YOUR SYSTEM RAM INSTANTLY. - Honey - 04-30-2017

aren't swap memories almost given by all providers everytime and they are configured to use swap when memory runs out.

nontheless, good job.