Re: [ovs-dev] [PATCH] jsonrpc: Warn about excessive sending backlog.

2014-09-18 Thread Ben Pfaff
Ah, great. I don't think of that as "rate limiting", hence my confusion. I'll review the series. Thank you! On Thu, Sep 18, 2014 at 04:04:18PM -0700, Alex Wang wrote: > Hey Ben, > > I sent out a new series of patches here: > http://openvswitch.org/pipermail/dev/2014-September/045949.html > whi

Re: [ovs-dev] [PATCH] jsonrpc: Warn about excessive sending backlog.

2014-09-18 Thread Alex Wang
Hey Ben, I sent out a new series of patches here: http://openvswitch.org/pipermail/dev/2014-September/045949.html which does exactly what you said. Forgot to mark this thread as invalid. Thanks, Alex Wang, On Thu, Sep 18, 2014 at 4:00 PM, Ben Pfaff wrote: > On Thu, Sep 18, 2014 at 11:37:08AM

Re: [ovs-dev] [PATCH] jsonrpc: Warn about excessive sending backlog.

2014-09-18 Thread Ben Pfaff
On Thu, Sep 18, 2014 at 11:37:08AM -0700, Alex Wang wrote: > When ovs is running with large topology (e.g. large number of > interfaces), the stats and status update to ovsdb become huge and > normally require multiple run of ovsdb jsonrpc message processing > loop to consume. Also, this could cau

Re: [ovs-dev] [PATCH] jsonrpc: Warn about excessive sending backlog.

2014-09-18 Thread Flavio Leitner
On Thu, Sep 18, 2014 at 01:20:30PM -0700, Alex Wang wrote: > Yes, that is correct, Perfect, thanks! fbl > > Thanks, > > On Thu, Sep 18, 2014 at 1:15 PM, Flavio Leitner wrote: > > > On Thu, Sep 18, 2014 at 01:10:00PM -0700, Alex Wang wrote: > > > On Thu, Sep 18, 2014 at 1:07 PM, Flavio Leitner

Re: [ovs-dev] [PATCH] jsonrpc: Warn about excessive sending backlog.

2014-09-18 Thread Alex Wang
Yes, that is correct, Thanks, On Thu, Sep 18, 2014 at 1:15 PM, Flavio Leitner wrote: > On Thu, Sep 18, 2014 at 01:10:00PM -0700, Alex Wang wrote: > > On Thu, Sep 18, 2014 at 1:07 PM, Flavio Leitner wrote: > > > > > On Thu, Sep 18, 2014 at 11:37:08AM -0700, Alex Wang wrote: > > > > When ovs is

Re: [ovs-dev] [PATCH] jsonrpc: Warn about excessive sending backlog.

2014-09-18 Thread Flavio Leitner
On Thu, Sep 18, 2014 at 01:10:00PM -0700, Alex Wang wrote: > On Thu, Sep 18, 2014 at 1:07 PM, Flavio Leitner wrote: > > > On Thu, Sep 18, 2014 at 11:37:08AM -0700, Alex Wang wrote: > > > When ovs is running with large topology (e.g. large number of > > > interfaces), the stats and status update t

Re: [ovs-dev] [PATCH] jsonrpc: Warn about excessive sending backlog.

2014-09-18 Thread Alex Wang
On Thu, Sep 18, 2014 at 1:07 PM, Flavio Leitner wrote: > On Thu, Sep 18, 2014 at 11:37:08AM -0700, Alex Wang wrote: > > When ovs is running with large topology (e.g. large number of > > interfaces), the stats and status update to ovsdb become huge and > > normally require multiple run of ovsdb js

Re: [ovs-dev] [PATCH] jsonrpc: Warn about excessive sending backlog.

2014-09-18 Thread Flavio Leitner
On Thu, Sep 18, 2014 at 11:37:08AM -0700, Alex Wang wrote: > When ovs is running with large topology (e.g. large number of > interfaces), the stats and status update to ovsdb become huge and > normally require multiple run of ovsdb jsonrpc message processing > loop to consume. Also, this could cau

[ovs-dev] [PATCH] jsonrpc: Warn about excessive sending backlog.

2014-09-18 Thread Alex Wang
When ovs is running with large topology (e.g. large number of interfaces), the stats and status update to ovsdb become huge and normally require multiple run of ovsdb jsonrpc message processing loop to consume. Also, this could cause jsonrpc messages backlogged in ovs. This commit adds a warning