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 <[email protected]>:
> 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 <[email protected]>:
>
>> 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 you mean each applications seperate into different thread? or every
>> switch handled by different thread?
>>
>>
>>
>> 2016-10-31 18:58 GMT+08:00 PUZZLE <[email protected]>:
>>
>>> 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 <[email protected]>:
>>>
>>>> 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 OpenFlow feature Ryu does not support?",
>>>> right?
>>>>
>>>> Thanks,
>>>> Iwase
>>>>
>>>>
>>>>
>>>> On 2016年10月31日 10:33, PUZZLE wrote:
>>>>
>>>>> 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 tooling catch you by surprise?
>>>>> Reconnect with the command line and become more productive.
>>>>> Learn the new .NET and ASP.NET CLI. Get your free copy!
>>>>> http://sdm.link/telerik
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Ryu-devel mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>>>>
>>>>>
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> The Command Line: Reinvented for Modern Developers
>>> Did the resurgence of CLI tooling catch you by surprise?
>>> Reconnect with the command line and become more productive.
>>> Learn the new .NET and ASP.NET CLI. Get your free copy!
>>> http://sdm.link/telerik
>>> _______________________________________________
>>> Ryu-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>>
>>>
>>
>>
>> --
>> Yi Tseng (a.k.a Takeshi)
>> Taiwan National Chiao Tung University
>> Department of Computer Science
>> W2CNLab
>>
>> https://takeshi.tw
>>
>
>
--
Yi Tseng (a.k.a Takeshi)
Taiwan National Chiao Tung University
Department of Computer Science
W2CNLab
https://takeshi.tw
------------------------------------------------------------------------------
The Command Line: Reinvented for Modern Developers
Did the resurgence of CLI tooling catch you by surprise?
Reconnect with the command line and become more productive.
Learn the new .NET and ASP.NET CLI. Get your free copy!
http://sdm.link/telerik
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel