[ovs-discuss] Two ovs-vswitchd threads

Kmindg G kmindg at gmail.com
Mon Jul 21 08:55:57 UTC 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140721/c967dce6/attachment-0002.html>


More information about the discuss mailing list