On Sat, Sep 06, 2025 at 02:45:35PM -0700, Jakub Kicinski wrote:
> The pmtu test takes nearly an hour when run on a debug kernel
> (10min on a normal kernel, so the debug slow down is quite significant).
> NIPA tries to ensure all results are delivered by a certain deadline
> so this prevents it from retrying the test in case of a flake.
> 
> Looks like one of the slowest operations in the test is calling out
> to ./openvswitch/ovs-dpctl.py to remove potential leftover OvS interfaces.
> Check whether the interfaces exist in the first place in sysfs,
> since it can be done directly in bash it is very fast.
> 
> This should save us around 20-30% of the test runtime.
> 
> Signed-off-by: Jakub Kicinski <[email protected]>

It would be interesting to know why this is so slow.
But I agree that avoiding unnecessary work is a good approach
if it is slow. And that appears to be the case.

Reviewed-by: Simon Horman <[email protected]>

Reply via email to