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:20:31 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-11-28 06:20:31 -0500
commitcc9a2223ca080b7986ca6f6a99855b3d15f50594 (patch)
tree688a489334863a5f9a0454577d01b6afcf69de38 /tests/test_run_gpu_tests_python_assembler.py
parent62016567518f78a304900fdbe8250ec3328d49e9 (diff)
Host copies of textures can go sooner while little is left to commit (LEONIDA_COMMIT_FLOOR=1; off by default), and what the PC's memory watch said is logged
Host copies of the textures the title fills went by the card's room alone: kept ten minutes while the card is under 88 % of its budget, however little the PC has left to commit, and a host texture is charged to the system's commit like the process's other memory. With LEONIDA_COMMIT_FLOOR=1, while less is left to commit than LEONIDA_COMMIT_FLOOR_MB (4096 unset: where `residency` begins to speak of pressure by commit), every copy out of use for 2.5 s and 60 frames goes as well, whatever room the card has. No copy is refused and none that a list or a descriptor slot holds goes: the same conditions as before, with a shorter time. A copy let go is made and uploaded again at its next use. Off by default, `LEONIDA_AB` can name it. Unit test: the floor's times, and that it adds nothing above the floor or where the card's rule already lets everything go sooner. After kylepelham/El1xr c24c0b2 in the form 22f73d8 gave it (its first form refused new host copies under the floor and a scene went dark; only the shorter idle time is taken here). Its shorter idle time for staging is not taken: staging here already goes by the PC's headroom, commit included. RTX 4060 Ti 16 GB, Ryzen 5 7600X, 32 GB, Series X profile, 1440p, walking and turning for 7 minutes from the waterside save, one run each way, the floor set above what the PC has (LEONIDA_COMMIT_FLOOR_MB=65536) so that it acts all the time: - private bytes 31.0 -> 29.4 GB, left to commit 6.4 -> 8.0 GB, host textures alive 61,000 (7.2 GB) -> 34,000 (5.5 GB), the card at 88.3 % -> 77.3 % of its budget; - host copies let go 281,530 (15.3 GB) -> 484,476 (26.4 GB) and made again 166,545 -> 410,045 (400 -> 980 a second): what the memory costs; - the frame: median 84.9 -> 84.5 ms, mean 84.0 -> 85.8, p90 95.0 -> 101.0 (two runs of one setting differ by as much in the mean); the look for textures to let go, once a second on the submitting thread, 2.2 -> 11.6 ms. With the floor at its 4096 MB it would not have acted in these runs: the least left to commit in 8 to 13 minutes was 5.9 to 7.0 GB. The new line ("memory, the PC's (residency), since the start") says what `residency` saw and refused. On this PC, in every run of 8 to 13 minutes: under pressure from the moment the world is in (326 of 361 looks a second apart, 504 of 539, 330 of 366) and never out of it, by physical memory alone (360 to 390 MB free at the least, with 46 GB held by other programs; commit never under 4 GiB); commit never critical (0 of 8,300 to 11,400 questions); no texture pass refused (of 0.7 to 2.6 million) and no new staging buffer (of 105,000 to 492,000); no allocation failed. 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