[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 15:58:49 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 16 Aug 2006 08:00:04 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcbBRHreuYXHWC03Edu/QAAKle7CWA==
  • Thread-topic: [Xen-devel] [PATCH 3/3] tools/xm-test: add cpus parm test in create bucket

On 16/8/06 3:49 pm, "Ryan Harper" <ryanh@xxxxxxxxxx> wrote:

>>> As long as the first cpu in the mask is available then the affinity
>>> settings will succeed.
>> 
>> Really? Xen itself doesn't have such a test (at least not any more) I
>> believe. Xen ANDs the mask with cpu_online_map and then complains if the
>> result is empty.
> 
> Ah, ok.  Then they've been working because of the size of the machine
> I'm on.  I'll change the test values such that I have a set for 2, 4,
> and 8 ensuring that each set doesn't use values that won't be
> available.  I can then run largest set that can run on the host.

Are you *sure* the tests don't just work as they are? I raised the issue as
a possible problem -- not because I'm certain it's a problem. As I said,
xend may hide from the user the details of what Xen does to the affinity
mask. So, have you tried running your new tests on a machine booted with the
nosmp parameter to Xen (not dom0 -- you want to boot with one physical cpu)?
If that doesn't work then, yes, it may need working around like you
describe.

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