On Mon, Jul 21, 2014 at 4:55 PM, Kmindg G <[email protected]> wrote:

> Hi,
> When I set-controller to ovs in sandbox, I find that there're two
> ovs-vswitchd threads.
>
>
> ps  -L -p 19336
>   PID   LWP TTY          TIME CMD
> 19336 19336 ?        00:00:00 ovs-vswitchd
> 19336 19368 ?        00:00:00 handler1
> 19336 19369 ?        00:00:00 revalidator2
> 19336 19370 ?        00:00:00 urcu3
>
> ovs-vsctl set-controller br0 tcp:3.3.3.3
>
> ps -L -p 19336
>
>   PID   LWP TTY          TIME CMD
> 19336 19336 ?        00:00:00 ovs-vswitchd
> 19336 19370 ?        00:00:00 urcu3
> 19336 19615 ?        00:00:00 handler5
> 19336 19616 ?        00:00:00 revalidator4
> 19336 19627 ?        00:00:00 ovs-vswitchd
>
> ps -L -p 19336
>   PID   LWP TTY          TIME CMD
> 19336 19336 ?        00:00:00 ovs-vswitchd
> 19336 19370 ?        00:00:00 urcu3
> 19336 19615 ?        00:00:00 handler5
> 19336 19616 ?        00:00:00 revalidator4
> 19336 19712 ?        00:00:00 ovs-vswitchd
>
> 1. I don't change n_handler_thread or n_revalidator_thread, but handler
> and revalidator threads change.
> 2. thread id of the second ovs-vswitchd changes all the time.
> Is this the expected behavior?
>
> Thanks
> Kmindg
>

Forget to mention that I test with commit db73f71(netdev-dpdk: Fix race
condition with DPDK mempools in non pmd threads) on master branch.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to