1.) Install Preload from the Software Center. If it’s not there then open terminal.
sudo apt-get install preload
2.) Change Swappiness Value. Open terminal
sudo gedit /etc/sysctl.conf
A popup window will appear. It looks like a text editor. Scroll all the way to the bottom of that page and past this code.
# Decrease swappiness value
After you past the code below click Save and then close.
Restart your computer.
3.) Overclock Overclocking. This will speed up your PC, but your battery will drain faster and your PC will run hotter. (Not in a sexy way L.O.L) Open terminal and type.
sudo apt-get install indicator-cpufreq
After you done you will notice a new indicator on the top of your screen. Click it to toggle from Performance to Power saver.