I see you run the VPP worker on core 6, is it on the same NUMA node as the NIC? 
You can check with 'sh pci' and 'sh thr'.

Best
ben

> -----Original Message-----
> From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of r...@gmx.net
> Sent: Friday, December 30, 2022 20:05
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] Slow VPP performance vs. DPDK l2fwd / l3wfd
> 
> 
> Hi VPP team,
> 
> need to wrap my head around why VPP is not even able to process 10 Mpps
> one single-core setup.
> Afaik VPP xconnect ( comparable to l2fwd) or L3-routing ( l3wfd) should
> yield 10 Mpps even back in 2017 (  slide 15
> https://wiki.fd.io/images/3/31/Benchmarking-sw-data-planes-Dec5_2017.pdf
> or p16 https://lfnetworking.org/wp-
> content/uploads/sites/7/2022/06/benchmarking_sw_data_planes_skx_bdx_mar07_
> 2019.pdf )
> 
> My setup is quite up-to-date:
> 
> Traffic Gen: TRex running on  Intel(R) Xeon(R) Gold 6354 CPU @ 3.00GHz
> DuT:   VPP 22.10  running on Icelake Intel(R) Xeon(R) Platinum 8352Y CPU @
> 2.20GHz
> 
> NICs: ConnectX-6 Dx Dualport
> OS: Ubuntu Server 20.04
> 
> VPP compiled from src . Tag 22.10. Incl. changes to compile for MLX5_PMD.
> 
> VPP show dpdk version:
> DPDK Version:             DPDK 22.07.0
> DPDK EAL init args:       --in-memory --no-telemetry --file-prefix vpp -a
> 0000:4b:00.0,mprq_en=1,rxqs_min_mprq=1,mprq_log_stride_num=9,txq_inline_mp
> w=128,rxq_pkt_pad_en=1 -a
> 0000:4b:00.1,mprq_en=1,rxqs_min_mprq=1,mprq_log_stride_num=9,txq_inline_mp
> w=128,rxq_pkt_pad_en=1
> 
> QUESTION:
> 
> Running the a plain DPDK 22.07 example l2fwd or l3fwd yields > 10 Mpps (
> 100 Gbps line rate) with 1 lcore. Also no additional dpdk options
> required.
> 
> Once I run either xconnect or L3 routing with VPP, the same test drops to
> 6 Mpps or less. It is puzzling why VPP is not even close the same exact
> dpdk l2fwd/ l3wfd example? Any advise?
> 
> 
> Here are the additional cmds to configure either l2fwd or L3-routing in
> VPP:
> 
> ```bash
>  set interface l2 xconnect HundredGigabitEthernet4b/0/0
> HundredGigabitEthernet4b/0/1
>  set interface l2 xconnect HundredGigabitEthernet4b/0/1
> HundredGigabitEthernet4b/0/0
> 
> # l3 routing
>  set interface ip address HundredGigabitEthernet4b/0/0 10.10.1.1/24
>  set interface ip address HundredGigabitEthernet4b/0/1 10.10.2.1/24
>  ip route add 16.0.0.0/8 via 10.10.1.2
>  ip route add 48.0.0.0/8 via 10.10.2.2
> 
> ```
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22403): https://lists.fd.io/g/vpp-dev/message/22403
Mute This Topic: https://lists.fd.io/mt/95959719/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to