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: [Xen-devel] xen 3 dom0 eats memory

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] xen 3 dom0 eats memory
From: Patrick Scharrenberg <pittipatti@xxxxxx>
Date: Wed, 04 Jan 2006 15:47:45 +0100
Cc: Xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 04 Jan 2006 14:51:41 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <bc370237d6b1b8ce436b262c28c4a91e@xxxxxxxxxxxx>
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>
References: <43BBD0E8.1010700@xxxxxx> <bc370237d6b1b8ce436b262c28c4a91e@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5 (Windows/20051201)

I changed the setup in the following way:
- added an ip address to the bridge (in another subnet (B))
- changed domU ip address to a net B address
- added masquerading for eth0 in the postrouting-chain in dom0

What iptables rules do you use to set this up?
I used "iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE" for masquerading.

Is the gateway address for domU the net B address interface you add to the bridge?
Yes that right, i forgot to mention that.

I have one official address on dom0 eth0 and a privat class B network for the domU's. The address used on the bridge is from this private network and the gateway for the domU's

It's worth trying 'ethtool -K eth0 tx off' in domU to turn off checksum offload, just in case that is causing problems.
Checksum offload is turned off in all domU's.

The problem only appears if the pakets are masqueraded. Pinging the gateway-address (the one on the bridge-if) or the dom0-eth0-address causes no memory consumption

Patrick

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