| Variable block (S0, S1, S2) | S0 is direct transport; S1 processes in fixed blocks of one microframe; S2 processes what arrived in each USB packet, without waiting to fill a block. Empty chain only | in the long run of #0176, the input packets carried only N and N+1 frames, never N−1. In #0181 (Pi, empty chain, guard 0, 1 boot, 47 clicks per step, 10 s steps with the sequence and output checked bit by bit), the rig internal trace recorded, from the capture arriving to the output packet completing, a p50 of 252 µs in S1 and 127 µs in S2 (32 of 32 steps, 96 and 48 kHz). In the loopback round trip, the chain p50 with S2 was 125 µs lower in 23 of 36 pairs, 250 µs lower in 2 and equal in 11; no pair got worse. Hypothesis: S2 saves 1 microframe (125 µs) on the host | hypothesis (guard 0 only, empty chain, 1 boot); not the highlighted value |
| DSP time budget per microframe | how long the chain can spend in each call before the audio drops frames; measured with a synthetic delay (busy wait) fixed per call | in #0182 (Pi, empty chain, guard 0, 1 stream opening per rate, one 6.4 s step per delay, delays from 0 to 250 µs), S1 dropped no input frames with a 120 µs delay per block and dropped them at 125 µs, at all 3 rates (4706, 15557 and 1634 frames at 96, 192 and 48 kHz). S2 dropped no frames up to 250 µs, at all 3 rates, and the chain p50 rose in steps of 125 µs. Hypothesis: the DSP budget per microframe is close to 120 µs in S1 | hypothesis (1 boot); S2 with the real chain cost, proportional to the frames, was not measured |
| S1 × S2 under the same latency limit (LCPC, phase 1) | compare S1 (fixed block) and S2 (variable block) while each 125 µs microframe receives a synthetic processing load from 0 to 126 µs; 192 kHz only, empty chain | in #0189 (Pi, guard 0, 3 stream openings × 3 repetitions per load, 8.4 s and 37 clicks per step, 282 steps), the block start wait was 125 µs in S1 and 0 µs in S2 in every valid step. In 108 S1 × S2 pairs (same opening, load and repetition) there are two criteria, which do not replace each other. In the chain (measured click), latency was lower in S2 in 57, equal in 38 and higher in 13; median −125 µs, mean −69 µs. On the host (inferred trace), S1 was higher in 48, equal in 59 and S2 higher in 1. The load ceiling was 123 µs of processing per microframe in both modes; at 124 µs both drop frames. Valid steps (0 lost frames, 0 errors, 0 underruns, sequence and output checked bit by bit): 216 of 216, from 0 to 123 µs. Hypothesis: the variable block reduces or matches the latency below about 120 µs per microframe, with no frame loss observed, and does not raise the processing ceiling | hypothesis (282 steps in 3 openings, 1 boot); the long validation was not done; the chain p99 is exploratory (with 37 clicks per step the p99 is the maximum itself; it is only valid with 100 clicks or more, and p99.9 with 1000 or more); per-packet integrity is not instrumented yet, so “no lost clicks” does not prove full integrity |
| Stability per 30 s step (LCPC, phase 2, stage 1) | repeat the S1 × S2 comparison with 30 s steps instead of 8.4 s, at loads of 0, 100, 120 and 123 µs per microframe, with 124 µs as the negative control; 192 kHz only, empty chain | in #0192 (Pi, guard 0, 3 stream openings, 147 clicks per step, 60 data steps), the 2 steps of 30 s of each variant (with a pause and the capture discarded between them; they are not equal to a continuous 60 s) were valid in all 24 variants from 0 to 123 µs (3 openings × 2 modes × 4 loads): 0 lost frames, 0 errors, 0 underruns, sequence and output checked bit by bit. The observed ceiling is still 123 µs; at 124 µs the 6 control steps were invalid (3 openings × 2 modes). After 124, the load-0 step returned to the initial plateau (±5 µs) in 5 of 6 cases; opening a1 failed in S2, 125 µs higher. In 27 valid S1 × S2 pairs, in the chain S2 was lower in 13, equal in 12 and higher in 2; on the host (inferred trace), S2 was higher in 0. Comparing with #0189 (52.8%, 35.2% and 12.0% of 108 pairs) holds only with the caveat that the matrices differ (8.4 s steps and 37 clicks versus 30 s and 147). Hypothesis: the S2 advantage and the 123 µs ceiling hold in 30 s steps | hypothesis (1 boot, 3 openings); the chain p99 is exploratory (about 147 clicks per step and about 882 across the 3 openings, below 1000); per-packet integrity is not instrumented; 5 minutes per variant has not been measured yet |
| Determinism of opening the stream | why the latency plateau shifts in 125 µs steps from one stream opening to another | the shift happens (see the case study). Data from #0179 (empty chain, guard 0, 22 clicks per opening): across 90 reopenings (30 per rate, same boot) and 10 boots, the chain p50 fell on 4 or 5 plateaus 125 µs apart; a fresh boot does not differ from a reopening; the recorded microframe phase does not separate the plateaus. The cause is still unexplained, and two experiments to reproduce a plateau had no effect | hypothesis; cause under investigation |
| Long-run stability | repeat the long runs at guard 0, including under CPU load | two 30 min runs (48 kHz, rig kernel) and 60 s runs per rate (6 in #0179, 297 clicks each), without load, closed with 0 errors, 0 underruns and 0 drops | without load: done; with load: to be measured |
| USB topology and xHCI envelope | the effect of the port and the controller, and how far the controller can go, on latency and stability | every measurement cited here uses the Quantum on controller usb0, port 2, and the keyboard on usb1, port 2; no other topology was compared | not measured |