Linux CI: three AGC allocation census tests exceed the warmed compute dispatch budget #25359

Closed
opened 2026-11-21 23:52:13 +00:00 by mihiii1337 · 0 comments
mihiii1337 commented 2026-11-21 23:52:13 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by mihiii1337 on 2026-11-21T23:52:13Z.


What happens

Three AGC allocation-census CTests fail their warmed compute-dispatch allocation limits on the Linux runner anyps5-2-linux-7. In the first failing main run the plain test reports: call sites allocate 564 times on every warmed draw, more than the 10 this shape makes.

Title, test or build step

agc_driver_draw_allocations, agc_driver_draw_allocations_draw_pipeline, agc_driver_draw_allocations_plan_verify. All three use the same DrawAllocations.cpp fixture added by #16753.

AnyPS5 commit

System

Both failures came from anyps5-2-linux-7 with llvmpipe (LLVM 20.1.2, subgroup 8). The failing main build used GCC 13.3.0 and Linux 6.8.0-48-generic. The earlier passing main job ran on anyps5-3-linux-2, where the log identifies llvmpipe LLVM 21.1.8. These jobs do not isolate the Mesa version from other differences between runners.

Steps to reproduce

The linked full Linux jobs ran CTest with ANYPS5_REQUIRE_VULKAN=1. The fixture unsets the Vulkan validation layer through its CTest definition. The failed registrations each took about one second. To select just these three from a full Linux test build:

ANYPS5_REQUIRE_VULKAN=1 ctest --test-dir build --output-on-failure -R '^agc_driver_draw_allocations(_draw_pipeline|_plan_verify)?$'

Log

Allocations observed on every warmed dispatch, summed by call site:

Registration suffix Limit Failing main #25333 dispatch
plain 10 564 559
_draw_pipeline 13 565 613
_plan_verify 13 615 565

The first failing log records libstdc++.so.6+0x15ef23: 549.000 per draw, 48584.0 bytes per draw against 564.770 total allocations/dispatch. The same offset accounts for 547 and 597 allocations/dispatch in the other two variants. The fixture records the immediate return address into the interposed allocator. The log does not identify the code calling into libstdc++.

What was checked

The same three tests passed in the earlier full main job and in another full dispatch on anyps5-3-linux-6. #25334 also mentions a local Linux reproduction with roughly 480–570 allocations per dispatch. Windows returns the fixture's explicit skip code because the executable cannot interpose the driver DLL's allocations.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6535994389 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/25359). Originally posted by [mihiii1337](https://github.com/mihiii1337) on 2026-11-21T23:52:13Z. --- ### What happens Three AGC allocation-census CTests fail their warmed compute-dispatch allocation limits on the Linux runner `anyps5-2-linux-7`. In the first failing main run the plain test reports: `call sites allocate 564 times on every warmed draw, more than the 10 this shape makes`. ### Title, test or build step `agc_driver_draw_allocations`, `agc_driver_draw_allocations_draw_pipeline`, `agc_driver_draw_allocations_plan_verify`. All three use the same `DrawAllocations.cpp` fixture added by #16753. ### AnyPS5 commit - [Failing main `d3a7b0bcd8`](https://github.com/boykopovar/AnyPS5/actions/runs/44955500745/job/137004583527). - [Repeated on the #25333 dispatch based on the same main](https://github.com/boykopovar/AnyPS5/actions/runs/44960271231/job/137020925252). - [Earlier passing main `ef7dc4452d`](https://github.com/boykopovar/AnyPS5/actions/runs/44949893769/job/136992274013). The [diff to the failing main](https://github.com/boykopovar/AnyPS5/compare/ef7dc4452d...d3a7b0bcd8) contains only LibreSSL files, related tests and documentation. ### System Both failures came from `anyps5-2-linux-7` with llvmpipe (LLVM 20.1.2, subgroup 8). The failing main build used GCC 13.3.0 and Linux 6.8.0-48-generic. The earlier passing main job ran on `anyps5-3-linux-2`, where the log identifies llvmpipe LLVM 21.1.8. These jobs do not isolate the Mesa version from other differences between runners. ### Steps to reproduce The linked full Linux jobs ran CTest with `ANYPS5_REQUIRE_VULKAN=1`. The fixture unsets the Vulkan validation layer through its CTest definition. The failed registrations each took about one second. To select just these three from a full Linux test build: ```sh ANYPS5_REQUIRE_VULKAN=1 ctest --test-dir build --output-on-failure -R '^agc_driver_draw_allocations(_draw_pipeline|_plan_verify)?$' ``` ### Log Allocations observed on every warmed dispatch, summed by call site: | Registration suffix | Limit | Failing main | #25333 dispatch | | --- | ---: | ---: | ---: | | plain | 10 | 564 | 559 | | `_draw_pipeline` | 13 | 565 | 613 | | `_plan_verify` | 13 | 615 | 565 | The first failing log records `libstdc++.so.6+0x15ef23: 549.000 per draw, 48584.0 bytes per draw` against 564.770 total allocations/dispatch. The same offset accounts for 547 and 597 allocations/dispatch in the other two variants. The fixture records the immediate return address into the interposed allocator. The log does not identify the code calling into libstdc++. ### What was checked The same three tests passed in the earlier full main job and in [another full dispatch on `anyps5-3-linux-6`](https://github.com/boykopovar/AnyPS5/actions/runs/44953469601/job/136998961901). #25334 also mentions a local Linux reproduction with roughly 480–570 allocations per dispatch. Windows returns the fixture's explicit skip code because the executable cannot interpose the driver DLL's allocations. AI-assisted: yes.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5#25359
No description provided.