Skip to content
The Chat Archive
o3-2025-04-16· OpenAI LMArena Human Preference 140K

XTW Version 1.3.0 ----------------- OS Version: 10.0.20348 Trace duration: 10 second(s)…

  1. User

    XTW Version 1.3.0

    OS Version: 10.0.20348 Trace duration: 10 second(s) Trace Path: xtw.etl Lost Buffers: 0 Lost Events: 0

    Interrupts (ISRs) - Total Elapsed Time (usecs) and Count by CPU

    Module                CPU 0               CPU 1               CPU 2               CPU 3               CPU 4               CPU 5               Total
    amdRxhci.sys          474.70 (1504)       1742.00 (4067)      432.20 (1045)       772.80 (2816)       3030.10 (5799)      2368.20 (9911)      8820.00 (25142)
    dxgkrnl.sys           3448.70 (133)       9827.00 (370)       3035.10 (111)       6312.90 (249)       15327.60 (559)      22810.70 (929)      60762.00 (2351)
    storport.sys          46.70 (30)          206.40 (178)        81.60 (65)          103.10 (91)         130.10 (60)         205.10 (83)         773.00 (507)
    NDIS.SYS              147.40 (56)         -                   -                   -                   -                   -                   147.40 (56)
    
    Total                 4117.50 (1723)      11775.40 (4615)     3548.90 (1221)      7188.80 (3156)      18487.80 (6418)     25384.00 (10923)    70502.40 (28056)
    

    Interrupts (ISRs) - Interval (ms)

    Module                Max                 Avg                 Min                 STDEV               99 %ile             99.9 %ile
    amdRxhci.sys          842.25              0.39                0.25                5.31                1.00                1.75
    dxgkrnl.sys           488.00              4.29                0.02                10.80               4.17                112.62
    storport.sys          1351.56             19.91               0.00                85.16               320.56              1351.56
    NDIS.SYS              2604.75             138.27              0.01                488.56              2604.75             2604.75
    
    System Summary        2604.75             1.34                0.00                25.88               4.17                159.79
    

    Interrupts (ISRs) - Elapsed Time (usecs)

    Module                Max                 Avg                 Min                 STDEV               99 %ile             99.9 %ile
    amdRxhci.sys          5.80                0.35                0.10                0.20                0.70                0.90
    dxgkrnl.sys           54.00               25.85               7.90                4.06                33.00               51.40
    storport.sys          9.90                1.52                0.40                1.50                5.40                9.90
    NDIS.SYS              3.40                2.63                2.40                0.20                3.40                3.40
    
    System Summary        54.00               2.51                0.10                7.16                29.20               32.80
    

    Deferred Procedure Calls (DPCs) - Total Elapsed Time (usecs) and Count by CPU

    Module                CPU 0               CPU 1               CPU 2               CPU 3               CPU 4               CPU 5               Total
    NDIS.SYS              397.70 (73)         1.10 (1)            -                   -                   -                   1.60 (1)            400.40 (75)
    amdRxhci.sys          10540.30 (3008)     32370.70 (8134)     9027.10 (2090)      17810.40 (5632)     54308.00 (11598)    56556.00 (19820)    180612.50 (50282)
    nvlddmkm.sys          2751.90 (253)       8187.10 (731)       2438.60 (215)       5302.60 (488)       12502.60 (1092)     19490.60 (1810)     50673.40 (4589)
    ntoskrnl.exe          18.50 (23)          14.20 (20)          6.00 (7)            12.10 (35)          18.60 (23)          25.90 (36)          95.30 (144)
    storport.sys          74.20 (38)          306.00 (190)        131.30 (83)         121.90 (96)         79.10 (50)          118.80 (66)         831.30 (523)
    dxgkrnl.sys           146.20 (10)         360.50 (16)         110.20 (5)          213.50 (11)         358.00 (22)         766.50 (43)         1954.90 (107)
    afd.sys               34.50 (10)          -                   -                   -                   -                   -                   34.50 (10)
    Ntfs.sys              0.90 (1)            0.80 (1)            -                   -                   -                   -                   1.70 (2)
    tcpip.sys             14.40 (7)           22.40 (10)          -                   3.00 (3)            -                   1.20 (1)            41.00 (21)
    secnvme.sys           1.50 (1)            -                   -                   -                   -                   -                   1.50 (1)
    CLASSPNP.SYS          -                   10.50 (12)          -                   4.90 (4)            19.10 (4)           -                   34.50 (20)
    storahci.sys          -                   0.90 (1)            -                   -                   -                   -                   0.90 (1)
    
    Total                 13980.10 (3424)     41274.20 (9116)     11713.20 (2400)     23468.40 (6269)     67285.40 (12789)    76960.60 (21777)    234681.90 (55775)
    

    Deferred Procedure Calls (DPCs) - Interval (ms)

    Module                Max                 Avg                 Min                 STDEV               99 %ile             99.9 %ile
    NDIS.SYS              609.37              131.76              0.01                221.35              609.37              609.37
    amdRxhci.sys          842.24              0.20                0.00                3.76                0.75                1.50
    nvlddmkm.sys          468.43              2.20                0.00                7.77                4.18                20.77
    ntoskrnl.exe          581.59              67.63               0.00                85.19               320.40              581.59
    storport.sys          852.81              19.30               0.00                70.67               320.56              852.81
    dxgkrnl.sys           646.57              92.16               0.02                182.56              529.58              646.57
    afd.sys               1015.62             1015.62             1015.62             0.00                1015.62             1015.62
    Ntfs.sys              5093.72             5093.72             5093.72             0.00                5093.72             5093.72
    tcpip.sys             515.61              75.00               0.00                116.77              515.61              515.61
    secnvme.sys           0.00                0.00                0.00                0.00                0.00                0.00
    CLASSPNP.SYS          1937.49             403.78              0.00                701.02              1937.49             1937.49
    storahci.sys          0.00                0.00                0.00                0.00                0.00                0.00
    
    System Summary        5093.72             1.48                0.00                33.39               4.17                320.56
    

    Deferred Procedure Calls (DPCs) - Elapsed Time (usecs)

    Module                Max                 Avg                 Min                 STDEV               99 %ile             99.9 %ile
    NDIS.SYS              22.50               5.34                1.10                4.12                22.50               22.50
    amdRxhci.sys          26.60               3.59                0.80                2.71                10.60               11.90
    nvlddmkm.sys          50.50               11.04               0.10                9.86                24.90               42.50
    ntoskrnl.exe          2.70                0.66                0.10                0.46                2.50                2.70
    storport.sys          12.60               1.59                0.40                1.01                4.50                12.60
    dxgkrnl.sys           64.10               18.27               0.50                19.30               58.40               64.10
    afd.sys               4.50                3.45                2.30                0.70                4.50                4.50
    Ntfs.sys              0.90                0.85                0.80                0.07                0.90                0.90
    tcpip.sys             4.80                1.95                0.20                1.20                4.80                4.80
    secnvme.sys           1.50                1.50                1.50                0.00                1.50                1.50
    CLASSPNP.SYS          10.60               1.73                0.40                2.24                10.60               10.60
    storahci.sys          0.90                0.90                0.90                0.00                0.90                0.90
    
    System Summary        64.10               4.21                0.10                4.47                21.10               29.10
    

    //lowering dpc latency //windows server 2022 //smt off ryzen 5 5600x static 4,4 1,25 llc1 asrock b450m steel legend //nvidia rtx 2060 super

  2. Assistant

    You’re basically looking at a “who-is-hammering-the-CPU-with-ISRs/DPCs” report for a 10-s ETW capture.
    Nothing is catastrophically wrong, but you’ve got three very chatty drivers that keep the latency floor higher than it needs to be:

    1. amdRxhci.sys (AMD USB 3.x host controller)
    2. dxgkrnl.sys + nvlddmkm.sys (core graphics stack + NVIDIA RTX 2060S driver)
    3. NDIS.SYS (network stack) – shows up only occasionally, but when it does it parks on the CPU for a long interval.

    High-level read-out ─────────────────── • Absolute worst ISR latency you saw: 54 µs (dxgkrnl.sys) – already “OK” for most use cases but not great for real-time audio/MIDI work.
    • Longest DPC execution: 64 µs (dxgkrnl.sys again).
    • DPC storm count: amdRxhci generated ~50 k DPCs in 10 s ⇒ 5 k Hz, average 3.6 µs → it hogs a full core for ~18 % of the capture.
    • A few “bad citizens” (NDIS, storport) don’t run long but have very wide scheduling gaps (hundreds-of-ms to seconds). That can translate into the infamous “1-s hiccup” while everything waits for the DPC queue to drain.

    Goal: shave both ●ISR length and ●DPC queue depth so the scheduler never needs to disable dispatching for more than ~50 µs.

    Action checklist

    I. USB / amdRxhci.sys

    1. Update to the latest AMD Chipset package (they ship new USB filters almost every quarter).
    2. Strip the USB tree:
      • Physically disconnect every non-essential USB device (RGB hubs, cameras, capture-cards, card-readers, Bluetooth dongles, etc.).
      • In Device Manager ➜ View ➜ Devices by connection ➜ disable unused “USB Composite Device”, “USB Mass Storage”, “USB xHCI Compliant Host Controller” branches.
    3. If you need heavy USB but not low-latency graphics, pin the xHCI interrupts to an isolated core:
      • Download MSI-Mode Utility (or use Interrupt-Affinity Policy Tool) → set amdRxhci to MSI-X and give it CPU 4–5 only.
      • Re-run the trace to confirm the flood has moved off your “real-time” cores.

    II. Graphics stack (dxgkrnl + nvlddmkm)

    1. Grab the newest Studio / Production driver (they are usually a bit calmer than the Game Ready builds).
    2. Disable power-management oscillations:
      NVIDIA Control Panel ➜ Manage 3D settings ➜ “Power management mode” → “Prefer maximum performance”.
      (Prevents the driver from clock/power state hopping every few ms).
    3. Make it MSI-X as well (with the same tool as above).
    4. If you do not render on the host, try turning off the WDDM Flip Model’s frame-scheduling watchdog:
      regedit ➜ HKLM\SYSTEM\CurrentControlSet\Control\GraphicsDrivers
      DWORD TdrDelay = 0x00000020 (32) and TdrDdiDelay = 0x00000020.
      This stops the periodic “am-I-hung?” polling that shows up as high-latency DPCs.
    5. Remove “Overlay” features: GeForce Experience overlay, Steam overlay, Discord overlay, Xbox Game Bar—all inject hooks that wake the GPU interrupt line hundreds of times a second.

    III. Network (NDIS.SYS)

    1. Update NIC driver / firmware (check Intel I219-V or Realtek page).
    2. Turn off “Interrupt Moderation” & “Energy-Efficient Ethernet” in adapter properties.
    3. If you use Wi-Fi, try an Ethernet cable instead. Wi-Fi stacks schedule big DPC batches to deal with aggregated frames; can spike 500+ µs easily.

    IV. Storage (storport / NVMe / AHCI)

    1. Update NVMe firmware.
    2. If it’s a Samsung/WD drive, install the vendor’s “performance” driver (replaces storport).
    3. In BIOS disable “Aggressive Link Power Management” (ALPM) for SATA; keeps AHCI from parking the link mid-session.

    V. BIOS & OS power policy

    • You already run SMT off & fixed 4.4 GHz—good.
    • Disable Global C-States, CPB (Core Boost), and PSPP/CPPC for maximum determinism.
    • Keep Spread Spectrum OFF (adds clock jitter, which can show as latency variance).
    • Windows → powercfg /setactive scheme_min (Ultimate Performance in Server 2022).
    • bcdedit /set disabledynamictick yes & bcdedit /set useplatformclock yes to force HPET and stop the idle tick.

    VI. “Isolate” real-time cores (optional but helpful)

    1. Example: reserve CPU 0–1 for audio engine, shove everything else to 2-5.
    2. bcdedit /set isolatedcontext 0-1
      bcdedit /set removepacking 0-1
      Then use Interrupt-Affinity Policy Tool to pin heavy ISR/DPC devices away from 0-1.

    Validation loop

    1. Capture again (xperf -on latency -stackwalk profile -maxfile 128 -filemode circular -buffersize 1024 -minbuffers 512 -maxbuffers 1024 for 60 s).
    2. Inspect “DPC/ISR activity by module” view; aim for:
      • Max ISR < 25 µs (ideal)
      • Max DPC < 50 µs
      • Queue depth never > 50 (check the yellow “ReadyForIsr” graph).
    3. If still too high, temporarily disable one driver tree at a time (USB, GPU, NIC) → retest → isolate the culprit.

    Quick sanity targets for a well-tuned Ryzen 5 5600X + Server 2022 box: • Average DPC latency ≤ 3 µs
    • Peaks under “Bursts” graph ≤ 100 µs
    • LatencyMon green across the board for 10 min straight.

    If you reach that you should be safe for real-time audio, motion-control or other hard-RT workloads. ✨

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.