[ovs-dev] [PATCH v3 0/9] Stream Record/Replay.

Dumitru Ceara dceara at redhat.com
Fri Jun 4 14:40:37 UTC 2021

On 5/27/21 3:28 PM, Ilya Maximets wrote:
> This patch set adds new stream provider and other functionality in
> order to record all the incoming data on all the steams (ssl, tcp,
> unixctl) of openvswitch library based applications and replay these
> streams later for debugging purposes or performance tests.
> For example, these changes allowed me to record the lifecycle of
> a standalone ovsdb-server in a fake-multinode cluster from ovn
> scale testing setup with 100 nodes.  While having only replay files,
> user could reproduce transactions and connections in a big cluster on
> a local PC wile being able to tweak various log levels, run everything
> under debugger or tracer, measure performance difference with perf.
> It also proven to be useful for debugging issues in ovn components.
> IIRC, following issue was not easily reproducible, but it was recorded
> and debugged by using v1 of this patch series integrated into
> ovn-controller:
>   91a6a4580267 ("ovsdb-idl: Fix use-after-free when deleting orphaned rows.")
> Current implementation doesn't work with clustered databases since
> raft heavily depends on time events.  This is a point of further
> improvement.
> More details and usage examples in the documentation in the last
> patch of this set.

Hi Ilya,

Thanks for the really nice feature!  Looking forward to the OVN bits. :)

I acked patch 2/9 (the others I had already acked in v2).


More information about the dev mailing list