Audio Playback Tests for Linux Builds and Windows

Abstract

We discuss the results of 12-track audio playback tests run across six Arch Linux builds and one Windows 10 build with the objective of getting a calmer system for audio playback.

Operating Systems Builds Comparison

The test computer is our AAMS Extreme music server which uses an Intel Pentium Silver J5040 (4 cores) with turbo and deep CPU sleep switched off in the BIOS, all Mundorf MLytic smoothing capacitors, active rectifiers and a fully linear power supply. It plays to a Holo Audio May DAC over USB (asynchronous, high speed) through an AA Audio Signature Extreme USB cable. We played 12 tracks with different format and bitrates from AAMS Extreme internal SSD, each track played for 30 seconds.

  • Interrupts – each time a CPU core is stopped to serve something: mainly the USB controller, also the processor’s own timer and the network adapter. Counted from all sources, as Windows counts them, from the kernel’s own counters.
  • Thread switches – each time a CPU core changes from one task to another, for the whole computer.
  • Timing – the Renderer’s own report for every session: periods delivered, late periods, the longest gap and underruns.

On Linux we measured six builds of the AA Signature Suite for Linux:

  • Early build 0.1.9.1 – Arch Linux’s real-time kernel 7.2.15 with the kernel’s own USB audio driver, at the kernel’s default 1000 Hz timer and another with 100 Hz timer.
  • Beta release 0.1.33.7 – Arch Linux kernel 7.3.5 (1000 Hz timer, tickless when idle) with our improved USB audio driver.
  • Experimental 0.1.33.7 with a real-time kernel – nothing changed but the kernel: the real-time kernel 7.2.15 with a 100 Hz, a 1000 Hz and a 2000 Hz timer (three builds), to see what a real-time kernel does on its own.

For the Windows reference, the same AAMS Extreme runs Windows 10 IoT Enterprise LTSC 21H2 (build 19044), with the AA Signature Suite for Windows installed. The measurements were taken there with the same Holo May DAC, USB cable and the DAC maker’s USB audio driver, with no user signed in.

The 12-Track Tests on Six Arch Linux Builds and One Windows 10 Build

AAMS Extreme (J5040) with Holo May KTE over USB · 27 November 2026 · 12 files played from internal SSD, from our early build with Arch’s stock real-time kernel, the experimental build with the real-time kernel, the Beta Release, and Windows 10

Thread switches a second while playing (median of the 12 tracks)

Early build 0.1.9.1 + stock RT kernel 1000 Hz
4,430
Early build 0.1.9.1 + RT kernel 100 Hz
4,322
Experimental 0.1.33.7 + RT kernel 2000 Hz
1,158
Experimental 0.1.33.7 + RT kernel 1000 Hz
1,194
Experimental 0.1.33.7 + RT kernel 100 Hz
1,324
Beta Release 0.1.33.7 (standard kernel)
44
Windows 10 IoT Enterprise LTSC, Defender on
183
Windows 10 IoT Enterprise LTSC, Defender off
167

Log scale: each step to the right is ten times more. Green: Beta Release.

Interrupts a second while playing (median of the 12 tracks)

Early build 0.1.9.1 + stock RT kernel 1000 Hz
2,239
Early build 0.1.9.1 + RT kernel 100 Hz
2,132
Experimental 0.1.33.7 + RT kernel 2000 Hz
562
Experimental 0.1.33.7 + RT kernel 1000 Hz
575
Experimental 0.1.33.7 + RT kernel 100 Hz
638
Beta Release 0.1.33.7 (standard kernel)
550
Windows 10 IoT Enterprise LTSC, Defender on
1,504
Windows 10 IoT Enterprise LTSC, Defender off
1,498

Linear scale. Green: Beta Release.

Summary

SystemInterrupts/s
range
medianThread switches/s
range
median× Beta ReleaseAA Renderer’s
own switches/s†
Late
periods
DSD sent
Early build 0.1.9.1 + stock RT kernel 1000 Hz
Arch linux-rt 7.2.15-rt3, 1000 Hz (Arch's own)
2,182–2,3472,2394,345–4,6074,430100×–0native
Early build 0.1.9.1 + RT kernel 100 Hz
the same kernel, 100 Hz timer
2,123–2,2282,1324,306–4,5234,32297×11.20native
Experimental 0.1.33.7 + RT kernel 2000 Hz
the same kernel, 2000 Hz timer
529–6005621,098–1,2401,15826×–0native
Experimental 0.1.33.7 + RT kernel 1000 Hz
Arch linux-rt 7.2.15-rt3, 1000 Hz
548–6395751,144–1,3121,19427×–0native
Experimental 0.1.33.7 + RT kernel 100 Hz
the same kernel, 100 Hz timer
611–6536381,266–1,3531,32430×10.50native
Beta Release 0.1.33.7 (standard kernel)
Arch linux 7.3.5 (not real-time), 1000 Hz, tickless
546–56855042–50441×10.40native
Windows 10 IoT Enterprise LTSC, Defender on
Windows, WDM-KS
1,480–1,5921,504150–3371834×29.5n/aDoP
Windows 10 IoT Enterprise LTSC, Defender off
Windows, WDM-KS; Defender switched off for the run
1,482–1,5821,498143–2891674×29.4n/aDoP

Swipe the table sideways to see all columns.

† –: the Renderer was not among the six busiest threads listed in the count (the kernel’s threads were busier).

What the figures show

  • Beta Release has by far the fewest thread switches: 42–50 a second. Windows: 150–337 with Defender on, 143–289 with Defender off (about 4 times). The experimental build on the real-time kernel: 1,098–1,353 (about 26–30 times). The early build on the real-time kernel: 4,306–4,607 at 1000 Hz and 100 Hz (about 100 times).
  • Interrupts: Beta Release about 550 a second, the same build on the real-time kernel about 560–640, Windows about 1,500, the early build about 2,240. Nearly all of them come from the USB controller feeding the DAC: Beta Release’s USB audio driver changes bring them down to about a quarter of the early build’s, on either kernel.
  • Why the real-time kernel has so many thread switches with the same interrupts: it handles every interrupt in a thread of its own, so each USB interrupt costs thread switches; the standard kernel in Beta Release handles them directly. The timer is not the reason: Beta Release’s standard kernel also runs at 1000 Hz (tickless: an idle CPU’s tick stops, about 20–35 timer interrupts a second in all).
  • The real-time kernel’s timer changes little: experimental build at 2000 Hz about 1,160, 1000 Hz about 1,190, 100 Hz about 1,320 thread switches a second; early build at 1000 Hz about 4,430, 100 Hz about 4,320 – all far above Beta Release.
  • Every track played cleanly on every Linux system: 0 late periods, the longest gap 100.1 ms (the 100 ms period).
  • Bit rate, bit depth and DSD make no consistent difference on any system. On the real-time kernels the formats are within 5–14 % of each other; on Beta Release within 42–50 a second whatever the format; on Windows the spread is larger but does not follow the rate or the depth – with Defender on 24/192 highest and DSD256 lowest, its busiest single track (CD quality) during which Windows’ own services and Defender were busy; with Defender off the same pattern, lower and steadier. Higher rates mean more data per USB transfer, not more transfers, so the counts stay the same.
  • DSD: Linux sends DSD to the Holo natively on every system; Windows (WDM-KS) sends it as DoP. Either way the counts are the same as for PCM.

Does the format matter? Thread switches a second by format (median)

SystemCD 16/44.124/4824/9624/176.424/192DXD 24/352.8DSD64DSD128DSD256spread*
Early build 0.1.9.1 + stock RT kernel 1000 Hz4,5864,4684,4154,3454,4424,3704,3774,3684,4185%
Early build 0.1.9.1 + RT kernel 100 Hz4,5094,3174,3194,3104,3114,3064,3064,3264,3355%
Experimental 0.1.33.7 + RT kernel 2000 Hz1,1761,1191,0981,1441,1431,1531,1521,1631,1817%
Experimental 0.1.33.7 + RT kernel 1000 Hz1,2121,2521,1871,1441,1481,1701,1591,1861,31214%
Experimental 0.1.33.7 + RT kernel 100 Hz1,3461,3311,2881,2991,3181,3171,2661,3241,3246%
Beta Release 0.1.33.7 (standard kernel)46424250444342504718%
Windows 10 IoT Enterprise LTSC, Defender on19815519220423816816217315048%
Windows 10 IoT Enterprise LTSC, Defender off17616216320428917016316414387%

Swipe the table sideways to see all columns.

* the difference between the highest and the lowest format, against the system’s median. CD 16/44.1 is the median of 4 tracks; every other format is one track.

Interrupts a second by format (median)

SystemCD 16/44.124/4824/9624/176.424/192DXD 24/352.8DSD64DSD128DSD256
Early build 0.1.9.1 + stock RT kernel 1000 Hz2,2992,2422,2052,1822,2762,1912,1822,2362,208
Early build 0.1.9.1 + RT kernel 100 Hz2,2272,1302,1322,1272,1272,1312,1232,1332,133
Experimental 0.1.33.7 + RT kernel 2000 Hz568538529553552561555564571
Experimental 0.1.33.7 + RT kernel 1000 Hz584605573548551563555572639
Experimental 0.1.33.7 + RT kernel 100 Hz652640621628637637611640633
Beta Release 0.1.33.7 (standard kernel)565546548553548550546548550
Windows 10 IoT Enterprise LTSC, Defender on1,5121,4801,5141,5421,5301,4951,4881,5001,482
Windows 10 IoT Enterprise LTSC, Defender off1,5011,4931,5011,5611,5821,4961,4941,4901,482

Swipe the table sideways to see all columns.

How it was measured

  • The same 12 local files, always in the same order, 30 s each, started one after another through UPnP as from a control app; in each, 5 s in, a 15 s count of all interrupts and all thread switches.
  • Every system: Holo Audio May over USB, Renderer latency 100 ms (Linux), “Release the device” never; each run at least 1–2 minutes after the start (Windows: 200 s, then the CPU below 1 % for a minute).
  • Early build 0.1.9.1: Renderer 0.6.6.9 with the kernel’s own USB audio driver, on the real-time kernel (Arch’s stock 1000 Hz, and the same kernel at 100 Hz), the TPM random feed on (as that build had it). Beta Release 0.1.33.7: Renderer 0.6.7, AA’s USB audio driver changes, the TPM random feed off; on the real-time kernel the same build with only the kernel changed. The 2000 Hz kernel was built for this experiment.
  • Windows: the same J5040 under Windows 10 IoT Enterprise LTSC, AA Renderer on WDM-KS; DSD goes as DoP there. Two runs: Defender on, and Defender switched off by the measuring script after the 200 s delay (its engine did not appear in any count) and put back at the end. Its “late periods” are not reported (Linux only).
  • Thread switches count every switch on the computer, all programs and the kernel; interrupts are all sources, all CPUs.
© 2026 AA Audio. All rights reserved.

Latency Tests

In these tests, only the Beta Release Linux build was used. We vary the Renderer’s target latency values from 20 ms to 100 ms. Very low latency is not necessarily good for audio playback. The extra CPU activities may create digital artifacts and noises that some listeners feel like having extra details which they may like, but it is not coming from the source file.

EXPERIMENT: Renderer latency – the 12-track test

J5040 (AAMS Extreme), production 0.1.33.7 on its internal SSD (standard kernel 7.3.5, 1000 Hz timer, tickless), Holo Audio May over USB · 27 November 2026 · latency 20, 32, 40, 50, 80 ms (the Renderer’s default) and 100 ms (the setting of the earlier benchmark runs)

0late periods at every latency – every track played cleanly
2.5×thread switches at 20 ms against the 80 ms default (130 against 52 a second)
≈ 557interrupts a second at every latency – latency does not change them

Thread switches a second while playing

Median of the 12 tracks. Fewer is quieter. Green: the default, 80 ms.

20 ms
130
32 ms
91
40 ms
76
50 ms
68
80 ms default
52
100 ms benchmark setting
44

The AA Renderer’s own wake-ups a second

The Renderer wakes once per period, and the period is the latency: 100 ms = 10 a second, 20 ms = 50 a second.

20 ms
52.7
32 ms
33.2
40 ms
26.0
50 ms
20.8
80 ms default
13.7
100 ms benchmark setting
10.4

Interrupts a second while playing

Median of the 12 tracks, nearly all from the USB controller feeding the DAC. About the same at every latency.

20 ms
552
32 ms
585
40 ms
556
50 ms
554
80 ms default
557
100 ms benchmark setting
550

At 32 ms slightly more USB interrupts on every track; at 20 ms the 16/44.1 tracks had fewer (about 405 in all), the other formats 525 USB as usual.

Longest gap between two periods (ms)

From the Renderer’s own session reports. A period is late only at 1.5 periods; none was.

20 ms
23.1 ms
32 ms
32.1 ms
40 ms
40.1 ms
50 ms
51.7 ms
80 ms default
80.1 ms
100 ms benchmark setting
100.1 ms

What it means

  • Shorter latency means more periods a second, and each period costs about two thread switches: the Renderer’s own wake-up and the kernel’s work that goes with it. That is the whole difference.
  • Interrupts and playback do not change: about 550 interrupts a second and 0 late periods at every latency.
  • The format (CD, hi-res PCM, DXD, DSD) makes no difference at any latency.
  • By these counts the default 80 ms (52 a second) is close to 100 ms (44), the quietest measured; below 80 ms the switches rise steadily. Whether the lower latencies sound different is for listening.

The figures

LatencyThread switches/s
median
rangeRenderer’s
own
Interrupts/s
median
rangeLateLongest gap
ms
20 ms130125–13452.7552402–565023.1
32 ms9186–10133.2585570–590032.1
40 ms7674–7926.0556548–600040.1
50 ms6863–7120.8554548–591051.7
80 ms (default)5251–6013.7557551–582080.1
100 ms4442–5010.4550546–5680100.1

Swipe the table sideways to see all columns.

How it was measured

  • The same 12 files, always in the same order, 30 s each, started one after another through UPnP as from a control app; in each, 5 s in, a 15 s count of all interrupts and all thread switches.
  • Latency set as the Holo May’s own setting; between values only the Renderer was restarted, then 60 s before the run. Order 80, 50, 40, 32, 20 ms; afterwards back to 100 ms. The 100 ms figures are from the earlier benchmark run of production 0.1.33.7 (all earlier benchmarks used 100 ms); the Renderer’s default is 80 ms.
  • Production 0.1.33.7 as released: own core for the Renderer, light sleep, “Release the device” never, logs on; amplifier off.
© 2026 AA Audio. All rights reserved.