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-devel

[Xen-devel] xm info showing too much free ram

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] xm info showing too much free ram
From: Hans-Christian Armingeon <johnny@xxxxxxxxxx>
Date: Thu, 30 Mar 2006 20:43:06 +0200
Delivery-date: Mon, 03 Apr 2006 09:32:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
Hi,

My dom0 has 2g ram allocated, and I have 2.5 G Ram physically in my machine.
I needed more Ram in domU so I did a

# xm mem-set 0 1000

# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0     1000     1 r-----   471.8
gentoo64-xen                       2      453     1 ------ 29318.7

Looks Ok.

Increasing the Ram of domU

# xm mem-set 2 1453

root@jam:~# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0     1000     1 r-----   472.5
gentoo64-xen                       2     1453     1 ------ 29336.7

Lokks OK.

Look at the line where it says:
free_memory            : 1064

root@jam:~# xm info
host                   : jam
release                : 2.6.16-20060326.1-xen0
version                : #1 SMP Sun Mar 26 21:41:31 CEST 2006
machine                : x86_64
nr_cpus                : 1
nr_nodes               : 1
sockets_per_node       : 1
cores_per_socket       : 1
threads_per_core       : 1
cpu_mhz                : 2200
hw_caps                : 
078bfbff:e3d3fbff:00000000:00000010:00000001:00000001:00000001
total_memory           : 2559
free_memory            : 1064
xen_major              : 3
xen_minor              : 0
xen_extra              : -unstable
xen_caps               : xen-3.0-x86_64
platform_params        : virt_start=0xffff800000000000
xen_changeset          : Fri Mar 24 17:48:03 2006 +0100 9435:11fee62328cc
cc_compiler            : gcc-Version 4.0.2 20050808 (prerelease) (Ubuntu 
4.0.1-4ubuntu9)
cc_compile_by          : root
cc_compile_domain      : localdomain
cc_compile_date        : Fr Mär 24 23:14:02 CET 2006
root@jam:~# xm info
host                   : jam
release                : 2.6.16-20060326.1-xen0
version                : #1 SMP Sun Mar 26 21:41:31 CEST 2006
machine                : x86_64
nr_cpus                : 1
nr_nodes               : 1
sockets_per_node       : 1
cores_per_socket       : 1
threads_per_core       : 1
cpu_mhz                : 2200
hw_caps                : 
078bfbff:e3d3fbff:00000000:00000010:00000001:00000001:00000001
total_memory           : 2559
free_memory            : 1064
xen_major              : 3
xen_minor              : 0
xen_extra              : -unstable
xen_caps               : xen-3.0-x86_64
platform_params        : virt_start=0xffff800000000000
xen_changeset          : Fri Mar 24 17:48:03 2006 +0100 9435:11fee62328cc
cc_compiler            : gcc-Version 4.0.2 20050808 (prerelease) (Ubuntu 
4.0.1-4ubuntu9)
cc_compile_by          : root
cc_compile_domain      : localdomain
cc_compile_date        : Fr Mär 24 23:14:02 CET 2006

Is that correct?

I don't think so.

Johnny

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

<Prev in Thread] Current Thread [Next in Thread>