[ovs-dev] ovn-northd-ddlog - high mem and cpu usage when started with an existing DB
Ben Pfaff
blp at ovn.org
Mon Jul 12 23:42:27 UTC 2021
On Thu, Jul 08, 2021 at 08:59:24PM +0200, Dumitru Ceara wrote:
> Hi Ben,
>
> As discussed earlier, during the OVN meeting, I've noticed a new
> performance issue with ovn-northd-ddlog when running it against a
> database from one of our more recent scale tests:
>
> http://people.redhat.com/~dceara/ovn-northd-ddlog-tests/20210708/ovnnb_db.db
>
> ovn-northd-ddlog uses 100% CPU and never really reaches the point to
> perform the first transaction to the Southbound. Memory usage is also
> very high, I stopped it at 45GB RSS.
>
> To test I did:
> SANDBOXFLAGS="--nbdb-source=/tmp/ovnnb_db.db --ddlog" make sandbox
Thanks. I've been spending a lot of time with this Friday and today.
It is a bit different from the other issues I've looked at. The
previous ones were inefficient production of relatively small output.
This one is inefficient production (and storage) of rather large output
(millions of flows). I'm trying to get help from Leonid on how to
reduce the memory usage.
Thanks,
Ben.
More information about the dev
mailing list