DPC latency checker shows problem, but I can't find it

Author
fireberd
Max Output Level: -38 dBFS
  • Total Posts : 3704
  • Joined: 2008/02/25 14:14:28
  • Location: Inverness, FL
  • Status: offline
2012/08/22 11:24:52 (permalink)

DPC latency checker shows problem, but I can't find it

I have this posted on the Windows 7 forum, too. 
 
I was getting some clicks in Sonar ran the DPC Latency checker. It shows a problem, which I can't find (if it really is a problem). However, the clicks in my recording program went away after I changed the buffer size for my USB connected recording device (a Roland Octa-Capture) and I'm not getting any other audio pops/clicks which could be a latency problem.

I've set "diagnostic startup" in the System Configuration panel, rebooted and ran the DPC latency checker program and the spikes are still there. I've disabled all the devices I could in the Device Manager and the spikes are still there. I disabled core parking on my i7 3770 in case that was causing anything and it didn't change anything. I've looked at other system tools and didn't see anything, that I could recognize, as a problem but I'll admit I'm not sure what I'm looking at on some of those panels.

The DPC Latency Checker will not run in Safe Mode so I can't test there.

I'm stumped on this one.
http://www.sevenforums.com/general-discussion/248244-dpc-latency-checker-shows-problem-but-i-cant-find.html
I haven't found out how to post pictures on here, if its even possible.  There is a snipping tool clip of the DPC latency checker screen posted on the Windows 7 forum. 
 
 

"GCSG Productions"
Franklin D-10 Pedal Steel Guitar (primary instrument). Nashville Telecaster, Bass, etc. 
ASUS ROG Maximus VIII Hero M/B, i7 6700K CPU, 16GB Ram, SSD and conventional hard drives, Win 10 Pro and Win 10 Pro Insider Pre-Release
Sonar Platinum/CbB. MOTU 896MK3 Hybrid, Tranzport, X-Touch, JBL LSR308 Monitors,  
Ozone 5,  Studio One 4.1
ISRC Registered
Member of Nashville based R.O.P.E. Assn.
#1

14 Replies Related Threads

    The Maillard Reaction
    Max Output Level: 0 dBFS
    • Total Posts : 31918
    • Joined: 2004/07/09 20:02:20
    • Status: offline
    Re:DPC latency checker shows problem, but I can't find it 2012/08/22 11:35:27 (permalink)



    That looks like my current laptop's results... no matter how much stuff I turn off.

    I'm sure you already know that adjusting the buffer size on your I/O is effective but it doesn't change the interrupts from other ops... it just lets the sound device tolerate the interrupts.

    I wish there was some tool that we could use to identify what causes the interrupts... it's my impression that trial/error/observation is the only way to search out the troublemaker.

    Good luck.


    best regards,
    mike


    #2
    jcschild
    Max Output Level: -41 dBFS
    • Total Posts : 3409
    • Joined: 2003/11/08 00:20:10
    • Location: Kentucky y'all
    • Status: offline
    Re:DPC latency checker shows problem, but I can't find it 2012/08/22 12:20:00 (permalink)
    ouch... thats on a desktop?

    Video drivers
    network drivers
    all power saving crap off

    Scott
    ADK
    Home of the Kentucky Fried DAW!
    #3
    fireberd
    Max Output Level: -38 dBFS
    • Total Posts : 3704
    • Joined: 2008/02/25 14:14:28
    • Location: Inverness, FL
    • Status: offline
    Re:DPC latency checker shows problem, but I can't find it 2012/08/22 12:56:17 (permalink)
    Yes, my new desktop.  As I mentioned, I've turned off everything I could find, no recording equipment is connected (or not powered on).  It does not have a wi-fi device.   I disconnected my iLok but that wasn't the cause either.

    I don't know about the UEFI BIOS, if there is something there that is the culprit. 

    One thing I notice is the disk activity light on the case is constantly flashing on and off, but it is not in sync with the spike frequency in the DPC display.  Its done that since day one, and I just assumed it has something to do with the SSD (??) since my other PC's with just conventional hard drives do not do that.

    I actually lowered the buffer in my Octa-Capture.  I had never set the Octa-Capture buffer when I installed it on this new system.  I had noticed some latency which the buffer change fixed and the clicks in Sonar went away. 
     
    UPDATE:  According to the DPC web site, this could be caused by a Kernal mode driver.  From their web site:
     
    At a period of 3 seconds a kernel-mode driver in the system is stalling the CPU for about 3.5 milliseconds. So, every 3 seconds DPC latency is exceptional large and drop-outs in real-time data streams will typically occur
    post edited by fireberd - 2012/08/22 13:11:04

    "GCSG Productions"
    Franklin D-10 Pedal Steel Guitar (primary instrument). Nashville Telecaster, Bass, etc. 
    ASUS ROG Maximus VIII Hero M/B, i7 6700K CPU, 16GB Ram, SSD and conventional hard drives, Win 10 Pro and Win 10 Pro Insider Pre-Release
    Sonar Platinum/CbB. MOTU 896MK3 Hybrid, Tranzport, X-Touch, JBL LSR308 Monitors,  
    Ozone 5,  Studio One 4.1
    ISRC Registered
    Member of Nashville based R.O.P.E. Assn.
    #4
    bvideo
    Max Output Level: -58 dBFS
    • Total Posts : 1707
    • Joined: 2006/09/02 22:20:02
    • Status: offline
    Re:DPC latency checker shows problem, but I can't find it 2012/08/22 14:07:43 (permalink)
    DPC latency is by definition a kernel mode driver hogging the CPU. Deferred procedure calls are where most ISR processing got moved to, so DPC latency is the modern day descendant of shared ISR problems. One wild possibility: there are some ethernet physical interface chips that need a CPU loop to operate whenever the cable gets plugged or unplugged. When unplugged, there could be a periodic (every couple of seconds) poll to look for it to get plugged in. Something to look for if your ethernet is not plugged in. Also, besides DPCLAT there is RATTV: http://msdn.microsoft.com...hardware/gg487354.aspx which could be useful to profile DPC execution times by driver stack.
    #5
    fireberd
    Max Output Level: -38 dBFS
    • Total Posts : 3704
    • Joined: 2008/02/25 14:14:28
    • Location: Inverness, FL
    • Status: offline
    Re:DPC latency checker shows problem, but I can't find it 2012/08/22 14:47:41 (permalink)
    I've disabled the Ethernet NIC's in the Device Manager (it has two) during my initial testing and disabling devices in the Device Manager and none made any difference.  I would 99% rule out any hardware devices as the problem.
     
    I can see all the Kernal Mode drivers with a utility I downloaded. 
     
    I'm wondering about the DPC Latency Checker program with an SSD as everything in the PC appears to be working properly, e.g. no PC audio cracks/pops (a common complaint on Win 7 systems), No clicks in Sonar, no other device problems, etc.   I don't have this problem with any other PC I have (a laptop and a desktop) and both have conventional hard drives, no SSD's.  The Laptop has Win 7 64 bit and Sonar installed (I have it set up so I can use it for on-site recording).  The other desktop is also a new build with an ASRock Z77 Professional motherboard and an i5 3550 CPU and Win 8 beta (it will get Win 7 64 bit installed possibly this weekend).  The other desktop will be configured as a backup for the main PC.  As it stands now, the DPC latency checker does not show any problems with the backup PC.
     

    "GCSG Productions"
    Franklin D-10 Pedal Steel Guitar (primary instrument). Nashville Telecaster, Bass, etc. 
    ASUS ROG Maximus VIII Hero M/B, i7 6700K CPU, 16GB Ram, SSD and conventional hard drives, Win 10 Pro and Win 10 Pro Insider Pre-Release
    Sonar Platinum/CbB. MOTU 896MK3 Hybrid, Tranzport, X-Touch, JBL LSR308 Monitors,  
    Ozone 5,  Studio One 4.1
    ISRC Registered
    Member of Nashville based R.O.P.E. Assn.
    #6
    jcschild
    Max Output Level: -41 dBFS
    • Total Posts : 3409
    • Joined: 2003/11/08 00:20:10
    • Location: Kentucky y'all
    • Status: offline
    Re:DPC latency checker shows problem, but I can't find it 2012/08/22 15:15:22 (permalink)
    show the pick to my head tech since he happened to be in my office whist having this page up.....
    quote "consistant spikes like that are 99% network"

    FYI i have no pops clicks on win7..  it aint win7 doing it...

    AHCI mode?
    Intel management Control?
    you didnt use ANY crap off the CD that came with mobo did you?

    Scott
    ADK
    Home of the Kentucky Fried DAW!
    #7
    The Maillard Reaction
    Max Output Level: 0 dBFS
    • Total Posts : 31918
    • Joined: 2004/07/09 20:02:20
    • Status: offline
    Re:DPC latency checker shows problem, but I can't find it 2012/08/22 15:41:13 (permalink)

    I want to throw something out there and I'm seeking corrections if applicable.

    Isn't it true that some motherboards and their circuitry are just problematic while others, sometimes even the same model with a different bios revision may run smooth?

    It seems hard to keep track of details like which motherboard has the greatest potential to run without interrupt but it's my impression that info like that is discovered as new items come to market.

    Please correct or elaborate on any mistaken ideas I have just presented.


    best regards,
    mike



    #8
    Jim Roseberry
    Max Output Level: 0 dBFS
    • Total Posts : 9871
    • Joined: 2004/03/23 11:34:51
    • Location: Ohio
    • Status: offline
    Re:DPC latency checker shows problem, but I can't find it 2012/08/22 16:52:37 (permalink)
    show the pick to my head tech since he happened to be in my office whist having this page up..... quote "consistant spikes like that are 99% network" FYI i have no pops clicks on win7..  it aint win7 doing it... AHCI mode? Intel management Control? you didnt use ANY crap off the CD that came with mobo did you?



    Make sure no "tuning" applet is running in the background.
    ie: EasyTune will cause DPC latency spikes if it's running in the background.


    That's dismal for a desktop (or a laptop for that matter).
    While rare, I have seen DPC latency spikes with some motherboards... where there was no resolution (other than a potential BIOS update).

    Best Regards,

    Jim Roseberry
    jim@studiocat.com
    www.studiocat.com
    #9
    jcschild
    Max Output Level: -41 dBFS
    • Total Posts : 3409
    • Joined: 2003/11/08 00:20:10
    • Location: Kentucky y'all
    • Status: offline
    Re:DPC latency checker shows problem, but I can't find it 2012/08/22 17:03:04 (permalink)
    Jim Roseberry



     you didnt use ANY crap off the CD that came with mobo did you?



    Make sure no "tuning" applet is running in the background.
    ie: EasyTune will cause DPC latency spikes if it's running in the background. 



    exactly what i meant by crap on the cd... but will also say pretty much any of the drivers as well other than the nic just to get on the interweb


    Scott
    ADK
    Home of the Kentucky Fried DAW!
    #10
    fireberd
    Max Output Level: -38 dBFS
    • Total Posts : 3704
    • Joined: 2008/02/25 14:14:28
    • Location: Inverness, FL
    • Status: offline
    Re:DPC latency checker shows problem, but I can't find it 2012/08/22 18:34:18 (permalink)
    BINGO!  EasyTune was the culprit.  Thanks for the tip, Jim.  I had installed everything on the Gigabyte disc when I first installed, but I had uninstalled most of the crap (with Revo Uninstaller), but missed the EasyTune. 

    Latency is now back averaging about 100 microsec's.

    Thanks to all for suggestions and help.

    Jack

    "GCSG Productions"
    Franklin D-10 Pedal Steel Guitar (primary instrument). Nashville Telecaster, Bass, etc. 
    ASUS ROG Maximus VIII Hero M/B, i7 6700K CPU, 16GB Ram, SSD and conventional hard drives, Win 10 Pro and Win 10 Pro Insider Pre-Release
    Sonar Platinum/CbB. MOTU 896MK3 Hybrid, Tranzport, X-Touch, JBL LSR308 Monitors,  
    Ozone 5,  Studio One 4.1
    ISRC Registered
    Member of Nashville based R.O.P.E. Assn.
    #11
    Jonbouy
    Max Output Level: 0 dBFS
    • Total Posts : 22562
    • Joined: 2008/04/14 13:47:39
    • Location: England's Sunshine South Coast
    • Status: offline
    Re:DPC latency checker shows problem, but I can't find it 2012/08/22 18:56:07 (permalink)
    jcschild


    show the pick to my head tech since he happened to be in my office whist having this page up.....
    quote "consistant spikes like that are 99% network"


    Sometimes a TCP/IP reset using netsh can fix some of these gremlins.

    It's simple enough to do as a first resort.

    http://support.microsoft.com/kb/299357

    Reboot after and check again.

    edit:

    Whoops too late, funny the rest of the posts weren't showing up when I posted this.

    Anyhow glad it's sorted.  Gah, Easy Tune/AI suite type problems again...

    post edited by Jonbouy - 2012/08/22 19:00:19

    "We can't do anything to change the world until capitalism crumbles.
    In the meantime we should all go shopping to console ourselves" - Banksy
    #12
    Jonbouy
    Max Output Level: 0 dBFS
    • Total Posts : 22562
    • Joined: 2008/04/14 13:47:39
    • Location: England's Sunshine South Coast
    • Status: offline
    Re:DPC latency checker shows problem, but I can't find it 2012/08/22 22:24:32 (permalink)
    mike_mccue

     
    I wish there was some tool that we could use to identify what causes the interrupts... it's my impression that trial/error/observation is the only way to search out the troublemaker.


    That's the trouble with DPCLat it's a nice hypnotic display but doesn't actually tell you anything.

    The Resplendence Latency Monitor is a much better tool for finding out what is actually going on.

    http://www.resplendence.com/latencymon


    "We can't do anything to change the world until capitalism crumbles.
    In the meantime we should all go shopping to console ourselves" - Banksy
    #13
    fireberd
    Max Output Level: -38 dBFS
    • Total Posts : 3704
    • Joined: 2008/02/25 14:14:28
    • Location: Inverness, FL
    • Status: offline
    Re:DPC latency checker shows problem, but I can't find it 2012/08/23 06:45:47 (permalink)
    My older PC was working without any problems.  I decided to run the DPC Latency checker just to see, and it showed no problems.  I ran across the resplendence program and ran it , too just to see,  and it showed several "problems".   As it wasn't "broke", I didn't "fix it".


    "GCSG Productions"
    Franklin D-10 Pedal Steel Guitar (primary instrument). Nashville Telecaster, Bass, etc. 
    ASUS ROG Maximus VIII Hero M/B, i7 6700K CPU, 16GB Ram, SSD and conventional hard drives, Win 10 Pro and Win 10 Pro Insider Pre-Release
    Sonar Platinum/CbB. MOTU 896MK3 Hybrid, Tranzport, X-Touch, JBL LSR308 Monitors,  
    Ozone 5,  Studio One 4.1
    ISRC Registered
    Member of Nashville based R.O.P.E. Assn.
    #14
    Jonbouy
    Max Output Level: 0 dBFS
    • Total Posts : 22562
    • Joined: 2008/04/14 13:47:39
    • Location: England's Sunshine South Coast
    • Status: offline
    Re:DPC latency checker shows problem, but I can't find it 2012/08/23 08:52:19 (permalink)
    fireberd


    My older PC was working without any problems.  I decided to run the DPC Latency checker just to see, and it showed no problems.  I ran across the resplendence program and ran it , too just to see,  and it showed several "problems".   As it wasn't "broke", I didn't "fix it".


    Yes I'd only use LatencyMon if DPClat is showing up issues in the first place as a means of investigating further.

    The common culprits are the PS2 port driver (use a USB mouse/keyboard where possible), USB stuff, networking elements if you have internet enabled and networking elements even if you don't have internet enabled.

    No way round the networking stuff as Microsoft likes us all to be networked unfortunately but some of it can be minimized.

    "We can't do anything to change the world until capitalism crumbles.
    In the meantime we should all go shopping to console ourselves" - Banksy
    #15
    Jump to:
    © 2024 APG vNext Commercial Version 5.1