>
>++ pidof ovs-vswitchd
>+ ps -To tid,pid,psr,comm -p 25932
>  TID   PID PSR COMMAND
>25932 25932   1 ovs-vswitchd
>25934 25932   0 eal-intr-thread
>25935 25932   1 dpdk_watchdog1
>25936 25932   2 vhost_thread2
>25937 25932   1 pdump-thread
>25938 25932   8 urcu3
>25939 25932   2 ovs-vswitchd
>25959 25932   1 ct_clean4
>26013 25932   3 handler18
>26014 25932   9 handler17
>26015 25932   3 handler20
>26016 25932  11 handler19
>26022 25932   4 handler21
>26028 25932   9 handler22
>26033 25932  10 handler23
>26037 25932  10 handler24
>26042 25932   9 revalidator25
>26045 25932  10 revalidator26
>26046 25932   0 revalidator27
>26054 25932   2 revalidator28
>26143 25932   5 pmd29
>26144 25932   4 pmd30

This is for the reason that 'dpdk-lcore-mask' hasn't been specified in the 
above case. 
If one specify dpdk-lcore-mask=<mask>, all the 
threads(revalidator/handler/ovs-vswitchd/urc) will automatically be pinned to 
the lowest core of the 'mask'. 

For example with 'ovs-vsctl --no-wait set Open_vSwitch . 
other_config:dpdk-lcore-mask=f00', I would expect the threads to float between 
cores 8 and 11, but all the threads get pinned to lowest core of the core-mask 
which is core 8.  Hope this clears the confusion. 

$ ps -eLo tid,psr,comm | grep -e revalidator -e handler -e ovs -e pmd -e urc -e 
eal
 98443  22 ovsdb-server
 98454   8 ovs-vswitchd
 98465   8 eal-intr-thread
 98471   8 urcu3
 98520   8 handler60
 98521   8 handler59
 98522   8 handler58
 98523   8 handler57
 98524   8 handler43
 98525   8 handler44
 98526   8 handler46
 98527   8 handler47
 98528   8 handler48
 98529   8 handler41
 98530   8 handler55
 98531   8 handler49
 98532   8 handler33
 98533   8 handler40
 98534   8 handler34
 98535   8 handler35
 98536   8 handler50
 98537   8 handler36
 98538   8 handler51
 98539   8 handler56
 98540   8 revalidator37
 98541   8 revalidator52
 98542   8 revalidator42
 98543   8 revalidator38
 98544   8 revalidator39
 98545   8 revalidator45
 98546   8 revalidator53
 98547   8 revalidator54
 98549   4 pmd61

Regards,
Bhanu Prakash. 
>
>
>--
>Christian Ehrhardt
>Software Engineer, Ubuntu Server
>Canonical Ltd
>_______________________________________________
>dev mailing list
>dev@openvswitch.org
>http://openvswitch.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to