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] [PATCH] MAC Matching vif-route & tip

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] MAC Matching vif-route & tip
From: Andy Lee <andylee@xxxxxxxx>
Date: Wed, 07 Sep 2005 10:20:04 -0700
Delivery-date: Wed, 07 Sep 2005 17:18:03 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
This patch will setup iptable rules for vif's that does MAC matching, as PHYSDEV matching only works for bridged devices. (Patch generated from Xen-2.0-testing.)

On a separate but still networking issue, I noticed that my XenU's outbound traffic is sporadic (between 800KB/sec and 2MB/sec). The problem is the default qdisc being inadequate. So I fix it with:

XenU# tc qdisc add dev eth0 root tbf rate 50mbit latency 20ms burst 50k

TBF requires kernel option CONFIG_NET_SCH_TBF, but other qdisc should work too if the buffer is large enough to handle the bandwidth. To make this permanent, add it as a 'up' line to iface eth0 in XenU's /etc/network/interfaces.

Attachment: vif-route.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>