Re: [ovs-dev] [PATCH 0/2] raft: Reduce memory consumption by freeing unnecessary json objects.

2021-08-24 Thread Ilya Maximets
On 8/20/21 6:51 PM, Ilya Maximets wrote: > In short, database snapshot stored inside the raft module is > a huge json object. E.g. in ovn-heater scale tests with 270 MB > on-disk Southbound DB, json object of a snapshot takes 1.6 GB of > RAM out of total 3.8 GB of the RSS of an ovsdb-server

[ovs-dev] [PATCH 0/2] raft: Reduce memory consumption by freeing unnecessary json objects.

2021-08-20 Thread Ilya Maximets
In short, database snapshot stored inside the raft module is a huge json object. E.g. in ovn-heater scale tests with 270 MB on-disk Southbound DB, json object of a snapshot takes 1.6 GB of RAM out of total 3.8 GB of the RSS of an ovsdb-server process. This change is targeted to free that json