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] kernel size

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] kernel size
From: Fred <fred+xen@xxxxxxxxx>
Date: Sun, 17 Dec 2006 14:08:18 +0100
Delivery-date: Sun, 17 Dec 2006 05:08:28 -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>
Mail-followup-to: Fred <fred+xen@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
Hi *,

I have a memory problem that I can't seem to get my hands on properly

When I boot the box plain gentoo (2.6.18) this is the output from
dmesg|grep -n kernel:

58:Memory: 3850464k/3890364k available (4985k kernel code, 38732k
reserved, 1699k data, 276k init, 2972860k highmem)
468:Freeing unused kernel memory: 276k freed

When i boot a xen kernel (2.6.16.28), also Gentoo, I get this output:

51:Memory: 59269k/139264k available (2800k kernel code, 71664k
reserved, 806k data, 160k init, 0k highmem)

/boot/grub/grub.conf:

title=Linux 2.6.16 / Xen 3.0.2
root (hd0,0)
kernel /xen.gz dom0_mem=128M
module /vmlinuz-2.6.16-xen0 root=/dev/md3 noreboot



This boots fine but i run into a 'out of memory' when i perform:
tar cf - .|(cd /mnt2;tar xf-)


What strikes me most is the difference in the dmesg output for reserved
kernel space: 1699k running plain gentoo vs. 71664k running xen domain0

When nothing is running there is about 3.5Mb of memory free according to
`top'

Is xen taking up all this memory? 

What did i do wrong?

Thanks in advance

-- 
Fred

Hear All; Trust Nothing
        -- 190th rule of Aquisition


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

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