xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: "Петухов Иван" <volverinpro@yandex.ru>
Cc: "xen-users@lists.xen.org" <xen-users@lists.xen.org>
Subject: Re: Xen, using PC processor
Date: Thu, 12 Sep 2013 18:40:27 +0200	[thread overview]
Message-ID: <1379004027.29937.12.camel@Solace> (raw)
In-Reply-To: <282941378961415@web13h.yandex.ru>


[-- 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

      reply	other threads:[~2013-09-12 16:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-12  4:50 Xen, using PC processor Петухов Иван
2013-09-12 16:40 ` Dario Faggioli [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1379004027.29937.12.camel@Solace \
    --to=dario.faggioli@citrix.com \
    --cc=volverinpro@yandex.ru \
    --cc=xen-users@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).