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

Re: [Xen-devel] Host Numa informtion in dom0


  • From: Bruce Edge <bruce.edge@xxxxxxxxx>
  • Date: Wed, 26 May 2010 10:31:09 -0700
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 26 May 2010 10:31:55 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; b=w5OtKRi8GTNbFn1uHpz6Z+/hZlB+9oGMuqiCgdTzzvXXrtFpMiJogbEF/uvIOLsBT9 tQ0FnJ2hSY+C/bXNGkNQoUAP5iaRlfyZl1KH1l/dsq97+SpjUnJjskcYpf023GYliCX3 kGYgcoic1O0D9bLaLCz053UAeNxEgtv5G3sas=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

I'm getting a python traceback when I try to start a VM that I tracked
down (I think) to this patch:

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/xen/util/xmlrpclib2.py",
line 131, in _marshaled_dispatch
    response = self._dispatch(method, params)
  File "/usr/lib/python2.6/SimpleXMLRPCServer.py", line 418, in _dispatch
    return func(*params)
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/XMLRPCServer.py",
line 80, in domain_create
    info = XendDomain.instance().domain_create(config)
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py",
line 982, in domain_create
    dominfo = XendDomainInfo.create(config)
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py",
line 106, in create
    vm.start()
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py",
line 470, in start
    XendTask.log_progress(0, 30, self._constructDomain)
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendTask.py",
line 209, in log_progress
    retval = func(*args, **kwds)
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomainInfo.py",
line 2530, in _constructDomain
    balloon.free(16*1024, self) # 16MB should be plenty
  File "/usr/local/lib/python2.6/dist-packages/xen/xend/balloon.py",
line 187, in free
    nodenum = xc.numainfo()['cpu_to_node'][cpu]
KeyError: 'cpu_to_node'


release                : 2.6.32.12
version                : #1 SMP Wed May 5 21:52:23 PDT 2010
machine                : x86_64
nr_cpus                : 16
nr_nodes               : 2
cores_per_socket       : 4
threads_per_core       : 2
cpu_mhz                : 2533
hw_caps                :
bfebfbff:28100800:00000000:00001b40:009ce3bd:00000000:00000001:00000000
virt_caps              : hvm hvm_directio
total_memory           : 12277
free_memory            : 11629
free_cpus              : 0
xen_major              : 4
xen_minor              : 1
xen_extra              : -unstable
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : Sat May 22 06:36:41 2010 +0100 21446:93410e5e4ad8
xen_commandline        : dummy=dummy console=com1 115200,8n1
dom0_mem=512M dom0_max_vcpus=1 dom0_vcpus_pin=true
iommu=1,passthrough,no-intremap loglvl=all loglvl_guest=all loglevl=10
debug acpi=force apic=on apic_verbosity=verbose numa=on
cc_compiler            : gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)
cc_compile_by          : bedge
cc_compile_domain      :
cc_compile_date        : Tue May 25 14:51:02 PDT 2010
xend_config_format     : 4

-Bruce


On Fri, Jan 29, 2010 at 4:05 PM, Kamble, Nitin A
<nitin.a.kamble@xxxxxxxxx> wrote:
>
> Hi Keir,
>
>    Attached is the patch which exposes the host numa information to dom0. 
> With the patch “xm info” command now also gives the cpu topology & host numa 
> information. This will be later used to build guest numa support.
>
> The patch basically changes physinfo sysctl, and adds topology_info & 
> numa_info sysctls, and also changes the python & libxc code accordingly.
>
>
>
> Please apply.
>
>
>
> Thanks & Regards,
>
> Nitin
>
>
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>

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