Re: [ovs-dev] [RFC] ofproto-dpif-upcall: Improve upcall handling fairness.

2013-11-19 Thread Alex Wang
Hey Ben and Ethan, Could you review this RFC when you are available? This patch is pretty complete. I'll still do some experiments to find the best UPCALL_QUEUE_LENGTH and UPCALL_QUEUES value. Thanks, Alex Wang, On Tue, Nov 19, 2013 at 6:09 PM, Alex Wang wrote: > This commit improves the up

[ovs-dev] [RFC] ofproto-dpif-upcall: Improve upcall handling fairness.

2013-11-19 Thread Alex Wang
This commit improves the upcall dispatching fairness by introduing a 2-stage scheme. And the two stages are run in two threads, 'dispatcher' and 'distributor', respectively. At the first stage, the dispatcher thread will read upcalls from kernel and put the upcalls into the fair queues based on t