Hi everyone, as briefly discussed in the 2025-02-20 IRC meeting, we (Felix Huettner and me) have been working on improving the handling of large southbound database updates in the ovn-controller. This patchset contains the OVS changes of our proposed solution.
Our changes can be summarized into three areas: * Optimizations to process as much data as possible in a single run. * New coverage metrics for jsonrpc and the cs layer. * Robustness improvement for the inactivity probe mechanism. The commit messages contain further details. Felix Huettner (3): jsonrpc: Optimize receive buffer size. jsonrpc: Return receive status. ovsdb-idl: Add loop_run until timeout or completion. Martin Morgenstern (3): jsonrpc, ovsdb-cs: Send gratuitous echo replies. jsonrpc: Add coverage for retries of jsonrpc_recv(). ovsdb-cs: Add coverage for full batch events. lib/byteq.c | 17 ++++++++++ lib/byteq.h | 1 + lib/jsonrpc.c | 73 ++++++++++++++++++++++++++++++++++-------- lib/jsonrpc.h | 4 ++- lib/ovsdb-cs.c | 41 ++++++++++++++++++++---- lib/ovsdb-cs.h | 2 +- lib/ovsdb-idl.c | 46 ++++++++++++++++++++++++-- lib/ovsdb-idl.h | 5 ++- ovsdb/jsonrpc-server.c | 4 +-- ovsdb/ovsdb-client.c | 16 +++++++-- ovsdb/raft.c | 3 +- ovsdb/replication.c | 4 +-- tests/test-jsonrpc.c | 2 +- 13 files changed, 185 insertions(+), 33 deletions(-) -- 2.45.2 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev