How to accelerate opening an application

I want to be able to open an app faster than the normal time it takes to open it. What kind of script of changes do I have to do to make it so that when the app starts to open it receives more priority in CPU and more resources to help open it quicker.


Try preload and zram.

preload

Preload applications in memory - the next time you run the same app it'll open faster:

sudo apt-get install preload

zram

Compressed swap in ram - zram: http://www.webupd8.org/2011/10/increased-performance-in-linux-with.html

sudo add-apt-repository ppa:shnatsel/zram
sudo apt-get update
sudo apt-get install zramswap-enabler

..and restart your computer.


You may want to have a look at Preload. This is a daemon that will pay attention to what applications you use most frequently and load them into memory at startup, which can greatly improve load times. You can install it from the archives.