Description of problem: ovn-northd supports parallelization since [0]. The feature is disabled by default and the upstream CI matrix doesn't have any job that enables it. Originally documented as item (4) at https://bugzilla.redhat.com/show_bug.cgi?id=1960042#c4 [0] https://github.com/ovn-org/ovn/commit/8848c622bd01f54cab0be14a69478cc2ce0a19b7
ovn-northd parallelization is configurable via the NB database [0], e.g.: ovn-nbctl set NB_Global . options:use_parallel_build=true CI tests are run for different variations of ovn-northd using the OVN_FOR_EACH_NORTHD macro. [1] [0] https://github.com/ovn-org/ovn/blob/master/ovn-nb.xml#L216 [1] https://github.com/ovn-org/ovn/blob/master/tests/ovn-macros.at#L539
Suggestion: Parallelization doesn't work if number of CPU cores is low (like in GHA). To overcome this, it's probably natural and easy to port --dummy-numa command line option form the OVS code base (northd uses ovs-numa library to detect number of cores).
upstream fix: http://patchwork.ozlabs.org/project/ovn/patch/20220314082556.4035411-1-xsimonar@redhat.com/
Accepted upstream for ovn 22.06 and later