I verified the throughput over the link with/without this debug message.
With DEBUG message: 10-15 Mbps
without DEBUG message: 1500 Mbps
Due to this debug message to the stdout, the throughput drops to the
minimum and the latency can't be calculated properly too.
Should i just remove the debug mes
https://bugs.linaro.org/show_bug.cgi?id=3954
Bug ID: 3954
Summary: shm allocator considered wasteful
Product: OpenDataPlane - linux- generic reference
Version: v1.15.0.0
Hardware: Other
OS: Linux
Status: UNCONFIRMED
On 26 July 2018 at 16:01, gyanesh patra wrote:
> Hi,
> Here is the output for the debug messages as advised:
> For this code:
> --
> 541 ODP_DBG("MTU: %" PRIu32 "\n", mtu);
>
> 542 ODP_DBG("NM buf_size: %" PRIu32 "\n", buf_size);
>
> 543 pkt_nm->mtu = (mtu < buf
Hi,
Here is the output for the debug messages as advised:
For this code:
--
541 ODP_DBG("MTU: %" PRIu32 "\n", mtu);
542 ODP_DBG("NM buf_size: %" PRIu32 "\n", buf_size);
543 pkt_nm->mtu = (mtu < buf_size) ? mtu : buf_size;
Output:
-
netmap interface: eth