dpdk l2fwd performance issue in VM

Stephen Hemminger stephen at networkplumber.org
Tue Nov 22 18:24:23 CET 2022


On Tue, 22 Nov 2022 11:17:48 +0530
Illayaraja M <illayaraj02 at gmail.com> wrote:

> I have two l2fwd applications namely P1 and P2. P1 receives the external
> traffic and sends it to P2 and P2 simply changes the mac address and sends
> it back to P1. Finally P1 sends the packet out to the external network.
> With the above setup I'm able to achieve only 330Mbps traffic without
> packet loss.

Is the VM running with dedicated CPU's?
Each application running with dedicated virtual CPU's?
Which hypervisor?
Which virtual NIC/

Sending packets between applications always causes one or more cache misses.
And the memory bandwidth can be a limiting factor.


More information about the dev mailing list