rt README: the driver's execute cost on indirect executions is measured on one NVIDIA card; RADV's guest frame runs its executions under direct
What: the known gap of NVIDIA's driver's execute cost says its figures ran on one card, an RTX 3090 (620.70.06), that the harness frame's microseconds are its own draws' and not a guest frame's, and that on a Radeon RX 7900 XTX (RADV) a guest's frame of that shape at a held camera pose took 4.305 ms of GPU time with its executions against 4.372 ms with the same draws direct, the executions 1.5% under, so the driver's execute cost is measured on NVIDIA's driver alone. Why: the gap's scope, as the planner ruled it: rung 4 for the driver's share, its shares kept as the harness's microseconds (the driver's 539.0 of the 720.9 us gap; the splits about 117 to 128 and the empty parts about 54 to 65), and no percent of a guest frame, since the harness frame's gap is larger than a guest frame's whole gap and the two do not map one to one. Verified: README only; the harness figures are job m3-max-64194's (unchanged); the XTX figures are the consumer's two walks at the held pose, jobs m3-max-64076 (executions) and m3-max-64084 (direct), each a separate run. Docs check: fmt and workspace Rustdoc -D warnings (job below).
This commit is contained in:
1 parent
696d7ac9cc
commit
0b73ac76e5
1 file changed
+16
-11
@@ -3941,17 +3941,22 @@ vertex and fragment buffers (`inheritBuffers` false), at most 31 of each stage.
|
||||
count 0 (wholly past its range's last command) costs about 10 us. There the frame's 11
|
||||
executions take 17 parts at the bound, 6 of them with count 0, and took 1,106.9 us against
|
||||
1,041.7 at one part an execution, and 978.9 against 925.0 with no split (job 64194, below).
|
||||
- On NVIDIA's driver, `vkCmdExecuteGeneratedCommandsEXT` costs GPU time beyond the draws it runs.
|
||||
On an RTX 3090 (620.70.06), the frame above (11 executions over ranges a buffer holds, buffers
|
||||
of 8,162, 785 and 289 commands, 2,132 commands in range) took 925.0 us of GPU time at one part
|
||||
an execution with each part's count written as the command buffer records and no split,
|
||||
against 386.0 us for the same 2,132 draws direct: 539.0 us more, inside the executes. In the
|
||||
runtime's form the frame took 1,106.9 us; of its 720.9 us over direct, the driver's executes
|
||||
take 539.0, the 11 splits about 117 to 128 and the 6 parts with count 0 about 54 to 65. With
|
||||
each part preprocessed apart from its execute (`vkCmdPreprocessGeneratedCommandsEXT`), the
|
||||
preprocesses took 263.9 us and the executes 592.9. Job 64194: the arms alternating over 9
|
||||
rounds, every turn at P0 with the SM at 1,950 MHz and the memory at 9,751 MHz, medians of 9
|
||||
turns of at least 300 ms each.
|
||||
- On NVIDIA's driver, `vkCmdExecuteGeneratedCommandsEXT` costs GPU time beyond the draws it runs,
|
||||
measured on one card, an RTX 3090 (620.70.06): the frame above (11 executions over ranges a
|
||||
buffer holds, buffers of 8,162, 785 and 289 commands, 2,132 commands in range) took 925.0 us
|
||||
of GPU time at one part an execution with each part's count written as the command buffer
|
||||
records and no split, against 386.0 us for the same 2,132 draws direct: 539.0 us more, inside
|
||||
the executes. In the runtime's form the frame took 1,106.9 us; of its 720.9 us over direct, the
|
||||
driver's executes take 539.0, the 11 splits about 117 to 128 and the 6 parts with count 0
|
||||
about 54 to 65. With each part preprocessed apart from its execute
|
||||
(`vkCmdPreprocessGeneratedCommandsEXT`), the preprocesses took 263.9 us and the executes
|
||||
592.9. Job 64194: the arms alternating over 9 rounds, every turn at P0 with the SM at 1,950
|
||||
MHz and the memory at 9,751 MHz, medians of 9 turns of at least 300 ms each. The frame's draws
|
||||
are the harness's own (each a strip of 226 quads), so these microseconds are the harness
|
||||
frame's, not a guest frame's. The driver's execute cost is measured on NVIDIA's driver alone:
|
||||
on a Radeon RX 7900 XTX (RADV) a guest's frame of this shape at a held camera pose took 4.305
|
||||
ms of GPU time with its executions against 4.372 ms with the same draws direct, the executions
|
||||
1.5% under.
|
||||
- A command's buffer slots reach its functions through the push bytes alone, so each slot a
|
||||
command binds needs its word in the state's 256 push bytes, which the vertex and fragment
|
||||
functions and all their other fields share. The translator places the vertex function's fields
|
||||
|
||||
Reference in new issue
Block a user