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

Ilya Maximets i.maximets at ovn.org
Mon Jun 7 19:38:58 UTC 2021

On 6/4/21 4:40 PM, Dumitru Ceara wrote:
> 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).

Thanks!  I folded in your suggestions for patch #2 and applied the series.

Best regards, Ilya Maximets.

More information about the dev mailing list