Hi Mohsin,
Please see below:
>
>
>
> Can you please share the numbers you are getting?
>
>
*Without VPP, I get 5Gbps. With VPP I get ~2Gbps.*
>
>
>
> And also please share the output of:
>
>
>
> sh hardware
>
>
>
> sh tap
>
>
>
> sh threads
>
>
>
> sh cpu
>
>
Please see in the attachments.
Thank you.
root@ubuntu2004:/home/ubuntu# vppctl sh hardware
Name Idx Link Hardware
enp0s8 1 up enp0s8
Link speed: 4294 Gbps
RX Queues:
queue thread mode
0 vpp_wk_0 (1) polling
Ethernet address 08:00:27:76:f4:06
Red Hat Virtio
carrier up full duplex mtu 9206 promisc
flags: admin-up promisc pmd maybe-multiseg
Devargs:
rx: queues 1 (max 1), desc 256 (min 0 max 65535 align 1)
tx: queues 1 (max 1), desc 256 (min 0 max 65535 align 1)
pci: device 1af4:1000 subsystem 1af4:0001 address 0000:00:08.00 numa 0
max rx packet len: 9728
promiscuous: unicast on all-multicast on
vlan offload: strip off filter off qinq off
rx offload avail: vlan-strip udp-cksum tcp-cksum tcp-lro vlan-filter
jumbo-frame scatter
rx offload active: jumbo-frame scatter
tx offload avail: vlan-insert udp-cksum tcp-cksum tcp-tso multi-segs
tx offload active: multi-segs
rss avail: none
rss active: none
tx burst function: virtio_xmit_pkts
rx burst function: virtio_recv_mergeable_pkts
tx frames ok 47
tx bytes ok 5720
rx frames ok 9
rx bytes ok 770
extended stats:
rx_good_packets 9
tx_good_packets 47
rx_good_bytes 770
tx_good_bytes 5720
rx_q0_packets 9
rx_q0_bytes 770
tx_q0_packets 47
tx_q0_bytes 5720
rx_q0_good_packets 9
rx_q0_good_bytes 770
rx_q0_undersize_packets 2
rx_q0_size_65_127_packets 7
tx_q0_good_packets 47
tx_q0_good_bytes 5720
tx_q0_multicast_packets 38
tx_q0_broadcast_packets 1
tx_q0_undersize_packets 3
tx_q0_size_65_127_packets 29
tx_q0_size_128_255_packets 15
local0 0 down local0
Link speed: unknown
local
tap0 2 up tap0
Link speed: unknown
RX Queues:
queue thread mode
0 vpp_wk_1 (2) polling
Ethernet address 02:fe:f6:35:06:33
VIRTIO interface
instance 0
root@ubuntu2004:/home/ubuntu# vppctl sh cpu
Model name: AMD Ryzen 7 4800H with Radeon Graphics
Microarch model (family): unknown (family 0x0f model 0x60)
Flags: sse3 pclmulqdq ssse3 sse41 sse42 avx rdrand avx2
rdseed aes invariant_tsc
Base frequency: 2.89 GHz
oot@ubuntu2004:/home/ubuntu# vppctl sh tap
Interface: tap0 (ifindex 2)
name "tap0"
host-ns "(nil)"
host-mac-addr: 02:fe:fa:c8:b3:ca
host-carrier-up: 1
vhost-fds 38 39 40 41 42
tap-fds 37
gso-enabled 1
csum-enabled 0
packet-coalesce 0
packet-buffering 0
Mac Address: 02:fe:f6:35:06:33
Device instance: 0
flags 0x1
admin-up (0)
features 0x110008000
VIRTIO_NET_F_MRG_RXBUF (15)
VIRTIO_RING_F_INDIRECT_DESC (28)
VIRTIO_F_VERSION_1 (32)
remote-features 0x33d008000
VIRTIO_NET_F_MRG_RXBUF (15)
VIRTIO_F_NOTIFY_ON_EMPTY (24)
VHOST_F_LOG_ALL (26)
VIRTIO_F_ANY_LAYOUT (27)
VIRTIO_RING_F_INDIRECT_DESC (28)
VIRTIO_RING_F_EVENT_IDX (29)
VIRTIO_F_VERSION_1 (32)
VIRTIO_F_IOMMU_PLATFORM (33)
Number of RX Virtqueue 1
Number of TX Virtqueue 5
Virtqueue (RX) 0
qsz 256, last_used_idx 60, desc_next 32, desc_in_use 228
avail.flags 0x1 avail.idx 288 used.flags 0x1 used.idx 60
kickfd 44, callfd 43
Virtqueue (TX) 1
qsz 256, last_used_idx 0, desc_next 0, desc_in_use 0
avail.flags 0x1 avail.idx 0 used.flags 0x0 used.idx 0
kickfd 45, callfd -1
Virtqueue (TX) 3
qsz 256, last_used_idx 20, desc_next 21, desc_in_use 1
avail.flags 0x1 avail.idx 21 used.flags 0x0 used.idx 21
kickfd 46, callfd -1
Virtqueue (TX) 5
qsz 256, last_used_idx 0, desc_next 0, desc_in_use 0
avail.flags 0x1 avail.idx 0 used.flags 0x0 used.idx 0
kickfd 47, callfd -1
Virtqueue (TX) 7
qsz 256, last_used_idx 0, desc_next 0, desc_in_use 0
avail.flags 0x1 avail.idx 0 used.flags 0x0 used.idx 0
kickfd 48, callfd -1
Virtqueue (TX) 9
qsz 256, last_used_idx 0, desc_next 0, desc_in_use 0
avail.flags 0x1 avail.idx 0 used.flags 0x0 used.idx 0
kickfd 49, callfd -1
root@ubuntu2004:/home/ubuntu# vppctl sh threads
ID Name Type LWP Sched Policy (Priority) lcore
Core Socket State
0 vpp_main 10288 other (0) 1
1 0
1 vpp_wk_0 workers 10291 other (0) 4
4 0
2 vpp_wk_1 workers 10292 other (0) 5
5 0
3 vpp_wk_2 workers 10293 other (0) 6
6 0
4 vpp_wk_3 workers 10294 other (0) 7
7 0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21165): https://lists.fd.io/g/vpp-dev/message/21165
Mute This Topic: https://lists.fd.io/mt/90135014/21656
Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-