total-TX and RX mismatch with drop-rate 0

130 views
Skip to first unread message

Wansoo Kim

unread,
May 8, 2017, 3:45:54 AM5/8/17
to TRex Traffic Generator

Hi,

I installed TREX on my PC (centOS 7.3, i5, 64G mem, SDD, 3 nic) and tested.
Regardless of loopback or connected to asr1k router, there is always mismatch with Total-TX and Total-RX while drop-rate 0.

For example, now total-tx is 43.54Mbps while total-rx is 40.88Mbps. Drop rate is 0.00bps.
From the router show command, all TX packet goes to another TREX interface.
It was same even tested with loopback. CPU util is around 2%.

I test with as
./.t-rex-64 -f cap2/imix_64.yaml -m 10 -d 100

How can I fix this issue?


Thanks in advance!!!

hanoh haim

unread,
May 8, 2017, 3:54:59 AM5/8/17
to Wansoo Kim, TRex Traffic Generator

Hi


TUI/Server Drop rate is based on global port counters bandwidth and we can't be sure that there is drop in the *middle* of the test. We are showing rx-rate - tx-rate only if it is greater than 5%. So zero does *not* mean zero drop.


You should use the Python API at the end of the test to be sure that there is a drop.


thanks, 

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+unsubscribe@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/7c84f8de-e648-4d26-8d07-c36510108f58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Hanoh
Sent from my iPhone

Wansoo Kim

unread,
May 10, 2017, 12:45:41 AM5/10/17
to TRex Traffic Generator, nonb...@gmail.com
On Monday, May 8, 2017 at 4:54:59 PM UTC+9, Hanoch Haim wrote:
> Hi
>
>
>
> TUI/Server Drop rate is based on global port counters bandwidth and we can't be sure that
> there is drop in the *middle* of the test. We are showing rx-rate - tx-rate only
> if it is greater than 5%. So zero does *not* mean zero drop.
>
>
>
>
>
>
> You
> should use the Python API at the end of the test to be sure that there is a
> drop.
>
>
>
>
> thanks, 
>
>
> Hanoh
>
>
> On Mon, May 8, 2017 at 10:45 AM, Wansoo Kim <nonb...@gmail.com> wrote:
>
>
> Hi,
>
>
>
> I installed TREX on my PC (centOS 7.3, i5, 64G mem, SDD, 3 nic) and tested.
>
> Regardless of loopback or connected to asr1k router, there is always mismatch with Total-TX and Total-RX while drop-rate 0.
>
>
>
> For example, now total-tx is 43.54Mbps while total-rx is 40.88Mbps. Drop rate is 0.00bps.
>
> From the router show command, all TX packet goes to another TREX interface.
>
> It was same even tested with loopback. CPU util is around 2%.
>
>
>
> I test with as
>
> ./.t-rex-64 -f cap2/imix_64.yaml -m 10 -d 100
>
>
>
> How can I fix this issue?
>
>
>
>
>
> Thanks in advance!!!
>
>
>
> --
>
> 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/7c84f8de-e648-4d26-8d07-c36510108f58%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
>
> --
>
>
>
> HanohSent from my iPhone

Thanks Hanoh,

I came to find out that the packet loss is only at the beginning time of the packet test.
For 3~4 seconds, there are packet loss and after then, there is no packet loss.

So, I tried to fix out by static ARP but, the result is same.
Do you have any idea about that?

hanoh haim

unread,
May 10, 2017, 2:37:38 AM5/10/17
to Wansoo Kim, TRex Traffic Generator
Hi,
maybe it is due to  the link stability of your DUT/ Switch SPT 

try :
1) use  -k 10 or -w 10
2) Disable Switch Spanning tree 

thanks,
Hanoh

To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.

To post to this group, send email to trex...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Wansoo Kim

unread,
May 10, 2017, 3:39:27 AM5/10/17
to TRex Traffic Generator, nonb...@gmail.com
On Wednesday, May 10, 2017 at 3:37:38 PM UTC+9, Hanoch Haim wrote:
> Hi,maybe it is due to  the link stability of your DUT/ Switch SPT 
> To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/878ba559-dd1b-4412-b65e-d8c0970d867f%40googlegroups.com.
>
>
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
>
> --
>
>
>
> HanohSent from my iPhone

with -w 10 option, it works.

Thanks so much!
Reply all
Reply to author
Forward
0 new messages