On Tue, Jan 4, 2022 at 1:03 PM Ilya Maximets <[email protected]> wrote:
> > +AT_SETUP([dpif-netdev - MFEX Configuration])
> > +AT_SKIP_IF([! $PYTHON3 -c "import scapy"], [], [])
> > +OVS_VSWITCHD_START(
> > +  [add-port br0 p1 \
> > +   -- set Open_vSwitch . other_config:pmd-cpu-mask=0xC \
> > +   -- set interface p1 type=dummy-pmd])
>
> This test and others in here need a dummy-numa configured.
> 2 reasons for that:
>
> 1. We're asking for 4 CPU cores here (0xC), so the test will not work
>    as expected on a smaller system (e.g. GHA).
>
> 2. Without dummy-numa real CPU affinity will be applied.  In that
>    case during the parallel test execution threads from different tests
>    will be scheduled on same cores.  Dummy-numa fakes the CPU affinity
>    allowing the kernel to re-schedule pmd threads to different cores
>    better utilising system resources.

Ack.


-- 
David Marchand

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to