[RFC,0/1] Add l2reflect measurement application
mbox series

Message ID 20200703151811.38372-1-felix.moessbauer@siemens.com
Headers show
Series
  • Add l2reflect measurement application
Related show

Message

Felix Moessbauer July 3, 2020, 3:18 p.m. UTC
Dear Maintainers,

this patch adds a measurement application to benchmark the latency
of transmitting l2 packets via DPDK.

We add this application to the examples folder, as similar tools
were placed there as well.
Note: the example has an optional dependency to cjson for creating a
json representation of the latency diagram.

Sending this as RFC as this patch does not modify libdpdk.

Best regards,
Felix Mößbauer

Felix Moessbauer (1):
  Add l2reflect measurement application

 examples/l2reflect/Makefile    |  31 ++
 examples/l2reflect/l2reflect.h |  56 +++
 examples/l2reflect/main.c      | 833 +++++++++++++++++++++++++++++++++
 examples/l2reflect/meson.build |  21 +
 examples/l2reflect/stats.c     | 198 ++++++++
 examples/l2reflect/stats.h     |  67 +++
 examples/meson.build           |   1 +
 7 files changed, 1207 insertions(+)
 create mode 100644 examples/l2reflect/Makefile
 create mode 100644 examples/l2reflect/l2reflect.h
 create mode 100644 examples/l2reflect/main.c
 create mode 100644 examples/l2reflect/meson.build
 create mode 100644 examples/l2reflect/stats.c
 create mode 100644 examples/l2reflect/stats.h

Comments

Thomas Monjalon July 3, 2020, 3:51 p.m. UTC | #1
03/07/2020 17:18, Felix Moessbauer:
> Dear Maintainers,
> 
> this patch adds a measurement application to benchmark the latency
> of transmitting l2 packets via DPDK.

Are you using a real time system to reduce latency?

> We add this application to the examples folder, as similar tools
> were placed there as well.

No, the examples are not supposed to be tools.
They demonstrate some APIs.

If it is a tool to measure performance, and can be used in a CI,
I think it is better hosted in the directory apps/.