> 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?
Yes, we use a Debian buster with preempt-rt patched kernel. Additionally, we use isolcpus for the RT relevant threads. Apart from achieving low latency, we use this tool to measure the maximum latency over a long period of time. This gives a good estimate that the system behaves deterministically, even under high load. The tool also has a built-in mechanism to set trace points when a threshold is hit, to later inspect the kernel logs. > > > 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/. > Ok, got it. There were some issues reported by checkpatch. I'll fix them and move to apps. Thanks for the hint!