Skip to content

gdalwarp ~40% (?) slower with Ubuntu 26.04 than with Ubuntu 24.04 #14423

@pjonsson

Description

@pjonsson

What is the bug?

This is a repeat of #12170, but for the master branch built early this morning comparing the performance against GDAL 3.12.3.

Pytest has gotten the feature to print test timings so this time around I can provide a bit more information than last time. Here is the timing with a GDAL 3.12.3-based image:

tests/.../test_ol2wfr PASSED             1m 11s

and here is the timing with a GDAL 3.13.0-based image:

tests/.../test_ol2wfr PASSED             1m 34s

The test copies some data and writes a STAC file, but it's a fast SSD so that time should be measured in seconds, the rest of the time is spent on running gdalwarp. The machine is not starved on memory, but looking at top while running the tests on an otherwise (mostly) idle machine shows the 3.12.3 gdalwarp to go up to 1.4G of resident memory and taking 18.99s for the longest running process, and the 3.13.0 gdalwarp goes up to 1.8G of resident memory and taking 26.47s for the longest running process.

The image sets GDAL_CACHEMAX=256, which seemed like a good choice the last time I checked (sometime in 2025, so that was probably with GDAL 3.10).

Looking at the NEWS file for 3.13.0, I don't see anything indicating that a slowdown is expected, so I'm filing this as a bug. Feel free to close this if the slowdown is expected, we're still better off than we were in 3.10.

Steps to reproduce the issue

It's the same image and steps as #10809, but using Float32 for latitude.vrt and longitude.vrt.

Versions and provenance

The ubuntu-full image built on latest master this morning, so just before or after commit 2a4ac2d.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    not for AI loversSee https://gdal.org/en/stable/community/ai_tool_policy.html

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions