hi experts,

Send this mail for some help.
rte_eth_stats_get (xd->port_id, &xd->stats)
rte_eth_xstats_get (xd->port_id, xd->xstats, len)
APIs in dpdk_update_counters() node "dpdk_process" will cost about 140ms each 
physical interface every 10s DPDK_STATS_POLL_INTERVAL.
main_thread will blocked N*140 ms when N physical interface in up state.(2 if 
lead to 280ms delay in my case )
if govpp send heartbeat message to VPP,  VPP main_thread will have chance delay 
to read msg and reply, when VPP main_thread blocked by doing update_counters.
link between GoVPP and VPP will turn down when delay time more than 250ms. It 
is easy to reproduce the scenario.
is there any plan to fix it or some suggestion to avoid it? Many thanks!

env details:
GoVPP:v0.3.5
DPDK version: 20.05
VPP version:20.09
centos7 + Intel X710
expansion-rom-version:
bus-info: 0000:19:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes

startup.conf dpdk uio-driver vfio_pci
driver: i40evf version: 3.2.2-k

B&R,
Ruitao
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20657): https://lists.fd.io/g/vpp-dev/message/20657
Mute This Topic: https://lists.fd.io/mt/87894754/21656
Mute #dpdk:https://lists.fd.io/g/vpp-dev/mutehashtag/dpdk
Mute #govpp:https://lists.fd.io/g/vpp-dev/mutehashtag/govpp
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to