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

Re: [PATCH] Re: tmem on 4.1 (was [Xen-devel] Re: Freeze schedule)

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [PATCH] Re: tmem on 4.1 (was [Xen-devel] Re: Freeze schedule)
From: "Olivier B." <xen.list@xxxxxxxxx>
Date: Thu, 20 Jan 2011 10:13:11 +0100
Delivery-date: Thu, 20 Jan 2011 01:14:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1295511813.14981.4653.camel@xxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C95D9215.121D3%keir@xxxxxxx> <4D37ED53.6000202@xxxxxxxxx> <1295511813.14981.4653.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101213 Icedove/3.1.7
Le 20/01/2011 09:23, Ian Campbell a écrit :
On Thu, 2011-01-20 at 08:07 +0000, Olivier B. wrote:
Well, it is present but disabled in the new Debian Squeeze kernel...
Do you really mean the kernel (i.e. Linux) or do you really mean the
hypervisor?

I was not aware of any tmem support (disabled or otherwise) in the
Debian Squeeze Linux _kernel_. It hasn't been deliberately patched in
and it does not appear to be in the xen.git snapshot used in the Xen
dom0 flavour of the kernel.

You are right that it is present and disabled in the Squeeze hypervisor
-- this is simply the default in the Xen 4.0.1 release and hasn't been
tweaked by Debian.

Ian.


I don't know, on a Squeeze Dom0 with "tmem" parameters on default hypervisor and kernel, I have that :

root! yunze:~# xm tmem-list -a
G=Tt:39,Te:0,Cf:0,Af:0,Pf:0,Ta:0,Lm:0,Et:0,Ea:0,Rt:0,Ra:0,Rx:0,Fp:0
T=Gn:0,Gt:0,Gx:0,Gm:2147483647,Pn:0,Pt:0,Px:0,Pm:2147483647,gn:0,gt:0,gx:0,gm:2147483647,pn:0,pt:0,px:0,pm:2147483647,Fn:0,Ft:0,Fx:0,Fm:2147483647,On:0,Ot:0,Ox:0,Om:2147483647,Cn:0,Ct:0,Cx:0,Cm:2147483647,cn:0,ct:0,cx:0,cm:2147483647,dn:0,dt:0,dx:0,dm:2147483647


Is it "suffisant" to say that it works ?

but :
root! yunze:~# xm list 9
Name ID Mem VCPUs State Time(s) rome 9 512 2 -b---- 11.8
root! yunze:~# xm tmem-list 9
-1

and from the VM :
root! rome:~# cat /proc/cmdline
root=/dev/mapper/vg--rome-root ro rootflags=data=writeback rootdelay=1 panic=60 swiotlb=force iommu=soft tmem
root! rome:~# uname -a
Linux rome 2.6.32-5-xen-amd64 #1 SMP Wed Jan 12 05:46:49 UTC 2011 x86_64 GNU/Linux

But as I was saying, this is difficult to find any documentation, so I really don't know what is wrong or not...

Olivier

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