|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] Question about reserving one CPU for the Xen hypervisor
> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Liang Yang
> Sent: 19 March 2007 21:56
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-devel] Question about reserving one CPU for the
> Xen hypervisor in case of vm exit.
>
> Hi,
>
> My platform has two dual-core processors with VT-x enabled.
> Suppose I use
> "xm vcpu-pin" command to set up a fixed mapping between each physical
> processor/core to virtual cpu (to avoid possible migration).
>
> I have three domains, one is dom0, the second is domUP and
> the third is
> domUF (HVM domain). I give each domain one CPU and reserve one for
> hypervisor. What I want to do is to always keep one CPU idle
> (reserving it
> for VMM), Xen hyperviso can thus always use this idle CPU
> whenever a "vm
> exit" happens and the guest HVM domain still has its own CPU
> to do some
> overlapping processing (to improve performance).
That will leave you with one CPU sitting there doing absolutely nothing,
as the VMEXIT handling is all done on the CPU that causes the VMEXIT in
the first place.
The same applies for hypercalls from the PV side. They all happen on the
same CPU that the guest is running on.
It's a good idea to allow Dom0 to have it's own CPU, but beyond that,
you're better off sharing the three CPU's between your two guests in one
way or another - obviously, you can't give one and a half CPU to a
guest, so you probably will have to give both guests two CPU's to make
efficient use of the system. Or give one CPU to one guest and two to the
other guest.
--
Mats
>
> Is this feasible?
>
> Thanks,
>
> Liang
>
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>
>
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- RE: [Xen-devel] Does Dom0 always get interrupts first before they are delivered to other guest domains?, (continued)
- [Xen-devel] Does Xen also plan to move the back-end driver to the stub domain for HVM?, Liang Yang
- RE: [Xen-devel] Does Xen also plan to move the back-end driver to the stub domain for HVM?, Petersson, Mats
- [Xen-devel] Re: Does Xen also plan to move the back-end driver to the stub domain for HVM?, Anthony Liguori
- Re: [Xen-devel] Re: Does Xen also plan to move the back-end driver to the stub domain for HVM?, Liang Yang
- Re: [Xen-devel] Re: Does Xen also plan to move the back-end driver to the stub domain for HVM?, Anthony Liguori
- [Xen-devel] Question about reserving one CPU for the Xen hypervisor in case of vm exit., Liang Yang
- RE: [Xen-devel] Question about reserving one CPU for the Xen hypervisor in case of vm exit.,
Petersson, Mats <=
- RE: [Xen-devel] Re: Does Xen also plan to move the back-end driver to the stub domain for HVM?, Petersson, Mats
- Re: [Xen-devel] Questions about device/event channels in Xen., Daniel Stodden
- [Xen-devel] RE: Questions about device/event channels in Xen., Petersson, Mats
- Re: [Xen-devel] More page-table questions., PUCCETTI Armand
- RE: [Xen-devel] More page-table questions., Petersson, Mats
- Re: [Xen-devel] More page-table questions., Mark Williamson
|
|
|
|
|