On Wed, Jun 12, 2019 at 02:10:19PM +0200, Miroslav Kubiczek wrote:
> Hello,
>
> I'm experiencing packets loss on OpenvSwitch host during transmission to
> vxlan port under higher traffic load.
>
> Some statistics from 2 machines are here (30 seconds run):
>
> 10.10.12.148-ens224-TX 625 100 %, 2130008249 bytes
> 10.10.12.150-ens224-RX 5999429 99 %, 2129796705 bytes
> 10.10.12.150-vxlan_sys_4789-TX 5641293 94 %, 1923680913 bytes
>
> 10.10.12.148 - is traffic generator machine
> 10.10.12.150 - is OvS host
>
> So as you can see about 5% of traffic is lost on OvS. Does anybody have a
> clue why this is happening?
> More configuration details are below.
Checkout the MTU of the interfaces because of VXLAN header size.
Also if it's under heavy load, VXLAN uses UDP and usually NIC
disables hashing on L4 header, which means a single CPU will process
all VXLAN traffic. That could be a bottleneck also.
fbl
>
> Thank you in advance for any help,
> Miroslav
>
>
> /-\ /\
> |10.0.0.2 | | |
> | ens224|-|ens224 |
> \_/ | |
> | OVS-host |
> /-\ | | /-\
> |10.0.0.3 | | vxlan_sys_4789||vxlan traffix server |
> | ens224|-|ens256 | |10.10.12.135 |
> \_/ \/ \_/
>
>
>
>
> $ sudo ovs-vsctl show
> 68e0245f-1a5f-48ec-a027-a69d839a9b11
> Bridge "br0"
> Controller "tcp:127.0.0.1:6653"
> is_connected: true
> Port "ens256"
> Interface "ens256"
> Port "br0"
> Interface "br0"
> type: internal
> Port vtep
> Interface vtep
> type: vxlan
> options: {key=flow, remote_ip="10.10.12.135"}
> Port "ens224"
> Interface "ens224"
> ovs_version: "2.5.0"
>
> $ sudo ovs-ofctl dump-flows br0 -O OpenFlow13
> OFPST_FLOW reply (OF1.3) (xid=0x2):
> cookie=0x0, duration=1265.517s, table=0, n_packets=42029479,
> n_bytes=14920464750, priority=1,in_port=10 actions=resubmit(,2)
> cookie=0x1, duration=1265.518s, table=0, n_packets=1223020,
> n_bytes=434172100, priority=1000,udp actions=resubmit(,1)
> cookie=0x0, duration=79826.502s, table=0, n_packets=1236672,
> n_bytes=439008720, priority=10,dl_dst=00:0c:29:42:63:9d actions=output:2
> cookie=0x0, duration=79794.509s, table=0, n_packets=46, n_bytes=7757,
> priority=10,dl_dst=00:0c:29:ec:54:7b actions=output:1
> cookie=0x0, duration=79826.501s, table=0, n_packets=11, n_bytes=850,
> priority=1,in_port=2,dl_dst=00:0c:29:ec:54:7b actions=output:2
> cookie=0x0, duration=79836.182s, table=0, n_packets=2, n_bytes=158,
> priority=0 actions=CONTROLLER:65535
> cookie=0x0, duration=1265.517s, table=1, n_packets=49579226,
> n_bytes=17600625230, actions=output:10
> cookie=0x0, duration=79826.501s, table=2, n_packets=42029478,
> n_bytes=14920464690, priority=100,ip,dl_dst=00:0c:29:42:63:9d
> actions=output:2
> cookie=0x0, duration=79794.509s, table=2, n_packets=0, n_bytes=0,
> priority=100,ip,dl_dst=00:0c:29:ec:54:7b actions=output:1
>
> $ ovs-vsctl --version
> ovs-vsctl (Open vSwitch) 2.5.0
> Compiled Apr 28 2016 10:25:38
> DB Schema 7.12.1
>
>
> ___
> discuss mailing list
> disc...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss