I am using intel 2P X520 Adapter on Xeon(R) CPU E5-2640 v3 based server running Ubuntu 16.04. I am interested in measuring the performance(throughput) of the application when we change the batching factor at NIC and in application. By changing the batch size in the application, we are getting higher throughput until the PCIe starts becoming the bottleneck.
I am not sure how to change the batch size at the NIC. What needs to be changed in the code to change the batch size at NIC and what is the default batch size for x520 NIC in DPDK (version 16.07) ?
PS: For some of the application larger batch size is a problem as the latency per packet is increased with respect to the batch size. I am just interested in the throughput and not the latency per packet.