[ovs-dev] ovn-northd-ddlog - high mem and cpu usage when started with an existing DB
Ben Pfaff
blp at ovn.org
Thu Jul 15 23:54:24 UTC 2021
On Mon, Jul 12, 2021 at 04:42:27PM -0700, Ben Pfaff wrote:
> 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.
Leonid has been looking into this and we're going to talk through a
solution tomorrow. With luck, I'll have some patches soon after that.
More information about the dev
mailing list