Thread (18 messages) flat view 18 messages, 6 authors, 2016-11-28

Re: Large performance regression with 6in4 tunnel (sit)

From: Eli Cooper <hidden>
Date: 2016-11-27 16:22:30

Hi Stephen,


On 2016/11/27 10:02, Stephen Rothwell wrote:
Hi Eli,

On Sun, 27 Nov 2016 11:54:41 +1100 Stephen Rothwell [off-list ref] wrote:
quoted
On Fri, 25 Nov 2016 14:05:04 +0800 Eli Cooper [off-list ref] wrote:
quoted
I think this is similar to the bug I fixed in commit ae148b085876
("ip6_tunnel: Update skb->protocol to ETH_P_IPV6 in ip6_tnl_xmit()").

I can reproduce a similar problem by applying xfrm to sit traffic.
TSO/GSO packets are dropped when IPSec is enabled, and IPv6 throughput
drops to 10s of Kbps. I am not sure if this is the same issue you
experienced, but I wrote a patch that fixed at least the issue I had.

Could you test the patch I sent to the mailing list just now?  
Thanks for the patch!

Its a bit tricky to test since the problem only occurs in a production
machine (I tried reproducing in a VM, but the problem did not occur),
That's probably because the ethernet NIC in your VM does not support
segmentation offloading. You could, however, try reproducing it on
another (real) machine with the same driver.
quoted
but I will try to just rebuild the sit module and see if I can insert
the modified one.
OK, I tried your patch and unfortunately, it doesn't seem to have
worked ... I still get the large packets dropped and resent smaller.
It's a shame ... In my case, large packets are dropped only when xfrm is
in effect (therefore another output path is taken), and probably that's
not your case. Well, on the plus side, at least you reminded me that sit
device also needs to update skb's protocol.

Thanks,
Eli
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help