Files
reims-vgpu/docs
Anees Iqbal 3c038ee9be 🔥 Take no shape's block ahead of its image
A large surface's whole-extent shape had its block taken ahead, on a worker
pool of its own after its SURFACE_PAGES answer, so that the ring could place
the shape's image in it instead of taking a block at the make. On a 3090 walk
(the desktop, a browser and a 3D benchmark), no placement into a block taken
ahead saved a make: 33 images placed so at 2648x1618 took 1.47 ms each,
against 1.21 ms for the 8 of that shape made with a block taken at the make;
2 at 3648x2038 took 1.64 ms against 1.67 ms; and the two shapes whose makes
took longest were never placed so. 54 blocks were taken ahead (1755 MiB), and
19 of them went back unused (1141 MiB).

The take ahead, its worker pool (reims-vgpu.graphics-shape-blocks-<i>),
ApiPlatform's shape_block and placed_shape_image_in, rt's ImageBlock, and
their codes (rt-shape-blocks-ahead*, rt-shape-image-makes*) are removed. A
new shape's image is made on the thread that asks for it: it is placed in a
block taken at its make where its fill copies more than zeros, and is the
platform's own otherwise, as before the take ahead. The guest sees the same
values.
2026-11-20 00:47:12 -08:00
..