Issues with FTP Example

55 views
Skip to first unread message

architpa...@gmail.com

unread,
Jun 7, 2020, 11:49:27 AM6/7/20
to TRex Traffic Generator
Hello all,

I'm using trex for testing DPDK's Quality of Service framework. We're utilizing the FTP example in ASTF mode found here: https://github.com/cisco-system-traffic-generator/trex-core/blob/master/scripts/astf/ftp_multiple_flows_sim.py.

We're facing an issue where trex is not saturating the 10Gbps link with less than 500 flows. I'm noticing that the tx rate rises exponentially with the number of flows used i.e. 1 flow can only send data at 2.5kbps, but with 10 flows tx rate jumps upto 100Mbps. This is concerning since even iperf can send upto 3Gbps using the normal kernel stack.

Is this a known limitation with trex? Can I tweak certain parameters to see higher TX rates?

Thanks in advance!

hanoh haim

unread,
Jun 7, 2020, 1:19:53 PM6/7/20
to architpa...@gmail.com, TRex Traffic Generator
Hi,
nflow is not the number of active flow. It the total of flows. Have a look into http_simple.py for an example of active flows.

Try iperf with 40M flows, I think you will end up with out of memory exception ..  or worse 

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/2939b868-373b-41c4-8bd6-47804dd26b7ao%40googlegroups.com.
--
Hanoh
Sent from my iPhone

Archit Pandey

unread,
Jun 8, 2020, 11:17:35 AM6/8/20
to hanoh haim, TRex Traffic Generator
Hi, 

Thanks for pointing that out. 

So I'm currently starting all the nflows at t=0, i.e. by setting cps=nflows.

So far, Trex has been great when working with a large number of concurrent flows. It is true that iperf will not work with 40M flows. However, I'm trying to combat a different issue currently.

 I would like to configure trex to use 10 flows with each sending data at 1Gbps, so that together they can saturate the 10Gbps link. Any ways this can be achieved? 

Thanks, 

--
Archit Pandey
Senior Year Undergraduate Student
Department of Computer Science and Engineering
National Institute of Technology Karnataka
Surathkal, India

hanoh haim

unread,
Jun 8, 2020, 1:42:56 PM6/8/20
to Archit Pandey, TRex Traffic Generator

Yes, you need to generate elephant flow.  Have a look into eFlow2.py example
I was able to generate 10gbps flow.

Thanks
Hanoh 

Reply all
Reply to author
Forward
0 new messages