[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] [PATCH] MAC Matching vif-route & tip



At 10:44 AM 9/7/2005, Ian wrote:

> This patch will setup iptable rules for vif's that does MAC
> matching, as PHYSDEV matching only works for bridged devices.

Is that definitely the case? I don't see why physdev shouldn't work with
routed setups.

Yes. I first noticed the the byte counters of Physdev iptable rules being stuck at 0. They don't catch routed packets. Then I read:

CONFIG_IP_NF_MATCH_PHYSDEV: "Physdev packet matching matches against the physical bridge ports the IP packet arrived on or will leave by."

Using menuconfig, as I disable "802.1d Ethernet Bridging" from Networking, Physdev disappears from the netfilter menu too.

> 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

How much more buffering does this add?

As I understand it, the buffer must complement the network speed. Default i386 kernel uses 100 HZ, or 10ms time slices. Thus 50mbits/sec fills 50KB in 10ms.

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.