What the items are worth after item 8, on the desktop

A perf profile of the race of 2026-11-23 (the GPU thread, 30 s, after commits 73e87dc43 to 7332d0e99), the share of the GPU thread that each item could take at most:

ItemIts part of the profileShare
1vk_uma_read's stamps of each binding in place (bindings already bind in place there)6.4%
2cb_get and cb_window_place7.1%
3the texture memo's checks: tex_memo_unwritten, tex_memo_unpended, vk_tex_recheckabout 3%
4the program key (the shader hashes) and the texture handlesabout 1% each
5the GPU mirror's logs, folds and harvestunder 1%
7fs_key (7.9%) and most of stage_set_ (20.1%)up to about 25%

The lock calls are 13.5% across them all. The largest named one is vk_uma_import_in from the write tracking (ww_scan_free, 2.0 to 2.5%): it takes g_uma.lk for each piece a scan reads, where on that host every import is a dma-buf region that the scans watch anyway. So on that host item 7 is the one large item left, and items 3, 4 and 5 are small.


Made from docs/dev/draw-cost.md at 69237645142c. GPL-3.0-or-later.