-
Bug
-
Resolution: Not a Bug
-
Undefined
-
None
-
None
-
None
-
False
-
-
False
-
-
Description of problem:
Version-Release numemphasized textber of selected component (if applicable):
openvswitch2.17-2.17.0-137.el9fdp
How reproducible:
Run ovs dpdk vhostuser 4queue 8pmd vlan case.
Steps to Reproduce:
Run following script test.sh
modprobe openvswitch systemctl stop openvswitch sleep 3 systemctl start openvswitch sleep 3 ovs-vsctl --if-exists del-br ovsbr0 sleep 5 modprobe openvswitch systemctl stop openvswitch sleep 3 systemctl start openvswitch sleep 3 ovs-vsctl --if-exists del-br ovsbr0 sleep 5 ovs-vsctl add-br ovsbr0 ovs_pid=`pgrep ovs-vswitchd` ovs_cpu_current=`taskset -p ${ovs_pid}|awk -F ' ' '{printf $6}'` taskset -cp 2 ${ovs_pid} sleep 10 ovs_cpu_new=`taskset -p ${ovs_pid}|awk -F ' ' '{printf $6}'` revalidator_pid=`ps -T -p ${ovs_pid}|grep revalidator|head -n 1|awk -F ' ' '{printf $2}'` revalidator_cpu=`taskset -p ${revalidator_pid}|awk -F ' ' '{printf $6}'` if [ $revalidator_cpu == $ovs_cpu_new ];then echo "pass" else echo "fail" fi
Actual results:
[root@dell-per750-37 ~]# sh test.sh
pid 43900's current affinity list: 0,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79
pid 43900's new affinity list: 2
fail
It can work well on ovs3.1
[root@dell-per750-37 ~]# sh test.sh
pid 45160's current affinity list: 0,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79
pid 45160's new affinity list: 2
pass
Expected results:
It can work well on ovs2.17.