Created
November 4, 2014 06:22
-
-
Save arajkumar/81f9f4532e6189839e6d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ps -AL -o pid,tid,rtprio,comm | |
for i in `ps -AL | cut -d ' ' -f4`; do sudo chrt -r -p 95 $i; done | |
for i in `ps -L | cut -d ' ' -f4`; do sudo taskset -p 2 $i; done | |
sudo bash -c 'echo "0" >/sys/devices/system/cpu/cpu1/online' | |
sudo bash -c 'echo "-1"> /proc/sys/kernel/sched_rt_runtime_us' | |
funcion cr() { | |
sudo chrt -r -p 19 $$ | |
google-chrome --in-process-gpu --disable-extensions & | |
sudo chrt -r -p 95 $$ | |
} | |
sudo bash -c 'echo "1" >/sys/devices/system/cpu/cpu1/online' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment