Re: [ovs-dev] [PATCH v2] ovsdb: provide raft and command interfaces with priority

2021-06-23 Thread Anton Ivanov
I just sent an updated version: 1. Logic fixed in the outer (remotes) loop. Inner (sessions) was mostly OK. 2. Appropriate measures have been taken to ensure that the "skip to" pointer is always valid. 3. Tested by forcing <10ms timeouts on processing and/or mandating "skip" on every

Re: [ovs-dev] [PATCH v2] ovsdb: provide raft and command interfaces with priority

2021-06-22 Thread Anton Ivanov
On 21/06/2021 20:29, Ilya Maximets wrote: On 6/11/21 5:42 PM, anton.iva...@cambridgegreys.com wrote: From: Anton Ivanov Set a soft time limit of "raft election timer"/2 on ovsdb processing. This improves behaviour in large heavily loaded clusters. While it cannot fully eliminate spurious

Re: [ovs-dev] [PATCH v2] ovsdb: provide raft and command interfaces with priority

2021-06-21 Thread Ilya Maximets
On 6/11/21 5:42 PM, anton.iva...@cambridgegreys.com wrote: > From: Anton Ivanov > > Set a soft time limit of "raft election timer"/2 on ovsdb > processing. > > This improves behaviour in large heavily loaded clusters. > While it cannot fully eliminate spurious raft elections > under heavy load,

[ovs-dev] [PATCH v2] ovsdb: provide raft and command interfaces with priority

2021-06-11 Thread anton . ivanov
From: Anton Ivanov Set a soft time limit of "raft election timer"/2 on ovsdb processing. This improves behaviour in large heavily loaded clusters. While it cannot fully eliminate spurious raft elections under heavy load, it significantly decreases their number. Processing is (to the extent