Re: [Ryu-devel] adding flows in parallel

2017-04-15 Thread Yiwen Shen
Hi, I have found out that I can actually improve performance by using python's multiprocessing library instead of multithreading, which gets around python's GLI problem. I also discovered a very weird problem, which is that if I try to add flows using multiprocessing.Process(target = add_flow_wor

Re: [Ryu-devel] adding flows in parallel

2017-04-10 Thread Yi Tseng
Hi, As I know, it is hard to improve performance by using multi-thread way because there is a GIL problem in python. Moreover, it might be slower if you try to using multi-thread to do simple tasks. -Yi 2017-04-10 9:34 GMT-07:00 Yiwen Shen : > Hi, > > I was wondering if there is any differenc