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

Re: [Xen-devel] [PATCH 3/3] tools/xm-test: add cpus parm test in create bucket


  • To: Ryan Harper <ryanh@xxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Wed, 16 Aug 2006 10:11:24 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 16 Aug 2006 02:12:53 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcbBE/JIMNsHji0HEdubAgAKle7CWA==
  • Thread-topic: [Xen-devel] [PATCH 3/3] tools/xm-test: add cpus parm test in create bucket



On 14/8/06 6:37 pm, "Ryan Harper" <ryanh@xxxxxxxxxx> wrote:

>> Do these tests succeed even if, e.g. The test machine has only one CPU? Xen
>> will clip the cpumasks when it receives them (also it will fail the
>> set_affinity call if none of the specified CPUs are online) but this may not
>> matter if the affinity data is cached within xend and getVcpuInfo obtains
>> info from that cache.
> 
> Good question.  I'll check and resend this test with the smp level check
> so this test will be skipped if the host is not smp capable.

Either this test will work on UP just fine, so no need for any extra checks,
or it will need a more sophisticated check than SMP-vs-UP. What if you have
a quad test box (you refer to cpus up to 7)?

 -- Keir



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