Change qemu priority


Recommended Posts

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.

latency.JPG

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.