Latency histogram in stateless GUI

345 views
Skip to first unread message

hanan....@gmail.com

unread,
May 14, 2018, 10:55:18 AM5/14/18
to TRex Traffic Generator
Hello,

I am seeing some stability issues with the latency histogram (4.2-SNAPHOT) and was wondering whether there is a know issue.
Sometimes (yet to determine trigger), the latency histogram (either in Charts tab or in Latency tab) stops updating altogether.
Restarting the GUI (and sometimes also the server) solves this.

Also - how are the bins for the histogram determined? There appears to be some state saved somewhere that "remembers" a very high latency number and this caused the bins to be inappropriate (e.g., all the samples fall within one very large bin). Doing a "Clear" does not solve this.

Thanks,

Hanan

hanan....@gmail.com

unread,
May 14, 2018, 11:00:58 AM5/14/18
to TRex Traffic Generator
This is on version 4.2.3.

Anton Kiselev

unread,
May 16, 2018, 3:32:31 PM5/16/18
to TRex Traffic Generator
Hi Hanan,

Thanks for reporting, no we don't have such known issue. We'll try to reproduce this problem and check why clear doesn't help.

Thanks,
Anton

понедельник, 14 мая 2018 г., 21:55:18 UTC+7 пользователь hanan....@gmail.com написал:

egor....@xored.com

unread,
May 21, 2018, 5:42:05 AM5/21/18
to TRex Traffic Generator
Hi Hannan,
Could you please attach information about traffic profile you are using, when this problem appears?

Also you could check latency stats under trex graphical console interface. To use it you should execute these commands from trex directory :
./trex-console -t -r # opens console graphical interface (TUI) in readonly mode
next you should press 'l' (latency) and then toggle histogram view with 'h'. After this you will see histogram similar to displayed in GUI.

If this freezing histogram problem is repeating in trex console, then it might be trex host problem, not GUI, and we should inform Trex Team to investigate this bug.

понедельник, 14 мая 2018 г., 21:55:18 UTC+7 пользователь hanan....@gmail.com написал:

hanan....@gmail.com

unread,
May 22, 2018, 9:38:14 AM5/22/18
to TRex Traffic Generator
Hi,

I am running a very simple traffic profile - just some 1518B UDP packets at ab out 1.3Gbps.

Thank for letting me know about the trex_console - didn't know about it!
Anyhow - the histogram seems to be behaving OK under trex_console - the bins clear as expected when requested, there is no "freeze".
Unfortunately - I can't send screen-shots here (or can I?).

Regards,

Hanan

egor....@xored.com

unread,
May 22, 2018, 10:12:23 AM5/22/18
to TRex Traffic Generator

You can attach files, and images.

Could you please attach your profile settings (it is located here $HOME/TRex/trex/traffic-profiles/<profilename>.yaml).

And please, could you describe scenario of this bug more detailed. How long you should wait to histogram freeze, and which values are displayed on it? It will be helpful you could attach screenshot with freezed histogram, it may help me to catch this bug and investigate it.

вторник, 22 мая 2018 г., 20:38:14 UTC+7 пользователь hanan....@gmail.com написал:

Hanan Moller

unread,
May 23, 2018, 3:58:44 AM5/23/18
to egor....@xored.com, TRex Traffic Generator
yaml files attached - one profile is used on one port, the second profile on a second port.

Here are two screen grabs:
  • The first one (trex_capture_01.png) shows the state after start up. The bin for "8000" (blue) has "close" values on both console and gui, but you can see on the gui side that no other counts are showing - probably because all values captured after I started the gui are much lower than the 8000 bin.
  • The second screen grab (trex_capture_02.png) shows the state after hitting "clear" on both console and gui - this was done maybe 20 seconds after the first snapshot.
    The bins on the gui are not changed at all, and I guess as all latency numbers are much lower, nothing shows in the gui.
I hope this will help find the issue!

One more note is that the latency histogram in the "Charts" tab does not always display.

Thank you for developing/maintaining this tool - very very helpful indeed!

Hanan

--
You received this message because you are subscribed to a topic in the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/trex-tgn/WPJ06e8eii0/unsubscribe.
To unsubscribe from this group and all its topics, 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/378aa4c9-3ac6-440b-96c1-ef69f4e72dd2%40googlegroups.com.

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

udp_1518_A.yaml
udp_1518_B.yaml
trex_capture_01.PNG
trex_capture_02.PNG

egor....@xored.com

unread,
May 23, 2018, 9:07:25 AM5/23/18
to TRex Traffic Generator

One more question, do you have any glitches with other latency stats, or only histogram?
E.g. these latency charts (Max, Avg, Jitter etc.):




среда, 23 мая 2018 г., 14:58:44 UTC+7 пользователь Hanan Moller написал:
To unsubscribe from this group and all its topics, send an email to trex-tgn+u...@googlegroups.com.

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

egor....@xored.com

unread,
May 25, 2018, 5:52:00 AM5/25/18
to TRex Traffic Generator
Hi again, Hanan.

Check out latest release of TRext stateless GUI: https://github.com/cisco-system-traffic-generator/trex-stateless-gui/releases/tag/v4.3

We tried to fix possible problem areas of procedure which getting latency stats. Please check latest release to find out whether this solves your problem. Otherwise let me know, we will provide you special build with logging to get more info about possible reasons.

Thank you for responsivness.

(and I very much apologize for my typo in your name in other my message)

среда, 23 мая 2018 г., 14:58:44 UTC+7 пользователь Hanan Moller написал:
yaml files attached - one profile is used on one port, the second profile on a second port.
To unsubscribe from this group and all its topics, send an email to trex-tgn+u...@googlegroups.com.

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

Hanan Moller

unread,
May 25, 2018, 6:06:32 AM5/25/18
to egor....@xored.com, TRex Traffic Generator
Hi Egor,

I have tried this version (downloaded the 4.3 exe file) but can't see a difference in behaviour.
Help->About says "4.2 Snaphot" -- do you expect that? I just want make sure I am using the correct version.

Hanan

To unsubscribe from this group and all its topics, send an email to trex-tgn+unsubscribe@googlegroups.com.

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

egor....@xored.com

unread,
May 25, 2018, 6:18:18 AM5/25/18
to TRex Traffic Generator
This is correct file, I will send build with logging to you by email.

пятница, 25 мая 2018 г., 17:06:32 UTC+7 пользователь Hanan Moller написал:
Reply all
Reply to author
Forward
0 new messages