Re: [Ryu-devel] Multithreading support

2016-10-31 Thread Yi Tseng
I think the problem is the scalability across multiple CPUs. In Ryu, you need to call sleep to let other thread running. Threads won't work parallelly. 2016-10-31 19:19 GMT+08:00 PUZZLE : > for example i read that POX for example do not support multi-threading, so > it shows no scalability acros

Re: [Ryu-devel] Multithreading support

2016-10-31 Thread PUZZLE
for example i read that POX for example do not support multi-threading, so it shows no scalability across 12 CPU cores in a throughput performance test using the cbench tool, and i was wondering is it the same if we run the same tests on ryu 2016-10-31 11:16 GMT+00:00 Yi Tseng : > Hi > > Currentl

Re: [Ryu-devel] Multithreading support

2016-10-31 Thread Yi Tseng
Hi Currently, Ryu supports eventlet only. Ryu won't work if you don't use eventlet. By the way, I don't understand "multithreading" you mean here because every modern programming language supports multithread. (Python, C, java...) Old controller like also support multithreading (see, NOX-MT) Or

Re: [Ryu-devel] Multithreading support

2016-10-31 Thread PUZZLE
Hi, Thank you very much for your response, so if we didn't activate the eventlet feature ryu wont be multithreading? My other question was about the other controllers, if known, that doesn't support the multithreading Thanks 2016-10-31 2:44 GMT+00:00 Iwase Yusuke : > Hi, > > Yes, Ryu does suppor

Re: [Ryu-devel] Multithreading support

2016-10-30 Thread Iwase Yusuke
Hi, Yes, Ryu does support the multithreading using eventlet. You can use ryu.lib.hub.spawn() to invoke a new thread. https://github.com/osrg/ryu/blob/master/ryu/lib/hub.py#L47 For the latter question, I'm sorry, I could not understand the latter question enough. The question is "is there any O

[Ryu-devel] Multithreading support

2016-10-30 Thread PUZZLE
Hi, I have a question please, does RYU support the multithreading? and what are the SDN controllers that does not support it? Thank you All -- The Command Line: Reinvented for Modern Developers Did the resurgence of CLI too