Before enable dpdk, all ovs-vswitch threads were affinitied to cpu 0-27. Cpu 
28-31 were isolated in grub, will used for pmd.
After enable dpdk, many threads were affinitied only to the first lcore cpu.

Below is the output:
# ovs-vsctl --no-wait set Open_vSwitch . 
other_config:dpdk-socket-mem="4096,4096"
# ovs-vsctl --no-wait set Open_vSwitch . other_config:pmd-cpu-mask="0xf0000000" 
 # cpu 28-31
# ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-lcore-mask=2         
 # cpu 1
# ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true
# taskset -apc `pidof ovs-vswitchd`
pid 260702's current affinity list: 1      "ovs-vswitchd" main thread
pid 260709's current affinity list: 0-27   "urcu4"
pid 260742's current affinity list: 0-27   "ct_clean39"
pid 260743's current affinity list: 0-27   "ipf_clean40"
pid 260836's current affinity list: 0,2-27 "eal-intr-thread"
pid 260837's current affinity list: 0,2-27 "telemetry-v2"   
pid 260838's current affinity list: 1      "dpdk_watchdog69"
pid 260839's current affinity list: 1      "ovs_vhost70"    
pid 260840's current affinity list: 30     "pmd-c30/id:71"  
pid 260841's current affinity list: 31     "pmd-c31/id:72"  
pid 260842's current affinity list: 28     "pmd-c28/id:73"  
pid 260843's current affinity list: 29     "pmd-c29/id:74"  
pid 260856's current affinity list: 1      "handler75"      for netdev dataplane
pid 260857's current affinity list: 1      "revalidator76"  for netdev dataplane
pid 260861's current affinity list: 1      "handler77"      for system dataplane
pid 260862's current affinity list: 1      "handler78"      for system dataplane
pid 260863's current affinity list: 1      "revalidator79"  for system dataplane

Is there anying wrong here ?
Regards.
Chang Limin
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to