upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests/test_run_gpu_tests_python_assembler.py
diff options
context:
space:
mode:
authorNotRexed <therealnothingfn@gmail.com>2026-11-28 06:02:11 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-11-28 06:02:11 -0500
commit62016567518f78a304900fdbe8250ec3328d49e9 (patch)
tree5bfa6d14cb46c4bf4833e6cd00c28f48b086d130 /tests/test_run_gpu_tests_python_assembler.py
parent8361d0374fb49abef37784bb63d2044f74ba3e84 (diff)
Retired objects wait in a queue to each thread (LEONIDA_RETIRE_QUEUES=0: all in the first, as before), and their pushes that had to wait are counted
Host objects the title lets go of while a submission may still use them wait in a queue until that submission, and LEONIDA_BURY_LAG more, have finished. There was one queue under one lock, and the threads that record the title's lists retire the resources of the descriptor slots they rewrite: 136,000 to 142,000 objects a frame at the waterside save. Now there are 32 queues; a thread that retires takes one for good, and what finishes a submission takes of every queue the front whose numbers lie behind. The rule for an object is the same as before (its own number, and what stands behind a later number in its queue waits with that one), so nothing is dropped sooner than with one queue; the order of dropping between objects of two queues is not that of their retiring, which threads that overtook each other did not keep either. The thread's queue is plain thread-local data (no destructor). Unit tests: objects in three queues go when their own submission is behind them; a thread keeps its queue. RTX 4060 Ti, Ryzen 5 7600X, Series X profile, 1440p, every start from the waterside save, the switch turned every 4 s inside one run (LEONIDA_AB): - its counter (a new line, "objects let go per frame"): with one queue 28,400 of the pushes a frame find the lock taken and wait 33 ms of all threads' time (1.2 us each: a spin); with a queue to each thread 19 wait 3.3 ms (170 us each, behind the taking of what is due). Walking and turning: 29,600 waiting 41 ms -> 15 waiting 4.7 ms; - the frame standing (a level fitted for each view of the idle camera, 97 phases): medians -0.06 ms (+-0.19), means -0.10 (+-0.20), of 77 ms: none, the frame is the card's there; - the frame walking and turning (44 pairs of two phases): means +0.74 ms (+-0.98), medians +1.16 (+-0.95), of 86 ms: none that the spread shows. On by default: it takes some 30 ms a frame of spinning off the recording threads and cannot change what is drawn. It does not move the frame on this PC. After KyleS98/VIctory-Neo 9165dd0, which had each recording thread 3.3 of its 22 ms a frame in that wait (RTX 3090 Ti, Ryzen 9 9950X3D). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'tests/test_run_gpu_tests_python_assembler.py')
0 files changed, 0 insertions, 0 deletions