[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Dedicated CPU/Guest

> Is it possible to dedicate a CPU to one Guest OS.
> For exemple, suppose that I have 4 xenolinux and 2 CPUs. Can I set CPU0 to
> xenolinux0 and CPU1 to 3 others?

Currently, domains get statically assigned in a round-robin
fashion to CPUs. It makes sense to add a dom0_op to enable a
domain to be pinned to a specified CPU -- I'll knock up a patch
for this.

In the future, we intend to load balance (non pinned) domains
between CPUs, but this isn't very high on our todo list.

[BTW: If you can't wait for my patch, then you can 'hack' it by
creating tiny domains 2 and 4 that you never start. You'll end up
with 0 on CPU 0 and 1,3,5 on CPU 1. ]


This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.