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

Re: [Xen-devel] Supported #of CPUs/VMs per CPUs


  • To: whit <whitson22@xxxxxxxxxxx>
  • From: "George Dunlap " <dunlapg@xxxxxxxxx>
  • Date: Mon, 18 Sep 2006 09:40:14 -0400
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 18 Sep 2006 06:40:44 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Hj0YjJds2/1TIHL8wj+mTigdV1hBoKwUjHfM5I4roPMqKaxYROsMdAPOXqBWHBGZ97LZz1laaiy8/kkShsFmwMb7Bmoec5VNE9qI7ZuqGVuASpxWixwmbG2IZQI4AQ08DOWzOOA+JaZgjVMLGHNkxVU9cXh53UrY1aAqHydkhrQ=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 9/18/06, whit <whitson22@xxxxxxxxxxx> wrote:
1.  Maximum number of VMs is 32 per CPU
If above is true, how can domains/partitions can be unlimited.

#1 is not true.  What Keir said was that the number of Virtual CPUs
per domain was 16*.

(* Amending to 16 from 32)

There is no maximum number of domains per cpu.  The maximum number of
domains *per machine* (regardless of the # of CPUs) depends on the
amount of resources available, mainly memory.

As an analogy, consider how many processes can you have per CPU in
Linux.  Well, it depends on how much memory you have, but generally a
whole lot.  (My non-loaded laptop has 141 right now.)  I've never
tried to max out the numer if idle domains in Xen, but in general, the
answer is quite a bit.

The other important answer to the question, "How many domains can I
have running on one CPU" is "One at a time."  If you have 50 domains
not doing anything, you'll probably be fine.  If you have 50 domains
all trying to do I/O- and cpu-intensive workloads on a 1-cpu system,
your performance will be awful.

OTOH, if you have 4 single-vcpu domains doing cpu-intensive stuff on a
4-cpu box, your performance will be just fine.   If you have 4
single-vcpu domains doing cpu-intensive stuff on a 1-cpu box, your
performance won't be that great.  If you have 8 single-vcpu domains
moderately loaded, active about 40-50% of the time, on a 4-cpu box,
you should have decent performance too.

Does that make sense?

-George

_______________________________________________
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®.