> 2021/04/03 2:46、Ben Pfaff <b...@ovn.org>のメール:
> 
> Your sample shell script shows enabling DPDK with dpdk-init after
> starting OVS.  Most OVS features can be reconfigured at runtime, but not
> this one.  Changing this value requires restarting the daemon.  That
> might be the problem you see.

Thanks for the confirmation.
I did a deamon restarting with the following commands, but no change.
DPDK is enabled, and the PMDs seems to be running.

1. If the setup is correct, should PMDs also be responsible for
   polling the tap interface? Here, OvS/DPDK connects the physical
   interface to the tap interface.

2. If you know the name of the corresponding function in the PMDs,
   could you please let me know? I would like to use uprobe or something
   similar for further investigation.

ovs-ctl restart
ovs-vsctl get Open_vSwitch . dpdk_initialized
# true

pidstat -p $(pgrep ovs-vswitchd) -t 1
# 03:19:01 PM   UID      TGID       TID    %usr %system  %guest    %CPU   CPU  
Command
# 03:19:02 PM     0     41811         -  100.00    7.00    0.00  100.00     4  
ovs-vswitchd
# 03:19:02 PM     0         -     41811    7.00    5.00    0.00   12.00     4  
|__ovs-vswitchd
# 03:19:02 PM     0         -     41930  100.00    0.00    0.00  100.00     3  
|__pmd-c03/id:5
# 03:19:02 PM     0         -     41931    0.00    0.00    0.00    0.00     0  
|__pmd-c00/id:6
# 03:19:02 PM     0         -     41932    0.00    0.00    0.00    0.00     1  
|__pmd-c01/id:7
# 03:19:02 PM     0         -     41933    0.00    0.00    0.00    0.00     2  
|__pmd-c02/id:8

ovs-appctl dpif-netdev/pmd-rxq-show
# pmd thread numa_id 0 core_id 0:
#  isolated : false
# pmd thread numa_id 0 core_id 1:
#  isolated : false
# pmd thread numa_id 0 core_id 2:
#   isolated : false
# pmd thread numa_id 0 core_id 3:
#   isolated : false
#   port: enp94s0f1         queue-id:  0 (enabled)   pmd usage:  0 %
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to