I am using openstack victoria and neutron with ovn latest releases. I was trying to assess network performance between the vms first. I have created two ubuntu 20.04 VMs installed iperf3 in them and executed a bidirectional test between VMs. The instance are on same network and network type is geneve. Both VMs are on same host. I have tested by keeping VM to different compute hosts, but results are same.
Here are the results.
root@iperf3-1:~# iperf3 -c 192.168.100.50 --bidir
Connecting to host 192.168.100.50, port 5201
[ 5] local 192.168.100.120 port 53156 connected to 192.168.100.50 port 5201
[ 7] local 192.168.100.120 port 53158 connected to 192.168.100.50 port 5201
[ ID][Role] Interval Transfer Bitrate Retr Cwnd
[ 5][TX-C] 0.00-1.00 sec 311 MBytes 2.61 Gbits/sec 407 1.41 MBytes
[ 7][RX-C] 0.00-1.00 sec 627 MBytes 5.26 Gbits/sec
[ 5][TX-C] 1.00-2.00 sec 1.07 GBytes 9.18 Gbits/sec 2638 1.71 MBytes
[ 7][RX-C] 1.00-2.00 sec 778 MBytes 6.53 Gbits/sec
[ 5][TX-C] 2.00-3.00 sec 1.14 GBytes 9.75 Gbits/sec 603 1.98 MBytes
[ 7][RX-C] 2.00-3.00 sec 922 MBytes 7.73 Gbits/sec
[ 5][TX-C] 3.00-4.00 sec 1.00 GBytes 8.62 Gbits/sec 594 2.16 MBytes
[ 7][RX-C] 3.00-4.00 sec 935 MBytes 7.84 Gbits/sec
[ 5][TX-C] 4.00-5.00 sec 988 MBytes 8.29 Gbits/sec 2431 1.42 MBytes
[ 7][RX-C] 4.00-5.00 sec 932 MBytes 7.82 Gbits/sec
[ 5][TX-C] 5.00-6.00 sec 879 MBytes 7.37 Gbits/sec 599 991 KBytes
[ 7][RX-C] 5.00-6.00 sec 996 MBytes 8.36 Gbits/sec
[ 5][TX-C] 6.00-7.00 sec 721 MBytes 6.05 Gbits/sec 389 1.10 MBytes
[ 7][RX-C] 6.00-7.00 sec 963 MBytes 8.08 Gbits/sec
[ 5][TX-C] 7.00-8.00 sec 901 MBytes 7.56 Gbits/sec 33 1.54 MBytes
[ 7][RX-C] 7.00-8.00 sec 1.02 GBytes 8.79 Gbits/sec
[ 5][TX-C] 8.00-9.00 sec 889 MBytes 7.44 Gbits/sec 376 1.33 MBytes
[ 7][RX-C] 8.00-9.00 sec 1.14 GBytes 9.78 Gbits/sec
[ 5][TX-C] 9.00-10.00 sec 671 MBytes 5.64 Gbits/sec 1017 984 KBytes
[ 7][RX-C] 9.00-10.00 sec 975 MBytes 8.19 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID][Role] Interval Transfer Bitrate Retr
[ 5][TX-C] 0.00-10.00 sec 8.44 GBytes 7.25 Gbits/sec 9087 sender
[ 5][TX-C] 0.00-10.00 sec 8.44 GBytes 7.25 Gbits/sec receiver
[ 7][RX-C] 0.00-10.00 sec 9.13 GBytes 7.84 Gbits/sec 7914 sender
[ 7][RX-C] 0.00-10.00 sec 9.12 GBytes 7.84 Gbits/sec receiver
Here is the xmldump of instance interface.
<interface type='bridge'>
<mac address='fa:16:3e:02:bc:33'/>
<source bridge='br-int'/>
<virtualport type='openvswitch'>
<parameters interfaceid='73e9f047-70de-4d9f-a656-e311dd54975f'/>
</virtualport>
<target dev='tap73e9f047-70'/>
<model type='virtio'/>
<driver name='vhost' queues='8'/>
<mtu size='1442'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
My overlay network IP interface mtu is 1500. Please advise if there is any network performance tuning required ?
--