Hi David:

Let's break this down and see if you can get MoonGen running outside of the 
VSPERF infrastructure first.  Once that's done, we will try to get the 
phy2phy_tput tests running.

Please refer to the instructions within the MoonGenSetUp.html file on the 
MoonGen side and see if you have any success passing data.

Regards,
Bill


----- Original Message -----From: David XF1 Cui <[email protected]>To: 
[email protected]: Mon, 15 Aug 2016 18:39:52 -0400 
(EDT)Subject: Re: [opnfv-tech-discuss] [VSPERF] How to config the VSPerf and 
Moongen correctly.


Sorry, I forget the log files. Attach again.
 


From: David XF1 Cui

Sent: Tuesday, August 16, 2016 6:34 AMTo: 
'[email protected]'Subject: [VSPERF] How to config the VSPerf 
and Moongen correctly.


 
Hi guys, 
 
Sorry for troubling you. I try to setup a test environment use VSPerf and 
MoonGen to benchmark the performance of OVS.  I use two PCs to setup the 
environment, one for VSPerf and another for MoonGen. I run the phy2phy_tput 
test on the VSPerf side.  But I can not get the correct test result. I attached 
the configurations and logs here. Could you help me to check if I config the 
VSperf and Moongen correctly?
 
Thanks & BRs
David
 
some logs as below
--------------------------------------------------------
[INFO ]  2016-08-16 06:20:14,908 : (moongen) - In moongen 
send_rfc2544_throughput method
[INFO ]  2016-08-16 06:20:14,908 : (moongen) - In Moongen traffic_defaults 
method
[DEBUG]  2016-08-16 06:20:14,908 : (root) - traffic['frame_rate'] = 100
[DEBUG]  2016-08-16 06:20:14,908 : (root) - traffic['multistream'] = 0
[DEBUG]  2016-08-16 06:20:14,908 : (root) - traffic['stream_type'] = L2
[DEBUG]  2016-08-16 06:20:14,908 : (root) - traffic['l2']['srcmac'] = 
6c:0b:84:45:4b:53
[DEBUG]  2016-08-16 06:20:14,909 : (root) - traffic['l2']['dstmac'] = 
6c:0b:84:dd:ed:07
[DEBUG]  2016-08-16 06:20:14,909 : (root) - traffic['l3']['proto'] = udp
[DEBUG]  2016-08-16 06:20:14,909 : (root) - traffic['l3']['srcip'] = 
10.100.206.96
[DEBUG]  2016-08-16 06:20:14,909 : (root) - traffic['l3']['dstip'] = 
10.100.203.102
[DEBUG]  2016-08-16 06:20:14,909 : (root) - traffic['l4']['srcport'] = 3000
[DEBUG]  2016-08-16 06:20:14,909 : (root) - traffic['l4']['dstport'] = 3001
[DEBUG]  2016-08-16 06:20:14,909 : (root) - traffic['vlan']['enabled'] = False
[DEBUG]  2016-08-16 06:20:14,909 : (root) - traffic['vlan']['id'] = 0
[DEBUG]  2016-08-16 06:20:14,909 : (root) - traffic['vlan']['priority'] = 0
[DEBUG]  2016-08-16 06:20:14,909 : (root) - traffic['vlan']['cfi'] = 0
[DEBUG]  2016-08-16 06:20:14,909 : (root) - 64
[DEBUG]  2016-08-16 06:20:14,909 : (root) - startRate = 14.880952380952381
opnfv-vsperf-cfg.lua                                                            
                                                                             
100%  297     0.3KB/s   00:00   
2016-08-15T22:20:15Z|00056|poll_loop|INFO|wakeup due to [POLLIN] on fd 37 (FIFO 
pipe:[1366939]) at lib/netdev.c:1918 (78% CPU usage)
moongen_log.txt                                                                 
                                                                             
100%    0     0.0KB/s   00:00   
[ERROR]  2016-08-16 06:20:15,296 : (root) - There was a problem parsing Moongen 
REPORT section of Moongen log file
[ERROR]  2016-08-16 06:20:15,296 : (root) - There was a problem parsing Moongen 
PARAMETERS section of Moongen log file
&hellip;
2016-08-15T22:20:15Z|00061|poll_loop|INFO|wakeup due to [POLLIN] on fd 37 (FIFO 
pipe:[1366939]) at lib/netdev.c:1918 (78% CPU usage)
2016-08-15T22:20:16Z|00062|poll_loop|INFO|wakeup due to [POLLIN] on fd 37 (FIFO 
pipe:[1366939]) at lib/netdev.c:1918 (78% CPU usage)
2016-08-15T22:20:16Z|00063|poll_loop|INFO|wakeup due to [POLLIN] on fd 37 (FIFO 
pipe:[1366939]) at lib/netdev.c:1918 (78% CPU usage)
2016-08-15T22:20:17Z|00064|poll_loop|INFO|wakeup due to [POLLIN] on fd 37 (FIFO 
pipe:[1366939]) at lib/netdev.c:1918 (78% CPU usage)
[DEBUG]  2016-08-16 06:20:17,316 : (core.vnf_controller) - stop 0 VNF[s] with
[DEBUG]  2016-08-16 06:20:17,316 : (core.vswitch_controller_p2p) - Stop using 
<class 'ovs_dpdk_vhost.OvsDpdkVhost'>
[INFO ]  2016-08-16 06:20:17,316 : (ovs_dpdk_vhost) - Terminating vswitchd...
[INFO ]  2016-08-16 06:20:17,316 : (ovs_dpdk_vhost) - Killing ovs-vswitchd...
[DEBUG]  2016-08-16 06:20:17,317 : (ovs_dpdk_vhost) - cmd : sudo kill -15 1599
2016-08-15T22[DEBUG]  2016-08-16 06:20:17,321 : (ovs_dpdk_vhost) - Wait for 
process 1599 to terminate after signal -15
:20:17Z|00065|poll_loop|INFO|wakeup due to [POLLIN] on fd 5 (FIFO 
pipe:[1353374]) at lib/fatal-signal.c:224 (78% CPU usage)
2016-08-15T22:20:17Z|00001|fatal_signal(revalidator8)|WARN|terminating with 
signal 15 (Terminated)
[INFO ]  2016-08-16 06:20:18,322 : (ovs_dpdk_vhost) - Killing ovsdb with pid: 
1578
[DEBUG]  2016-08-16 06:20:18,322 : (ovs_dpdk_vhost) - cmd : sudo kill -15 1578
2016-08-15T22:20:18Z|00002|fatal_signal|WARN|terminating with signal 15 
(Terminated)
[DEBUG]  2016-08-16 06:20:18,327 : (ovs_dpdk_vhost) - Wait for process 1578 to 
terminate after signal -15
[INFO ]  2016-08-16 06:20:19,328 : (ovs_dpdk_vhost) - Log available at 
/tmp/vswitchd.log
[INFO ]  2016-08-16 06:20:19,329 : (ovs_dpdk_vhost) - Vswitchd...Terminated.
[INFO ]  2016-08-16 06:20:19,329 : (src.dpdk.dpdk) - Unbinding NICs 
['0000:05:00.0', '0000:05:00.1']...
[DEBUG]  2016-08-16 06:20:19,329 : (src.dpdk.dpdk) - cmd : sudo 
/home/cui/vswitchperf/vswitchperf/src/dpdk/dpdk/tools/dpdk_nic_bind.py --unbind 
0000:05:00.0 0000:05:00.1
[INFO ]  2016-08-16 06:20:19,361 : (src.dpdk.dpdk) - Binding NIC 0000:05:00.0 
to vfio-pci...
[DEBUG]  2016-08-16 06:20:19,362 : (src.dpdk.dpdk) - cmd : sudo 
/home/cui/vswitchperf/vswitchperf/src/dpdk/dpdk/tools/dpdk_nic_bind.py --bind 
vfio-pci 0000:05:00.0
[INFO ]  2016-08-16 06:20:19,404 : (src.dpdk.dpdk) - Binding NIC 0000:05:00.1 
to vfio-pci...
[DEBUG]  2016-08-16 06:20:19,404 : (src.dpdk.dpdk) - cmd : sudo 
/home/cui/vswitchperf/vswitchperf/src/dpdk/dpdk/tools/dpdk_nic_bind.py --bind 
vfio-pci 0000:05:00.1
[INFO ]  2016-08-16 06:20:19,441 : (tools.module_manager) - Removing module 
'igb_uio'...
[INFO ]  2016-08-16 06:20:19,464 : (tools.module_manager) - Removing module 
'cuse'...
[INFO ]  2016-08-16 06:20:19,483 : (tools.module_manager) - Removing module 
'uio'...
[INFO ]  2016-08-16 06:20:19,505 : (tools.hugepages) - Unmounting hugepages...
[DEBUG]  2016-08-16 06:20:19,505 : (tools.hugepages) - cmd : sudo umount 
/dev/hugepages
umount: /dev/hugepages: not mounted
[ERROR]  2016-08-16 06:20:19,510 : (tools.hugepages) - Unable to execute sudo 
umount /dev/hugepages. Exception: Command '['sudo', 'umount', 
'/dev/hugepages']' returned non-zero exit status 1
[ERROR]  2016-08-16 06:20:19,510 : (tools.hugepages) - Unable to umount 
hugepages.
[INFO ]  2016-08-16 06:20:19,510 : (root) - Testcase execution time: 00:00:10
[DEBUG]  2016-08-16 06:20:19,510 : (testcases.performance) - self._collector 
Results:
[DEBUG]  2016-08-16 06:20:19,510 : (testcases.performance) - Traffic Results:
[INFO ]  2016-08-16 06:20:19,510 : (root) - Record: 0
[INFO ]  2016-08-16 06:20:19,510 : (root) -          Key: throughput_rx_fps, 
Value: 0.000000
[INFO ]  2016-08-16 06:20:19,510 : (root) -          Key: throughput_rx_mbps, 
Value: 0.000
[INFO ]  2016-08-16 06:20:19,510 : (root) -          Key: 
throughput_rx_percent, Value: 0.000
[INFO ]  2016-08-16 06:20:19,510 : (root) -          Key: tx_rate_fps, Value: 
0.000000
[INFO ]  2016-08-16 06:20:19,511 : (root) -          Key: tx_rate_mbps, Value: 
0.000
[INFO ]  2016-08-16 06:20:19,511 : (root) -          Key: tx_rate_percent, 
Value: 0.000
[INFO ]  2016-08-16 06:20:19,511 : (root) -          Key: min_latency_ns, 
Value: 0.000
[INFO ]  2016-08-16 06:20:19,511 : (root) -          Key: max_latency_ns, 
Value: 0.000
[INFO ]  2016-08-16 06:20:19,511 : (root) -          Key: avg_latency_ns, 
Value: 0.000
[INFO ]  2016-08-16 06:20:19,511 : (root) -          Key: type, Value: rfc2544
[INFO ]  2016-08-16 06:20:19,511 : (root) -          Key: packet_size, Value: 64
[INFO ]  2016-08-16 06:20:19,511 : (root) - Write results to file: 
/tmp/results_2016-08-16_06-20-08/result_phy2phy_tput_p2p.csv
[INFO ]  2016-08-16 06:20:19,543 : (root) - Test report written to 
"/tmp/results_2016-08-16_06-20-08/result_phy2phy_tput_p2p.md"
[INFO ]  2016-08-16 06:20:19,557 : (root) - Test report written to 
"/tmp/results_2016-08-16_06-20-08/result_phy2phy_tput_p2p.rst"
[INFO ]  2016-08-16 06:20:19,560 : (root) - Overall test report written to 
"/tmp/results_2016-08-16_06-20-08/OvsDpdkVhost_test_report.rst
 
 
 









David Cui (崔先锋)

Lenovo Research CTL

Lenovo China

6 Shangdi West Road, Haidian, BJ


 [email protected]

Ph: +86 010 58869420

Mobile: +86 18910869420







http://www.lenovo.com Forums | Blogs | Twitter | Facebook | Flickr 








 
 


_______________________________________________
opnfv-tech-discuss mailing list
[email protected]
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to