← Back to team overview

kernel-packages team mailing list archive

[Bug 1477466] Re: Low performance when using vlan over VxLan

 

@gavin has cherry-picked some commits and we would like you to test and
provide feedback:

These are Gavin's comments:

----

@tinoco,

I've backported the 2 patches you mentioned in the bug description. Could 
you help to verify if the backported kernel can speed up the performance? 

The kernel source is in: 
http://kernel.ubuntu.com/git/gavinguo/ubuntu-trusty-amd64.git/log/?h=sf00088101 

The kernel package: 
http://kernel.ubuntu.com/~gavinguo/sf00088101/ 

- The first commit as following can be cleanly cherry-picked:

commit 9b174d88c257150562b0101fcc6cb6c3cb74275c 
Author: Jesse Gross <jesse@xxxxxxxxxx> 
Date: Tue Dec 30 19:10:15 2014 -0800 

net: Add Transparent Ethernet Bridging GRO support.

- The second has some conflict and I tried to fix that:

commit 66e5133f19e901a044fa5eaeeb6ecff4545839e5 
Author: Toshiaki Makita <makita.toshiaki@xxxxxxxxxxxxx> 
Date: Mon Jun 1 21:55:06 2015 +0900 

vlan: Add GRO support for non hardware accelerated vlan

- Despite I fixed the conflict, the kernel cannot be built and still need the 
commit: 

commit 0e82d0187ce8327aca20ec9e4e32ee10fbd229cb 
Author: David S. Miller <davem@xxxxxxxxxxxxx> 
Date: Mon Jun 1 14:56:09 2015 -0700 

net: Add priority to packet_offload objects.

Because in the Vivid kernel, there is no priority member in the 
packet_offload struct. 

Please tell me if you find anything wrong, sorry for not familiar with the 
network subsystem.

----

Thank you

Rafael Tinoco


** Changed in: linux (Ubuntu)
       Status: Triaged => In Progress

** Changed in: linux (Ubuntu Vivid)
       Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1477466

Title:
  Low performance when using vlan over VxLan

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Vivid:
  In Progress

Bug description:
  We see a performance issue when running traffic over vlan interface
  that created over VxLAN interface.

  We reach 24 Gbps over the VxLan interface while we reach only 4 Gbps
  over the VLAN interface.  Turned out that GRO isn't supported for VLAN
  over VxLAN.

  The following upstream commits fix this issue.

  commit 66e5133f19e901a044fa5eaeeb6ecff4545839e5
  Author: Toshiaki Makita <makita.toshiaki@xxxxxxxxxxxxx>
  Date:   Mon Jun 1 21:55:06 2015 +0900

      vlan: Add GRO support for non hardware accelerated vlan

      Currently packets with non-hardware-accelerated vlan cannot be handled
      by GRO. This causes low performance for 802.1ad and stacked vlan, as their
      vlan tags are currently not stripped by hardware.

      This patch adds GRO support for non-hardware-accelerated vlan and
      improves receive performance of them.

  commit 9b174d88c257150562b0101fcc6cb6c3cb74275c
  Author: Jesse Gross <jesse@xxxxxxxxxx>
  Date:   Tue Dec 30 19:10:15 2014 -0800

      net: Add Transparent Ethernet Bridging GRO support.

      Currently the only tunnel protocol that supports GRO with encapsulated
      Ethernet is VXLAN. This pulls out the Ethernet code into a proper layer
      so that it can be used by other tunnel protocols such as GRE and Geneve.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1477466/+subscriptions


References