TREX not able to generate 40G traffic

359 views
Skip to first unread message

shant...@gmail.com

unread,
Feb 27, 2018, 1:21:45 AM2/27/18
to TRex Traffic Generator
HI all

I am using XL710 card on the TREX host and trying to generate 40Gbs traffic. BUt I see even for 1024 byte packet , max I see from TREX server is only 34Gbps is going.

Tried to distribute lcores as in below yamlo

is there some way we can optimize and get 40G traffic


-------------------------

/etc/trex_cfg.yaml

port_limit : 2
version : 2
#List of interfaces. Change to suit your setup. Use ./dpdk_setup_ports.py -s to see available options
interfaces : ["84:00.1","84:00.0"]
port_info : # Port IPs. Change to suit your needs. In case of loopback, you can leave as is.
- dest_mac : [0x00,0x50,0x56,0xb7,0xA6,0x49] # router mac addr should be taken from router
src_mac : [0x00,0x50,0x56,0x00,0x06,0x02] # source mac-addr - taken from ifconfig
- dest_mac : '00:50:56:b7:87:19'
src_mac : '00:50:56:00:06:02'
vlan : 220
vlan : 221
platform:

master_thread_id : 0
latency_thread_id : 7

dual_if:

- socket: 0
threads: [1,2,3,4,5,6,7,8,9,10]

- socket: 1
threads: [11,12,13,14]

Thanks

Ram

hanoh haim

unread,
Feb 27, 2018, 1:25:35 AM2/27/18
to shant...@gmail.com, TRex Traffic Generator
Can you send the TUI output/command/profile?
Could you check bench.py 

Like this one, and send the output 

Hanoh

--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/3b6ae70a-4159-4800-bc6f-a0f30a2ce88e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Hanoh
Sent from my iPhone

sriramj...@gmail.com

unread,
Mar 1, 2018, 1:44:15 AM3/1/18
to TRex Traffic Generator
HI Hanoh,

Thanks for the response. I could not get bench.py output . getting errors.

here is the TUI output

Output is while testing 70bytes packet size. you can see 100% cpu utilization.

on 40G line, able to send only max of 8.06Gbps


-Per port stats table
ports | 0 | 1
-----------------------------------------------------------------------------------------
opackets | 1851899017 | 0
obytes | 129632930560 | 0
ipackets | 1851899448 | 5
ibytes | 129632958630 | 320
ierrors | 0 | 0
oerrors | 0 | 0
Tx Bw | 8.06 Gbps | 0.00 bps

-Global stats enabled
Cpu Utilization : 100.0 % 16.1 Gb/core
Platform_factor : 1.0
Total-Tx : 8.06 Gbps
Total-Rx : 8.06 Gbps
Total-PPS : 14.39 Mpps
Total-CPS : 0.00 cps

Expected-PPS : 0.00 pps
Expected-CPS : 0.00 cps
Expected-BPS : 0.00 bps

Active-flows : 0 Clients : 0 Socket-util : 0.0000 %
Open-flows : 0 Servers : 0 Socket : 0 Socket/Clients : -nan
Total_queue_full : 55684308
drop-rate : 0.00 bps
current time : 155.1 sec
test duration : 0.0 sec


-Per port stats table
ports | 0 | 1
-----------------------------------------------------------------------------------------
opackets | 1859183889 | 0
obytes | 130142871110 | 0
ipackets | 1859184331 | 5
ibytes | 130142900580 | 320
ierrors | 0 | 0
oerrors | 0 | 0
Tx Bw | 8.06 Gbps | 0.00 bps

-Global stats enabled
Cpu Utilization : 100.0 % 16.1 Gb/core
Platform_factor : 1.0
Total-Tx : 8.06 Gbps
Total-Rx : 8.06 Gbps
Total-PPS : 14.39 Mpps
Total-CPS : 0.00 cps

Expected-PPS : 0.00 pps
Expected-CPS : 0.00 cps
Expected-BPS : 0.00 bps

Active-flows : 0 Clients : 0 Socket-util : 0.0000 %
Open-flows : 0 Servers : 0 Socket : 0 Socket/Clients : -nan
Total_queue_full : 55906400
drop-rate : 0.00 bps
current time : 155.6 sec
test duration : 0.0 sec


Thanks

Ram

hanoh haim

unread,
Mar 1, 2018, 1:54:52 AM3/1/18
to sriramj...@gmail.com, TRex Traffic Generator
This is not the TUI output. Please follow the pointer I’ve sent

--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages