adolfotregosa Posted November 14, 2018 Share Posted November 14, 2018 Hi! I'm really sorry to bother you guys but I'm hopping someone could help me on this. How can I automagically make my VMs "qemu-system" process start always with my set priority, like realtime priority ?? I always have to do this on the terminal sysctl -w kernel.sched_rt_runtime_us=-1 , after a server reboot and then chrt -f -p 99 $QEMUPID after I start my VM. Any way this could be more manegable ?? I have attached a print showing why I want this and I know why the latency is that bad, I'm provoking it, but I would still like to be able to do it. Thank you very much. Quote Link to comment
Jerky_san Posted November 14, 2018 Share Posted November 14, 2018 (edited) Renice -20 -p The -20 is the highest priority possible. After -p is process id. It's what I do but others might know better Edited November 14, 2018 by Jerky_san Quote Link to comment
adolfotregosa Posted November 14, 2018 Author Share Posted November 14, 2018 For me adjusting the niceness does nothing, only chrt. I'm looking for an automatic way of doing it. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.