[ovs-discuss] performance problem of ovs-dpdk

307419146 at qq.com 307419146 at qq.com
Fri Apr 22 12:50:21 UTC 2016


hi
I have meet a performance problem about ovs-dpdk. 

five VM on a server ,connect to a dpdk-ovs by dpdkvhostuser port.

every VM works as a netperf server.

ovs has a dpdk type port ,connect to the outer.

from outer server, work as netperf client, send flow to the netperf server in VMs.

test with netperf. when test with tcpstream mode,it works good.but in tcp_RR and tcp_CRR mode,it works not good.
test result:
[root at node-4 ~]# for i in `seq 43 47`; do ip netns exec qrouter-0cea5044-82f1-4ee7-a290-17c528aacc9c netperf -t TCP_RR -H 100.64.8.$i -l 10  & done

[root at node-4 ~]# Local /Remote
Socket Size   Request  Resp.   Elapsed  Trans.
Send   Recv   Size     Size    Time     Rate         
bytes  Bytes  bytes    bytes   secs.    per sec   

Local /Remote
Socket Size   Request  Resp.   Elapsed  Trans.
Send   Recv   Size     Size    Time     Rate         
bytes  Bytes  bytes    bytes   secs.    per sec   

16384  87380  1        1       10.00    17875.24   
16384  87380 
16384  87380  1        1       10.00    17953.91   
16384  87380 
Local /Remote
Socket Size   Request  Resp.   Elapsed  Trans.
Send   Recv   Size     Size    Time     Rate         
bytes  Bytes  bytes    bytes   secs.    per sec   

16384  87380  1        1       10.00       7.00   
16384  87380 
Local /Remote
Socket Size   Request  Resp.   Elapsed  Trans.
Send   Recv   Size     Size    Time     Rate         
bytes  Bytes  bytes    bytes   secs.    per sec   

16384  87380  1        1       10.00       6.90   
16384  87380 
Local /Remote
Socket Size   Request  Resp.   Elapsed  Trans.
Send   Recv   Size     Size    Time     Rate         
bytes  Bytes  bytes    bytes   secs.    per sec   

16384  87380  1        1       10.00       0.60   
16384  87380 

[root at node-4 ~]# 
[root at node-4 ~]# for i in `seq 43 47`; do ip netns exec qrouter-0cea5044-82f1-4ee7-a290-17c528aacc9c netperf -t TCP_STREAM -H 100.64.8.$i -l 10  & done
[root at node-4 ~]# 
[root at node-4 ~]# Recv   Send    Send                          
Socket Socket  Message  Elapsed              
Size   Size    Size     Time     Throughput  
bytes  bytes   bytes    secs.    10^6bits/sec  

 87380  16384  16384    10.01    1887.86   
Recv   Send    Send                          
Socket Socket  Message  Elapsed              
Size   Size    Size     Time     Throughput  
bytes  bytes   bytes    secs.    10^6bits/sec  

 87380  16384  16384    10.01    1889.09   
Recv   Send    Send                          
Socket Socket  Message  Elapsed              
Size   Size    Sze     Time     Throughput  
bytes  bytes   bytes    secs.    10^6bits/sec  

 87380  16384  16384    10.01    1895.72   
Recv   Send    Send                          
Socket Socket  Message  Elapsed              
Size   Size    Size     Time     Throughput  
bytes  bytes   bytes    secs.    10^6bits/sec  

 87380  16384  16384    10.21    1843.78   
Recv   Send    Send                          
Socket Socket  Message  Elapsed              
Size   Size    Size     Time     Throughput  
bytes  bytes   bytes    secs.    10^6bits/sec  

 87380  16384  16384    10.01    1832.15   

I have update the dpdk to 16.04 version. and all drv modes of dpdk port have been used.

br_ovs_bond1 is a brdige on server with 5 VMs. it contains a dpdk type port.

from below ,we can see ,some flow to the vm only receive few packet,but some other receive a lot. 


so , the problem is dpdk port of ovs cannot receive enough packet.

any help is appreciate.

thanks .



307419146 at qq.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160422/1f7cc26d/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CatchA499.jpg
Type: image/jpeg
Size: 112920 bytes
Desc: not available
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160422/1f7cc26d/attachment-0002.jpg>


More information about the discuss mailing list