To activate it, type in terminal:

sudo apt-get install zram-config




Check
 
 Now check whether it works, with the following terminal command:
 cat /proc/swaps
 
 Press Enter.
 
 If all has gone well, you should receive a report about one or more /dev/zram "partitions". zRam is active then; no need for further action.



How to disable zRam again
1.3.1. When you want to disable and remove zRam again, it can't be done by the simple terminal command "apt-get remove". This is how you do it:
 
 a. Launch a terminal window.
 
 sudo apt-get purge zram-config
 
 Press Enter. Type your password when prompted; your password will remain entirely invisible, not even dots will show, this is normal.
 
 b. Reboot your computer.
 
 c. Now check whether the removal has succeeded, with the following terminal command:
 cat /proc/swaps
 
 Press Enter.
 If all has gone well, you should receive no report anymore about one or more /dev/zram "partitions".

Nguồn tham khảo: https://sites.google.com/site/easylinuxtipsproject/speed
Advertisements