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 applications in memory - the next time you run the same app it'll open faster:
Compressed swap in ram - zram: http://www.webupd8.org/2011/10/increased-performance-in-linux-with.html
..and restart your computer.
Crude answer till you get better ones:
gives the PID of the process
would increase the renice
you can put this in an infinite loop using
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.