WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] xm info/xm list mismatch (and negative memory)

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xm info/xm list mismatch (and negative memory)
From: Jeff Bachtel <jeff@xxxxxxxxxxx>
Date: Wed, 1 Nov 2006 20:51:01 -0600
Delivery-date: Thu, 02 Nov 2006 13:58:59 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.2i
I am seeing a mismatch between memory reported by xm list and xm info.
xm info's total_memory and free_memory are negative, while xm list's
value for dom0 is the total amount of free RAM on the box
(4GB-overhead).

I'm not particularly concerned about the negative values reported,
however I can only start a domU allocated less than 128M of RAM (I've
confirmed 124M works), which is less than ideal. It is apparently a
hugely negative info['scrub_memory'] values which is causing this
(xend/XendNode.py line 75). Unfortunately, correcting the value in
that python script does not affect whether I am able to start a domU
with more memory. Perhaps an insufficiently large type for
scrub_memory, somewhere, causing a rollover to negative?

Is this problem known in 3.0.2? Does anyone have a suggested solution?

System package information (more available on request):

Linux vpr-app-00 2.6.16.21-0.25-xenpae #1 SMP Tue Sep 19 07:26:15 UTC
2006 i686 i686 i386 GNU/Linux

xen-tools-ioemu-3.0.2_09763-0.8
kernel-xenpae-2.6.16.21-0.25
xen-doc-html-3.0.2_09763-0.8
xen-doc-pdf-3.0.2_09763-0.8
xen-tools-3.0.2_09763-0.8
xen-3.0.2_09763-0.8
xen-libs-3.0.2_09763-0.8

xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0     3909     1 r-----   127.0

xm info
host                   : vpr-app-00
release                : 2.6.16.21-0.25-xenpae
version                : #1 SMP Tue Sep 19 07:26:15 UTC 2006
machine                : i686
nr_cpus                : 8
nr_nodes               : 1
sockets_per_node       : 2
cores_per_socket       : 2
threads_per_core       : 2
cpu_mhz                : 2793
hw_caps                : 00000000:00000180:0000649d:00000000:00000001
total_memory           : 4095
free_memory            : -4998
max_free_memory        : -1154
max_para_memory        : 0
max_hvm_memory         : 0
xen_major              : 3
xen_minor              : 0
xen_extra              : .2_09749-0.7
xen_caps               : xen-3.0-x86_32p
platform_params        : virt_start=0xf5800000
xen_changeset          : 09749
cc_compiler            : gcc version 4.1.0 (SUSE Linux)
cc_compile_by          : abuild
cc_compile_domain      : suse.de
cc_compile_date        : Thu Jul 20 03:19:42 UTC 2006

Thanks,

-- 
Jeff Bachtel  (root@VPR,TAMU)     http://www.cepheid.org/~jeff
"The sciences, each straining in  [finger jeff@xxxxxxxxxxx for PGP key]
its own direction, have hitherto harmed us little;" - HPL, TCoC

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] xm info/xm list mismatch (and negative memory), Jeff Bachtel <=