Re: [Ryu-devel] Installing multiple flows in parrallel

2017-06-29 Thread Iwase Yusuke
Hi Corry, On 2017年06月28日 18:58, corey ross wrote: Thank you all for your replies... Yes, It seems the multiprocess module doesn't work properly in ryu... I did some experiment with multiprocess and Thread modules also without any threading. when I used multiprocess module none of the rules go

Re: [Ryu-devel] Installing multiple flows in parrallel

2017-06-28 Thread corey ross
Thank you all for your replies... Yes, It seems the multiprocess module doesn't work properly in ryu... I did some experiment with multiprocess and Thread modules also without any threading. when I used multiprocess module none of the rules got installed on the switches, and with threads it did wo

Re: [Ryu-devel] Installing multiple flows in parrallel

2017-06-21 Thread Iwase Yusuke
Hi Yi, On 2017年06月22日 05:18, Yi Tseng wrote: > Hi Iwase, > > I am not sure we can do that with multiprocessing module. > > Might need to change Ryu event mechanism to do that (e.g. need to send events > to different process...) Yes you are right. I tried to use multiprocessing module a little

Re: [Ryu-devel] Installing multiple flows in parrallel

2017-06-21 Thread Yi Tseng
Hi Iwase, I am not sure we can do that with multiprocessing module. Might need to change Ryu event mechanism to do that (e.g. need to send events to different process...) Yi 2017-06-20 18:48 GMT-07:00 Iwase Yusuke : > Hi Corry and Yi, > > > On 2017年06月21日 03:14, Yi Tseng wrote: > > Hi, > > > >

Re: [Ryu-devel] Installing multiple flows in parrallel

2017-06-20 Thread Iwase Yusuke
Hi Corry and Yi, On 2017年06月21日 03:14, Yi Tseng wrote: > Hi, > > I think we have some similar thread before: > https://sourceforge.net/p/ryu/mailman/ryu-devel/thread/CAM5MNiVPXW3xWeoHPMriXvSKkUnAHbgv6LqRZ%2BrE5rOZqDKaLQ%40mail.gmail.com/#msg35801377 > > Basically, I would suggest using multiple

Re: [Ryu-devel] Installing multiple flows in parrallel

2017-06-20 Thread Yi Tseng
Hi, I think we have some similar thread before: https://sourceforge.net/p/ryu/mailman/ryu-devel/thread/CAM5MNiVPXW3xWeoHPMriXvSKkUnAHbgv6LqRZ%2BrE5rOZqDKaLQ%40mail.gmail.com/#msg35801377 Basically, I would suggest using multiple Ryu instance(process) to install flows to switch. 2017-06-19 3:44 G

Re: [Ryu-devel] Installing multiple flows in parrallel

2017-06-19 Thread corey ross
Yes I am referring to the first statement "multi-thread on Python is not effective enough"... Please let me give another example to make my question more clear Lets say the routing algorithm wants to update the paths on switch S1, S2, S3. One way is to update all the switches at time 0 (in paralle

Re: [Ryu-devel] Installing multiple flows in parrallel

2017-06-18 Thread Iwase Yusuke
Hi, On 2017年06月17日 20:47, corey ross wrote: > Hey there, > I was wondering if it is possible to install multiple flows in parallel, if > yes how? > > for e.g if I have a topology of three switches (s1, s2, s3), I want to > install flow-rules f1 on s1, f2 on s2 and f3 on s3. How can I install t

[Ryu-devel] Installing multiple flows in parrallel

2017-06-17 Thread corey ross
Hey there, I was wondering if it is possible to install multiple flows in parallel, if yes how? for e.g if I have a topology of three switches (s1, s2, s3), I want to install flow-rules f1 on s1, f2 on s2 and f3 on s3. How can I install this three flow rules in parallel instead of doing so in seri