1. #1

    Tracing DPC issue Windows 10

    Hello!
    I have an issue with Windows 10, that Microsoft pretty much kept giving me the run around. Apparently DPC issues are not worthy of Microsoft tech support time.
    I am hoping someone here can help.

    Spec:
    Windows 10 Pro
    Ryzen 1700X
    Crosshair VI Hero BVersion 1201, Bsettings 'Stock CPU, DRAM 2666"
    Gskill Flare 3200
    Asus Strix GTX 970 Bversion 84.04.84.00.AS17\
    Kraken x60 plugged AIO 4pin,+usb2.0 header for control

    Additional Items
    USB - Strix 7.1 DSP USB Audio
    USB - Seagate External backup
    USB - Razer Blackwidow
    USB - Razer Ouroborous
    Network - Cannon MG6600

    Issue
    This issue does not cause crashes, but is highly annoying.
    Randomly, DPC will skyrocket, cuasing audio and video lag. This issue is extremely random, but can be replicated by using device manager.
    If I open device manager, and select scan for new hardware, the issue will surface.
    Latecymon.exe reports STORPORT.sys
    LatencyMon Stats page
    _________________________________________________________________________________________________________
    CONCLUSION
    _________________________________________________________________________________________________________
    Your system appears to be having trouble handling real-time audio and other tasks. You are likely to experience buffer underruns appearing as drop outs, clicks or pops. One or more DPC routines that belong to a driver running in your system appear to be executing for too long. One problem may be related to power management, disable CPU throttling settings in Control Panel and BIOS setup. Check for BIOS updates.
    LatencyMon has been analyzing your system for 0:00:23 (h:mm:ss) on all processors.


    _________________________________________________________________________________________________________
    SYSTEM INFORMATION
    _________________________________________________________________________________________________________
    Computer name: X15
    OS version: Windows 10 , 10.0, build: 15063 (x64)
    Hardware: ASUSTeK COMPUTER INC., CROSSHAIR VI HERO
    CPU: AuthenticAMD AMD Ryzen 7 1700X Eight-Core Processor
    Logical processors: 16
    Processor groups: 1
    RAM: 16312 MB total


    _________________________________________________________________________________________________________
    CPU SPEED
    _________________________________________________________________________________________________________
    Reported CPU speed: 3394 MHz
    Measured CPU speed: 1 MHz (approx.)

    Note: reported execution times may be calculated based on a fixed reported CPU speed. Disable variable speed settings like Intel Speed Step and AMD Cool N Quiet in the BIOS setup for more accurate results.

    WARNING: the CPU speed that was measured is only a fraction of the CPU speed reported. Your CPUs may be throttled back due to variable speed settings and thermal issues. It is suggested that you run a utility which reports your actual CPU frequency and temperature.



    _________________________________________________________________________________________________________
    MEASURED INTERRUPT TO USER PROCESS LATENCIES
    _________________________________________________________________________________________________________
    The interrupt to process latency reflects the measured interval that a usermode process needed to respond to a hardware request from the moment the interrupt service routine started execution. This includes the scheduling and execution of a DPC routine, the signaling of an event and the waking up of a usermode thread from an idle wait state in response to that event.

    Highest measured interrupt to process latency (Ás): 130.352840
    Average measured interrupt to process latency (Ás): 3.767530

    Highest measured interrupt to DPC latency (Ás): 73.625215
    Average measured interrupt to DPC latency (Ás): 1.489638


    _________________________________________________________________________________________________________
    REPORTED ISRs
    _________________________________________________________________________________________________________
    Interrupt service routines are routines installed by the OS and device drivers that execute in response to a hardware interrupt signal.

    Highest ISR routine execution time (Ás): 91.040660
    Driver with highest ISR routine execution time: dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation

    Highest reported total ISR routine time (%): 0.054056
    Driver with highest ISR total time: dxgkrnl.sys - DirectX Graphics Kernel, Microsoft Corporation

    Total time spent in ISRs (%) 0.060238

    ISR count (execution time <250 Ás): 22524
    ISR count (execution time 250-500 Ás): 0
    ISR count (execution time 500-999 Ás): 0
    ISR count (execution time 1000-1999 Ás): 0
    ISR count (execution time 2000-3999 Ás): 0
    ISR count (execution time >=4000 Ás): 0


    _________________________________________________________________________________________________________
    REPORTED DPCs
    _________________________________________________________________________________________________________
    DPC routines are part of the interrupt servicing dispatch mechanism and disable the possibility for a process to utilize the CPU while it is interrupted until the DPC has finished execution.

    Highest DPC routine execution time (Ás): 100364.573954
    Driver with highest DPC routine execution time: storport.sys - Microsoft Storage Port Driver, Microsoft Corporation

    Highest reported total DPC routine time (%): 0.054523
    Driver with highest DPC total execution time: storport.sys - Microsoft Storage Port Driver, Microsoft Corporation

    Total time spent in DPCs (%) 0.145375

    DPC count (execution time <250 Ás): 112101
    DPC count (execution time 250-500 Ás): 0
    DPC count (execution time 500-999 Ás): 5
    DPC count (execution time 1000-1999 Ás): 0
    DPC count (execution time 2000-3999 Ás): 0
    DPC count (execution time >=4000 Ás): 0


    _________________________________________________________________________________________________________
    REPORTED HARD PAGEFAULTS
    _________________________________________________________________________________________________________
    Hard pagefaults are events that get triggered by making use of virtual memory that is not resident in RAM but backed by a memory mapped file on disk. The process of resolving the hard pagefault requires reading in the memory from disk while the process is interrupted and blocked from execution.


    Process with highest pagefault count: none

    Total number of hard pagefaults 0
    Hard pagefault count of hardest hit process: 0
    Highest hard pagefault resolution time (Ás): 0.0
    Total time spent in hard pagefaults (%): 0.0
    Number of processes hit: 0


    _________________________________________________________________________________________________________
    PER CPU DATA
    _________________________________________________________________________________________________________
    CPU 0 Interrupt cycle time (s): 0.999468
    CPU 0 ISR highest execution time (Ás): 91.040660
    CPU 0 ISR total execution time (s): 0.219299
    CPU 0 ISR count: 18365
    CPU 0 DPC highest execution time (Ás): 100364.573954
    CPU 0 DPC total execution time (s): 0.504820
    CPU 0 DPC count: 104139
    _________________________________________________________________________________________________________
    CPU 1 Interrupt cycle time (s): 0.128652
    CPU 1 ISR highest execution time (Ás): 6.100766
    CPU 1 ISR total execution time (s): 0.000036
    CPU 1 ISR count: 22
    CPU 1 DPC highest execution time (Ás): 29.231585
    CPU 1 DPC total execution time (s): 0.00060
    CPU 1 DPC count: 164
    _________________________________________________________________________________________________________
    CPU 2 Interrupt cycle time (s): 0.148038
    CPU 2 ISR highest execution time (Ás): 0.0
    CPU 2 ISR total execution time (s): 0.0
    CPU 2 ISR count: 0
    CPU 2 DPC highest execution time (Ás): 31.736005
    CPU 2 DPC total execution time (s): 0.002491
    CPU 2 DPC count: 1035
    _________________________________________________________________________________________________________
    CPU 3 Interrupt cycle time (s): 0.182998
    CPU 3 ISR highest execution time (Ás): 5.800236
    CPU 3 ISR total execution time (s): 0.000011
    CPU 3 ISR count: 2
    CPU 3 DPC highest execution time (Ás): 26.877431
    CPU 3 DPC total execution time (s): 0.000850
    CPU 3 DPC count: 361
    _________________________________________________________________________________________________________
    CPU 4 Interrupt cycle time (s): 0.155085
    CPU 4 ISR highest execution time (Ás): 0.0
    CPU 4 ISR total execution time (s): 0.0
    CPU 4 ISR count: 0
    CPU 4 DPC highest execution time (Ás): 17.190336
    CPU 4 DPC total execution time (s): 0.003377
    CPU 4 DPC count: 957
    _________________________________________________________________________________________________________
    CPU 5 Interrupt cycle time (s): 0.181943
    CPU 5 ISR highest execution time (Ás): 0.0
    CPU 5 ISR total execution time (s): 0.0
    CPU 5 ISR count: 0
    CPU 5 DPC highest execution time (Ás): 40.601650
    CPU 5 DPC total execution time (s): 0.000748
    CPU 5 DPC count: 254
    _________________________________________________________________________________________________________
    CPU 6 Interrupt cycle time (s): 0.161049
    CPU 6 ISR highest execution time (Ás): 0.0
    CPU 6 ISR total execution time (s): 0.0
    CPU 6 ISR count: 0
    CPU 6 DPC highest execution time (Ás): 24.162640
    CPU 6 DPC total execution time (s): 0.004288
    CPU 6 DPC count: 1035
    _________________________________________________________________________________________________________
    CPU 7 Interrupt cycle time (s): 0.190397
    CPU 7 ISR highest execution time (Ás): 0.0
    CPU 7 ISR total execution time (s): 0.0
    CPU 7 ISR count: 0
    CPU 7 DPC highest execution time (Ás): 28.139658
    CPU 7 DPC total execution time (s): 0.003004
    CPU 7 DPC count: 722
    _________________________________________________________________________________________________________
    CPU 8 Interrupt cycle time (s): 0.190423
    CPU 8 ISR highest execution time (Ás): 0.0
    CPU 8 ISR total execution time (s): 0.0
    CPU 8 ISR count: 0
    CPU 8 DPC highest execution time (Ás): 25.545080
    CPU 8 DPC total execution time (s): 0.002419
    CPU 8 DPC count: 850
    _________________________________________________________________________________________________________
    CPU 9 Interrupt cycle time (s): 0.185967
    CPU 9 ISR highest execution time (Ás): 0.0
    CPU 9 ISR total execution time (s): 0.0
    CPU 9 ISR count: 0
    CPU 9 DPC highest execution time (Ás): 16.949912
    CPU 9 DPC total execution time (s): 0.000686
    CPU 9 DPC count: 188
    _________________________________________________________________________________________________________
    CPU 10 Interrupt cycle time (s): 0.194830
    CPU 10 ISR highest execution time (Ás): 0.0
    CPU 10 ISR total execution time (s): 0.0
    CPU 10 ISR count: 0
    CPU 10 DPC highest execution time (Ás): 21.467885
    CPU 10 DPC total execution time (s): 0.002315
    CPU 10 DPC count: 452
    _________________________________________________________________________________________________________
    CPU 11 Interrupt cycle time (s): 0.193107
    CPU 11 ISR highest execution time (Ás): 0.0
    CPU 11 ISR total execution time (s): 0.0
    CPU 11 ISR count: 0
    CPU 11 DPC highest execution time (Ás): 45.580436
    CPU 11 DPC total execution time (s): 0.001135
    CPU 11 DPC count: 265
    _________________________________________________________________________________________________________
    CPU 12 Interrupt cycle time (s): 0.203526
    CPU 12 ISR highest execution time (Ás): 15.126694
    CPU 12 ISR total execution time (s): 0.002088
    CPU 12 ISR count: 3609
    CPU 12 DPC highest execution time (Ás): 28.630524
    CPU 12 DPC total execution time (s): 0.003259
    CPU 12 DPC count: 564
    _________________________________________________________________________________________________________
    CPU 13 Interrupt cycle time (s): 0.195365
    CPU 13 ISR highest execution time (Ás): 1.142015
    CPU 13 ISR total execution time (s): 0.000138
    CPU 13 ISR count: 210
    CPU 13 DPC highest execution time (Ás): 26.747201
    CPU 13 DPC total execution time (s): 0.000956
    CPU 13 DPC count: 188
    _________________________________________________________________________________________________________
    CPU 14 Interrupt cycle time (s): 0.202731
    CPU 14 ISR highest execution time (Ás): 3.916912
    CPU 14 ISR total execution time (s): 0.000216
    CPU 14 ISR count: 261
    CPU 14 DPC highest execution time (Ás): 30.994697
    CPU 14 DPC total execution time (s): 0.003922
    CPU 14 DPC count: 853
    _________________________________________________________________________________________________________
    CPU 15 Interrupt cycle time (s): 0.195756
    CPU 15 ISR highest execution time (Ás): 3.105480
    CPU 15 ISR total execution time (s): 0.000044
    CPU 15 ISR count: 55
    CPU 15 DPC highest execution time (Ás): 40.080731
    CPU 15 DPC total execution time (s): 0.000481
    CPU 15 DPC count: 81
    _________________________________________________________________________________________________________

    Atached is a CPU Trace performed via Xperf.
    If any data is missing, let me know, Ill redo the test with any changes in paramters.

    Thank you.

    CPU.zip


    • Ad Bot

      advertising
      Beep.

        
       

  2. #2

    Re: Tracing DPC issue Windows 10

    Found a solution.
    I have downloaded and installed the latest AHCI driver for my system.
    However, Windows did not use this driver.
    The shipped driver is faulty, and unknown reason, Microsoft Windows will not use it.

    I had to go to device manager, uninstall the current driver, and manually load the AHCI driver to system32 and reboot.
    xilolee says thanks for this.

  3. #3
    xilolee's Avatar
    Join Date
    Dec 2013
    Location
    World, Europe, Italy
    Posts
    2,247
    • specs System Specs
      • Manufacturer:
        XILOLEE.com
      • Model Number:
        XILO
      • Motherboard:
        ASROCK FM2A88M Pro3+ chipset A88X Bolton-D4
      • CPU:
        A10-7800, 4 CPU, 4 thr, 65/45W, FM2+, 28nm, Steamroller/Kaveri
      • Memory:
        10GB (Nanya and kingston ddr3-1333 9-9-9-24)
      • Graphics:
        Radeon R7 720MHz (8 GPU cores, integrated in CPU)
      • Sound Card:
        RealTek ALC662 (integrated in MB)
      • Hard Drives:
        Seagate ST500DM002-1BD142 500GB 7200RPM
      • Power Supply:
        SuperFlower 450W 80+ Platinum (SF-450P14PE)
      • Case:
        Sharkoon VG4-S
      • Cooling:
        Realtek RTL8111GR (NIC integrated in MB)
      • Display:
        Samsung SyncMaster SA100 LS22A100NS-EN
      • Operating System:
        Windows 10 Home/Standard x64

    Re: Tracing DPC issue Windows 10

    Hi TriThePi.

    Glad you found a solution.
    Did it solve it at all?

  4. #4

    Re: Tracing DPC issue Windows 10

    Quote Originally Posted by xilolee View Post
    Hi TriThePi.

    Glad you found a solution.
    Did it solve it at all?
    Yes it did.
    Not sure why Windows would not use the driver; it was newer than the microsoft one, and the AMD installer did install the driver.
    However, the one that was installed was faulty - had to uninstall the driver using device manager, insert the drivers into system32, then use Windows driver loader to load the specific file.
    Solves all the problems.
    At the time of this writing, the proper SATA/AHCI driver is AMD 1.2.1.402

  5. #5

    Re: Tracing DPC issue Windows 10

    I am having the same problem as you. The Amd Sata Ahci driver 1.3.1.276 is causing audio stutters. Windows doesn't seem to use it for some reason. Can you post a detailed walkthrough how did you fix the problem? What files I need to move to system32?
    Changing the Amd Sata Ahci driver to Microsoft's ahci driver from 2006 fixes the problems too.

  6. #6

    Re: Tracing DPC issue Windows 10

    Quote Originally Posted by Sellis97 View Post
    I am having the same problem as you. The Amd Sata Ahci driver 1.3.1.276 is causing audio stutters. Windows doesn't seem to use it for some reason. Can you post a detailed walkthrough how did you fix the problem? What files I need to move to system32?
    Changing the Amd Sata Ahci driver to Microsoft's ahci driver from 2006 fixes the problems too.
    I would not be able to help you without details on your system, such as CPU, motherbaord, and windows version.
    My issue was cuased by Windows not using a SATA driver for my motherboard, a AM4 playform.

    The latest driver for me was a 1.2 driver, you said 1.3, not sure if that was a mistake.

    Anyway.

    Download the latest chipset from AMD's website for your mobo drivers.
    Extract these to a place on disk.
    Do *NOT* run the AMD setup, Windows will ignore the driver.

    Open Device Manager
    Expand IDE ATA/ATAPI
    Right Click AMD SATA controller
    properties, update driver.
    Browse to your [previously] unzipped drivers, there will be a SATA/AHCI/ or RAID folder.
    Just select the folder, and be sure to tick the box [Include Subfolders]

    Let Windows do its thing, and you'll need a reboot.

    If that does not work, you'll have to manually insert the drivers.
    For mine, the sata drivers somehow were deny on all permissions, and Windows didn't want to replace them.
    I ended up booting from a linux USB, granting permissions and copying the files.


    Be sure this driver is compatabile with your system, or it will crash it.
    For this, you'll need to boot into safe mode, or use a LIVE CD to drop the files into Windows.

    Windows\system32\DRIVERS\AMD_sata.sys
    Windows\system32\DRIVERS\AMD_xata.sys

  7. #7

    Re: Tracing DPC issue Windows 10

    I have MSI B350 Gaming Pro Carbon, Windows 10 64-bit Creators Update, Ryzen 5 1600x. All the sites show that the latest AMD Sata AHCI driver is 1.3.1.276 which is having the same symptoms as you did. Pressing scan for hardware changes in device manager would cause audio stutter. I reported this issue to the AMD already and I will wait if they will help me with this. This driver issue is causing maybe some other issues on my system. For example I have 3 ssds and 1 hdd; my hdd and one of the ssds are showing as portable/external devices. I am thinking that they won't show up as internal devices because they can't use the broken driver.

  8. #8

    Re: Tracing DPC issue Windows 10

    I actually replaced the drivers in the system32/drivers with the newest drivers by using the Microsoft drivers meanwhile. But it didn't fix the issue. But the version is 1.3.1.276 there now but it's still showing the same symptoms. I made a video about this problem:


Similar Threads

  1. Replies: 2
    Last Post: 03-01-2017, 06:18 PM

Log in

Log in