On 07/11/2012 05:10 PM, yaohaiting.wujue at gmail.com wrote: > tx/rx are in main thead now. Then the tx/rx can not be done at the same > time. The tx/rx will also delay the epoll event. > > I use one thread for tx and one thread for rx. This improve the > performance. I actually have one patch (not posted) doing the same thing (more aggressively removed blocking_conn_list), threaded tx/rx won't improve the performance of one Guest(and slightly make it worse), but will improve the scalability of sheep gateway. And your patch use ordered worker (one worker), I don't think it will improve anything. rx/tx of one request is inherently ordered by itself, we can only overlap different requests from different sources. Thanks, Yuan |