From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Olivier B." Subject: Re: [PATCH] Re: tmem on 4.1 (was Re: Freeze schedule) Date: Thu, 20 Jan 2011 10:13:11 +0100 Message-ID: <4D37FCA7.40402@daevel.fr> References: <4D37ED53.6000202@daevel.fr> <1295511813.14981.4653.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1295511813.14981.4653.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Le 20/01/2011 09:23, Ian Campbell a =C3=A9crit : > 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=20 hypervisor and kernel, I have that : root! yunze:~# xm tmem-list -a G=3DTt: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=3DGn:0,Gt:0,Gx:0,Gm:2147483647,Pn:0,Pt:0,Px:0,Pm:2147483647,gn:0,gt:0,g= x:0,gm:2147483647,pn:0,pt:0,px:0,pm:2147483647,Fn:0,Ft:0,Fx:0,Fm:21474836= 47,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 =20 Time(s) rome 9 512 2 =20 -b---- 11.8 root! yunze:~# xm tmem-list 9 -1 and from the VM : root! rome:~# cat /proc/cmdline root=3D/dev/mapper/vg--rome-root ro rootflags=3Ddata=3Dwriteback rootdela= y=3D1=20 panic=3D60 swiotlb=3Dforce iommu=3Dsoft 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=20 GNU/Linux But as I was saying, this is difficult to find any documentation, so I=20 really don't know what is wrong or not... Olivier