mirror of
https://github.com/pithings/unkernel.git
synced 2026-12-02 05:49:58 +08:00
The shortest period and tick drop from 5 ms to 2 ms for programs that ask for low latency. A buffer is 10 ms or more as before (two 5 ms periods), and a late tick still hands over up to 15 ms' worth when ticks are shorter than 5 ms, so a short period tolerates the same host stall. Programs that leave the period to alsa-lib, plain aplay, OSS without SETFRAGMENT and requests of 256 frames or more negotiate what they did; snd_pcm_set_params() with a latency under 20 ms now gets four periods of 2.5 to 3.75 ms (measured on Node, 2026-11-24). Co-authored-by: Adam Meghji <566793+adammeghji@users.noreply.github.com>