Landing note: the submit-thread stack's cost and wall on the 780M and the XTX, as measured
An empty commit: published history is never amended, so the stack's measured cost is stated here, on top of it. It changes no file. The stack (each member of a group sent apart signals its own progress value; a completion wakes the submit thread only when it can leave room; an early member feeds the expected run as the last retires; enqueue and commit wake waits only where a thread waits), rebased onto developmentefd7dbcd4d. Budget jobs: the harness's instruction rows and the draw and dispatch instruction tests, before (developmentefd7dbcd4d) and after (da6afd1b74, whose product code equals this tip's), alternated three times in one exclusive job per card. Each figure below is per timed run, the three passes in order. Instructions are own_per_run: the runtime's threads and the harness's, in user space. Per dispatch 0.944 on both cards (780M 38434 -> 36275/36274/36274, XTX 38427 -> 36266/36267/36267) and per draw 1.000 on both (12244 in both arms). 780M (RADV PHOENIX, job m3-max-74155), the rows that failed (b): - burst_160: instructions up by 1.0218 (before 4334360/4342825/4356199, after 4445226/4434268/4438013); wall before 624.5/607.8/610.0 us, after 578.8/572.8/584.0 us, wholly below; submissions before 17.59/16.78/16.87, after 13.23/14.43/13.26. - burst_160_shared: instructions up by 1.0224 (before 4366162/4352586/4353147, after 4443101/4470494/4450471); wall before 640.2/630.1/633.5 us, after 585.3/594.1/585.1 us, wholly below; submissions before 17.98/18.23/17.88, after 14.03/16.27/14.53. - burst_2000: instructions up by 1.0226 (before 49203922/49011492/49099261, after 50271148/50106146/50265990); wall before 7483.9/7469.9/7332.6 us, after 7013.3/6891.9/6948.3 us, wholly below; submissions before 241.69/250.09/239.58, after 218.75/216.88/214.50. - burst_2000x5: instructions up by 1.0088 (before 98762327/98831256/98938899, after 99773524/99728752/99642838); wall before 11853.0/11648.5/11613.5 us, after 11766.1/11658.5/11857.6 us, the ranges overlap; submissions before 193.64/206.46/194.78, after 185.68/182.57/186.84. XTX (RADV NAVI31, job m3-max-74154): - burst_160_shared, failed (b): instructions up by 1.0076 (before 4671450/4693624/4686014, after 4707679/4713619/4737142); wall before 1097.2/1103.4/1096.2 us, after 1100.4/1097.8/1100.6 us, the ranges overlap; submissions before 13.88/13.72/13.76, after 13.76/13.81/13.63. - burst_2000, failed (b): instructions up by 1.0084 (before 48405591/48482937/48645781, after 48906000/48952717/48892406); wall before 9346.9/9465.9/9298.0 us, after 8986.1/8954.1/9068.0 us, wholly below; submissions before 391.11/411.76/393.94, after 312.56/302.02/321.07. - burst_160, read under (c) (spread 5.70% in the after arm; ratio of means 1.0388): instructions before 4308890/4306596/4337184, after 4335127/4582028/4538356, the ranges overlap; wall before 830.0/829.9/823.0 us, after 866.3/790.2/796.4 us, the ranges overlap; submissions before 21.62/23.97/20.57, after 29.87/14.82/15.76. - burst_2000x5, passed (b) at 1.0035: whole-process instructions before 97575132/97961952/97592923, after 98067782/98145547/97956382; wall before 17543.8/17768.5/17594.0 us, after 17033.4/16983.0/17281.6 us, wholly below; submissions before 543.60/605.65/549.99, after 450.69/432.33/478.58. (b) of the budget rule was not met; it did not decide, because the change moves the submission count and a submission's kernel side is in neither user-space measure, so each failing row was read with its wall, and no row's wall rose. This is not a known gap, and the runtime's README gains no line for it. Gates at the tip's tree (f38f8d527c, whose tree this commit keeps): quick check m3-max-74172 (signatures, clippy plain, m2v_gpu and m2v_cpu_icd, rustdoc, rt's whole suite on lavapipe 752/3, the conformance replay on lavapipe); suites m3-max-74126 at 7224d73dd9 (validation, conformance, doctests green; product red only on the golden table's bless due, development's, with no translator change here); rt's device suite under the validation layer with the GPU-hazard tests out, 755 passed and 3 skipped on each of: Iris (ANV) m3-max-74184, XTX (RADV) m3-max-74176, Iris under --cfg m2v_shared_view m3-max-74175, RTX 3090 (NVIDIA) m3-max-74257; the control m3-max-74158 on the RTX 3090, at da6afd1b74 (an early member's settle deferred to the group's last, a scratch patch never committed), failed the settle test (A's handler read 0 invalidates against 1 of 256 bytes) and the unpatched archive passed it in the same job.
This commit is contained in:
1 parent
3cafd30596
commit
b87236c3fc