[pve-devel] [PATCH] openvswitch hybrid network model implementation

Alexandre DERUMIER aderumier at odiso.com
Wed Apr 23 10:29:05 CEST 2014


maybe this commit:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=b69bbddfa136dc53ac319d58bc38b41f8aefffea

veth: add vlan features
The veth device doesn't provide the vlan features,
so TSO for example is disabled and that causes
performance issues when using tagged traffic.

The test topology looks like this:

    br0                     br1
  /   \                  /     \
vnet  veth0.10 ----- veth1.10   vnet
VM                               VM

The netperf results with current veth driver:
MIGRATED TCP STREAM TEST from 192.168.1.1 ()
port 0 AF_INET to 192.168.1.2 () port 0 AF_INET
Recv   Send    Send
Socket Socket  Message  Elapsed
Size   Size    Size     Time     Throughput
bytes  bytes   bytes    secs.    10^6bits/sec

 87380  16384  16384    10.01    2210.22

Now after applying the proposed patch:
MIGRATED TCP STREAM TEST from 192.168.1.1 ()
port 0 AF_INET to 192.168.1.2 () port 0 AF_INET
Recv   Send    Send
Socket Socket  Message  Elapsed
Size   Size    Size     Time     Throughput
bytes  bytes   bytes    secs.    10^6bits/sec

 87380  16384  16384    10.00    13067.47

Signed-off-by: Flavio Leitner <fbl at redhat.com>
Signed-off-by: David S. Miller <davem at davemloft.net>




(also note that we could manage vlan with vethX !)


and also, it seem possible to manage qinq (vlan in vlan) through veth
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8d0d21f4053c07714802cbe8b1fe26913ec296cc

could be usefull for Stefan I think.



----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Mercredi 23 Avril 2014 10:11:34 
Objet: RE: [pve-devel] [PATCH] openvswitch hybrid network model implementation 

> So, it should be tested ! (now that redhat support docker, maybe they have 
> made improvement in veth) 

I always wondered why veth is slow. Just compiling new kernel-3.10.0-121.el7.src.rpm kernel now (for tesing). 



More information about the pve-devel mailing list