From 00df89aadf6e042433027c5029ab4e6ef239c4ce Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sat, 21 Nov 2026 21:17:51 -0800 Subject: [PATCH] rt README: on ANV a guest's kernels of entry weight 186,065 to 424,132 are refused at the consumer's 3 GiB helper cap The consumer's helper cap is now 3 GiB (the owner's word). Its cold launch of a 3D modelling program on the Iris Xe of RPL-P under Mesa 26.2.6 (job m3-max-65807, 1,929 s, nothing fatal) made 2 of the 8 heavy kernels, entry weights 121,523 and 128,372 (helper peaks 2,620 and 2,763 MiB), the same two as under the 8 GiB cap (job m3-max-65633). It refused 6 over memory: 186,065 (3,091 MiB), 207,047 (3,186), 253,486 (3,334), 289,297 (3,173), 355,578 (3,204) and 424,132 (3,138). The printed range was 355,578 to 424,132, which is too narrow for this cap; it now runs from the lightest refused weight to the heaviest. The line also says what the guest sees: each refused make's error reaches the guest's Metal call, and the program measured, which waits with no exit for a failed make, showed its first sample line 143 s after launch and never advanced, with no error shown, while the guest stayed usable. The 8 GiB measurements of the two heaviest stay as what they measured. Docs only. Verified: the six weights and peaks are the consumer's li2 read of 65807; the 143 s and the user-visible behaviour are its report of the same launch. --- crates/metal2vulkan-runtime/README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/crates/metal2vulkan-runtime/README.md b/crates/metal2vulkan-runtime/README.md index ff77e6392..2be845285 100644 --- a/crates/metal2vulkan-runtime/README.md +++ b/crates/metal2vulkan-runtime/README.md @@ -3052,9 +3052,16 @@ cache is answered compile-required on both. (`Gap::StageSize`) where Metal makes it. A dispatch of it waits for the consumer's helper, where Metal compiles in the program's process. - On a host whose Vulkan driver is ANV, Mesa's Intel driver, a guest's kernels of entry weight - 355,578 to 424,132 are refused (`Gap::StageSize`) where Metal makes them: their helper's compile - passes an 8 GiB cap. On the Iris Xe of RPL-P under the packaged Mesa 26.2.6, the helpers of the - two kernels measured passed 8 GiB 34 s and 51 s into their compiles (job m3-max-65470). A Mesa + 186,065 to 424,132 are refused (`Gap::StageSize`) where Metal makes them: their helper's compile + passes the consumer's 3 GiB cap. On the Iris Xe of RPL-P under the packaged Mesa 26.2.6, the cold + launch of a 3D modelling program made 2 of its 8 heavy kernels (entry weights 121,523 and + 128,372, helper peaks 2,620 and 2,763 MiB) and refused 6 (186,065 to 424,132, helper peaks 3,091 + to 3,334 MiB; job m3-max-65807). Each refused make returns its error to the guest's Metal call: + the synchronous form answers nil with the error, the asynchronous forms call their handler with + it. A program that waits for a kernel with no exit for a failed make waits forever: that program + showed its first sample line 143 s after launch and never advanced, with no error shown, while + the guest stayed usable. Under an 8 GiB cap, the helpers of the two heaviest (355,578 and + 424,132) passed 8 GiB 34 s and 51 s into their compiles (job m3-max-65470). A Mesa 26.2.6 build that adds count prints and a heap census let the lighter one run on: it was past 18 GiB resident and unfinished at 840 s (job m3-max-65511). The stock driver's time past 8 GiB is not measured. Both costs are in Mesa's Intel compiler and grow with the product of two of the