Bug 185 - PVP zero-loss performance degradation without --legacy-mem
Summary: PVP zero-loss performance degradation without --legacy-mem
Status: CONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: core (show other bugs)
Version: 18.05
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Maxime Coquelin
URL:
Depends on:
Blocks:
 
Reported: 2019-01-10 11:52 CET by Maxime Coquelin
Modified: 2020-09-16 23:53 CEST (History)
3 users (show)



Attachments

Description Maxime Coquelin 2019-01-10 11:52:59 CET
When doing PVP (Physical to Virtual to Physical) testing,
we measure a performance degradation when testpmd in guest
is launched without the --legacy-mem parameter.
P to V and V to P forwarding is done using OVS-DPDK on host side.

Without the --legacy-mem option, we get ~23% of line rate at 10G.
With the --legacy-mem option, we get ~29% of line rate at 10G.

1G hugepages are used both in host and guest.

Testpmd command line used in guest:
testpmd -c 7 -n 4 --socket-mem 2048 0 -w 0000:00:02.0 --legacy-mem -- --burst 64 -i --rxq=2 --txq=2 --rxd=4096 --txd=1024 --coremask=6 --auto-start --port-topology=chained --forward-mode=macswap

testpmd -c 7 -n 4 --socket-mem 2048 0 -w 0000:00:02.0 -- --burst 64 -i --rxq=2 --txq=2 --rxd=4096 --txd=1024 --coremask=6 --auto-start --port-topology=chained --forward-mode=macswap
Comment 1 Maxime Coquelin 2019-01-10 11:55:10 CET
Note that the issue is seen starting v18.05, but is reproduced with DPDK v18.11 LTS.
Comment 2 Anatoly Burakov 2019-01-10 12:27:41 CET
Does it by any chance depend on IOVA contiguousness? And what is the IOVA mode when running these?
Comment 3 Ajit Khaparde 2020-09-16 23:53:35 CEST
Maxime, IS this still an issue? If yes, can you respond to Anatoly's questions? Thanks

Note You need to log in before you can comment on or make changes to this bug.