* Re: Xen, using PC processor
2013-09-12 4:50 Xen, using PC processor Петухов Иван
@ 2013-09-12 16:40 ` Dario Faggioli
0 siblings, 0 replies; 2+ messages in thread
From: Dario Faggioli @ 2013-09-12 16:40 UTC (permalink / raw)
To: Петухов Иван
Cc: xen-users@lists.xen.org
[-- Attachment #1.1: Type: text/plain, Size: 1716 bytes --]
[conversation moved to the xen-users mailing list, as that is where it
belongs. In this message, xen-devel is in Bcc]
On gio, 2013-09-12 at 08:50 +0400, Петухов Иван wrote:
> Hello. Please, Can yuo help me.
>
Hello,
> If we have PC for example Core 2 duo(one processor with two core). Could i make guest OS on Xen(example Centos) who's using only one core from this processor?
>
I'm not 100% sure I understand what you mean. If you are asking whether
you can get Xen running on a dual core machine and then have a guest
with just one virtual cpu, the answer is yes.
If you (also) mean that you want the one vcpu of such guest to be the
only thing that runs on one of the physical cores, the answer is again
yes.
From this respect, Xen sees a core, or even a hypertrhead, as a
processor, not much differently than a single core non-hyperthreaded
cpu, so you can "assign" stuff to those pretty much in he way you
prefer. Then there are differences, when it comes to the internal
implementation and behavior of the Xen scheduler, but that's a different
story.
In order to make the above happen, you should look at how vcpu to (p)cpu
pinning works.
This wiki page, for instance, contains some info about that.
http://wiki.xen.org/wiki/Tuning_Xen_for_Performance
If it was something else than the above you were after, I'm afraid you
have to try stating it a little more clear.
Regards,
Dario
--
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread