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

[Xen-devel] vcpu/cpu


  • To: xendevel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: jd <jdsw2002@xxxxxxxxx>
  • Date: Sun, 8 Nov 2009 13:56:36 -0800 (PST)
  • Delivery-date: Sun, 08 Nov 2009 13:57:02 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=LStJyaFaLuZtOR2LakzOVDKJsoFzxOBlj5GBtTgRggIE/1GcjUCS7f5xRWJZRMfNehvWtdfUx3dlutXn8iyirHnrxaCUKGBsfxM4HACSA0PtYqLAr+fXyn/9gagJ+IETuL6s1C8Ql6o/Jp84QoMYegIi1hl2Sy288KgDlpd4kz8=;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

hey
    Wanted some clarification on the way xen schedules vcpus on physical cpus.

 - Lets assume there are 8 physical cpus.
 
   If I set vcpu = 2, for a VM, can it use more that 2 physical cpu time  ? i.e. does VM sees 2 more powerful processors ? Assuming that no-one else need it.

  From the explanation of credit scheduler on the wiki, it seems that the guest kernel would not schedule more that 2 units for work at a time (as it sees 2 cpus). So it looks like the max it can consume is 200%... or max 2 physical cpu time.

  Or the PV driver in the guest does better ?

  Is there any difference between the PV guest and HVM guest in this regard ?

  A related question is : Given the cpu utilization reported by xm top, can I infer cpu utilization within guest (reported by top, or task manager ?).

  Any significant changes in cpu scheduling approach between xen versions.. xen 3.1, 3.2, 3.3, 3.4 ?
 

Thanks.
/Jd
  

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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