[Users] HELP:How can one VM interrupt another running VM ??

Daniel Pittman daniel at rimspace.net
Tue May 3 16:12:06 EDT 2011


On Tue, May 3, 2011 at 12:58, shule ney <neyshule at gmail.com> wrote:

> I was wondering how can I use one VM to interrupt another running VM, is
> there any schedular surpport this function, or any control I can use
> to implement it. For OpenVZ, is it possible to achieve this?

Not as such, no, but: OpenVZ has a single scheduler across all threads
/ processes in all VEs.  So, if you imagine the scheduler as working
on a single system with all those tasks the normal rules of process
scheduling apply.

Which means that if you set your higher priority stuff to a high nice
level, or real-time priority, it will take precedence over another VE
that runs lower priority stuff.

Finally, if you assign appropriate CPU shares to the VEs you can
ensure that they will get all the time divided appropriately at a high
level.

Regards,
    Daniel

PS: Native Linux doesn't support this either. :)

-- 
⎋ Puppet Labs Developer – http://puppetlabs.com
✉ Daniel Pittman <daniel at rimspace.net>
✆ Contact me via gtalk, email, or phone: +1 (503) 893-2285
♲ Made with 100 percent post-consumer electrons



More information about the Users mailing list