Re: [ovs-dev] [PATCH] ofproto-dpif-upcall: reduce number of wakeup

2013-11-28 Thread Zhou, Han
Hi, On Wed, Sep 25, 2013 at 01:38:58PM +0900, YAMAMOTO Takashi wrote: > if a queue length is long (ie. non-0), the consumer thread should > already be busy working on the queue. there's no need to wake it > up repeatedly. ... > @@ -530,9 +532,13 @@ recv_upcalls(struct udpif *udpif) > ovs

Re: [ovs-dev] [PATCH] ofproto-dpif-upcall: reduce number of wakeup

2013-10-02 Thread Ben Pfaff
On Wed, Sep 25, 2013 at 08:55:21AM -0700, Ben Pfaff wrote: > On Wed, Sep 25, 2013 at 01:38:58PM +0900, YAMAMOTO Takashi wrote: > > if a queue length is long (ie. non-0), the consumer thread should > > already be busy working on the queue. there's no need to wake it > > up repeatedly. > > > > Sign

Re: [ovs-dev] [PATCH] ofproto-dpif-upcall: reduce number of wakeup

2013-09-25 Thread Ben Pfaff
On Wed, Sep 25, 2013 at 01:38:58PM +0900, YAMAMOTO Takashi wrote: > if a queue length is long (ie. non-0), the consumer thread should > already be busy working on the queue. there's no need to wake it > up repeatedly. > > Signed-off-by: YAMAMOTO Takashi Looks good, I'll apply this after Ethan's