[neutron] Why network performance is extremely bad and linearly related with number of VMs?
donny at fortnebula.com
Sun Feb 23 05:49:32 UTC 2020
So I am curious as to what your question is. Are you asking about ovs
bridges learning MAC's of other compute nodes or why network performance is
affected when you run more than one instance per node.
I have not observed this behaviour in my experience.
Could you tell us more about the configuration of your deployment?
I understand you are currently using linux bridges that are connected to
openvswitch bridges? Why not just use ovs? OVS can handle security groups.
On Fri, Feb 21, 2020 at 9:48 AM Yi Yang (杨燚)-云服务集团 <yangyi01 at inspur.com>
> Hi, All
> Anybody has noticed network performance between VMs is extremely bad, it is
> basically linearly related with numbers of VMs in same compute node. In my
> case, if I launch one VM per compute node and run iperf3 tcp and udp,
> performance is good, it is about 4Gbps and 1.7Gbps, for 16 bytes small UDP
> packets, it can reach 180000 pps (packets per second), but if I launch two
> VMs per compute node (note: they are in the same subnet) and only run pps
> test case, that will be decrease to about 90000 pps, if I launch 3 VMs per
> compute node, that will be about 50000 pps, I tried to find out the root
> cause, other VMs in this subnet (they are in the same compute node as
> client) can receive all the packets iperf3 client VM sent out although
> destination MAC isn’t broadcast MAC or multicast MAC, actually it is MAC of
> iperf3 server VM in another compute node, by further check, I did find qemu
> instances of these VMs have higher CPU utilization and corresponding vhost
> kernel threads also also higher CPU utilization, to be importantly, I did
> find ovs was broadcasting these packets because all the ovs bridges didn’t
> learn this destination MAC. I tried this in Queens and Rocky, the same
> is there. By the way, we’re using linux bridge for security group, so VM
> tap interface is attached into linux bridge which is connected to br-int by
> veth pair.
> Here is output of “ovs-appctl dpif/dump-flows br-int” after I launched
> many VMs:
> h_type(0x0800),ipv4(tos=0/0x3,frag=no), packets:11012944, bytes:726983412,
> used:0.000s, flags:SP.,
> $ sudo ovs-appctl fdb/show br-floating | grep fa:16:3e:49:26:51
> $ sudo ovs-appctl fdb/show br-tun | grep fa:16:3e:49:26:51
> $ sudo ovs-appctl fdb/show br-bond1 | grep fa:16:3e:49:26:51
> $ sudo ovs-appctl fdb/show br-int | grep fa:16:3e:49:26:51
> All the bridges can’t learn this MAC.
> My question is why ovs bridges can’t learn MACs of other compute nodes, is
> this common issue of all the Openstack versions? Is there any known
> way to fix it? Look forward to hearing your insights and solutions, thank
> you in advance and have a good day.
C: 805 814 6800
"No mission too difficult. No sacrifice too great. Duty First"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openstack-discuss