[ovs-discuss] general question about synchronization in ovs

Justin Pettit jpettit at ovn.org
Thu Dec 15 23:58:35 UTC 2016


The code is pretty well documented.  I'd recommend looking through the code (e.g., lib/classifier.h) and looking for words like "thread" and "rcu".

--Justin


> On Dec 15, 2016, at 12:59 PM, Yuxin Ren <ryx at gwmail.gwu.edu> wrote:
> 
> Yes,  I am learning the code now.
> But I do not know which code provide synchronization around the shared
> data structure.
> 
> Could you give me some guidance?
> 
> Thank you very much!
> Yuxin
> 
> On Thu, Dec 15, 2016 at 3:54 PM, Justin Pettit <jpettit at ovn.org> wrote:
>> 
>>> On Dec 15, 2016, at 7:54 AM, Yuxin Ren <ryx at gwmail.gwu.edu> wrote:
>>> 
>>> Hi,
>>> 
>>> I am a beginner to OVS.
>>> I have some basic questions about OVS.
>>> 
>>> Is it a multiple threads application?
>>> If so, what data structures are shared by multiple threads?
>>> What synchronization technique is used to protect shared data structures?
>> 
>> Yes, it's multithreaded.  Have you tried looking at the code?
>> 
>> --Justin
>> 
>> 



More information about the discuss mailing list