On 3/28/24 14:24, Шагов Георгий via discuss wrote:
> Hello everyone
> 
> In our setup (*) we have encountered a problem with NorthD consuming 100% CPU
> Looking into transaction log of SBDB it was found that some transactions from
> NorthD take almost 2Mb in Json; these are not exception, rather regular
> Looking deeply into the transaction we have encountered Huge Logical_DP_Group 
> Record,
> More in details: 2Mb Json SBDB Transaction Record was parsed by json_pp to 
> json
> file, that takes 157K Lines, from which 152K Lines – Logical_DP_Group
> That Logical_DP_Group record contains of 10 Groups into it. Approx 4K dp per
> every group
> 
> Googling for a similar case I have found one, that looked close to our: 
> (link1) –
> this is not our case – we checked that
> Unfortunately, the basic information regarding Logical DB Groups is well 
> documented
> into the code of NorthD
> 
> Any clue/help/questions are extremely appreciated
> 
> (*) Setup:
> 
> - OVN 22.03.3 – we are in process of migrating to 24.03
> - OVS 2.17.7 – the same for 3.3

22.03 and 2.17 are not a particularly great choice for high-scale
deployments.  And they have numerous inefficiencies fixed in later
versions.  In general, I'd not recommend versions below 23.06 or
at the very least 22.09.  Databases in newer OVS releases are much
more performant than 2.17 as well.

I'd suggest you proceed with your migration/upgrade.  I would expect
at least 10x performance improvement from it, maybe even more.

Best regards, Ilya Maximets.

> - Routers – approx. 5K
> 
> (link1): 
> https://github.com/ovn-org/ovn/commit/db4cb7098c890e974175d4d05dd70dc409fad91e
> 
> Yours truly, George

_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to