DPC latency question

Author
jbow
Max Output Level: -0.2 dBFS
  • Total Posts : 7601
  • Joined: 2003/11/26 19:14:18
  • Status: offline
2011/04/11 09:11:05 (permalink)

DPC latency question

I downloaded DPC Latency Checker and have run it twice on my laptop but I don't know if the results mean anything. I have not run it with an interface connected but I will. I have rung it with the wireless "combo" off and with no windows open. I ran it with two windows open, X1 running, wireless on, and nothing at all disabled and the first time it never went above 158 and averaged around 125uS. Running the second time I had two spikes over a period of a couple of minutes that jumped up to a little over 600uS but they were random and not close together. It still averaged around 125 and sometimes dropped into the 90s.
Is this meaningless since I don't have an interface connected or is it good? It would be nice to just have to makes sure all notifications and updates are turned off, I would still take it offline when recording... just to be sure.
 
Anyway, am I missing something. It says I am good to go. I have read where XP gets a much lower reading but that what I am getting is good for Windows 7.
 
Thanks for the help.
 
Julien

Sonar Platinum
Studiocat Pro 16G RAM (some bells and whistles)
HP Pavilion dm4 1165-dx (i5)-8G RAM
Octa-Capture
KRK Rokit-8s
MIDI keyboards...
Control Pad
mics. 
I HATE THIS CMPUTER KEYBARD!
#1

15 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 question 2011/04/11 09:19:33 (permalink)
    Your average is fairly low for a laptop. It is the spikes that you are looking for.

    As a comparison my desktop runs about 13µs and never spikes above 40µs.


    best regards,
    mike


    #2
    Brandon Ryan [Roland]
    Max Output Level: -40.5 dBFS
    • Total Posts : 3458
    • Joined: 2003/11/06 03:29:12
    • Location: Los Angeles, CA
    • Status: offline
    Re:DPC latency question 2011/04/11 09:27:35 (permalink)
    How does it do without X1 running?

    "The sky above the port was the color of television, tuned to a dead channel." WG

    SONAR Platinum | VS-700 | A-800 PRO | PCAL i7 with SSD running Windows 8 x64 | Samsung 27" LCD @ 1920x1080 | Blue Sky monitors with BMC | All kinds of other stuff
    #3
    jbow
    Max Output Level: -0.2 dBFS
    • Total Posts : 7601
    • Joined: 2003/11/26 19:14:18
    • Status: offline
    Re:DPC latency question 2011/04/11 10:01:49 (permalink)

    How does it do without X1 running?
     
    The first time was without X1 running, the second was with X1 running. I was not playing a project, it was just opened. Both times were about the same. I am guessing that having the wireless combo turned on when X1 was open caused the spikes to 600+. Should I try it with a project playing or would it make a difference. I will try later with a USB interface connected and can have a project running. I can use on of the Cakewalk projects running if you like, then you will know exactly what is going on. I will connect the UX-2. I will be more than happy to try anything you want.
     
    edit: I misread your question. In the OP, the first instance was without X1 running, the second was withit running but also the computer was online when X1 was running. There really was very little difference between the two. Let me know if you want mr to try something. BTW, I use the HP updater once a month and it does a "tune up" FWIW. Last time it updated the bios and some other stuff. I keep it set to delete temporaryinternet files etc everytime I close a session. Don't know if any of this matters though. 
    Also, this machine is an HP Pavilion dm4-1165dx.
     
    Thanks for the help.
     
    Julien
    post edited by jbow - 2011/04/11 10:24:45

    Sonar Platinum
    Studiocat Pro 16G RAM (some bells and whistles)
    HP Pavilion dm4 1165-dx (i5)-8G RAM
    Octa-Capture
    KRK Rokit-8s
    MIDI keyboards...
    Control Pad
    mics. 
    I HATE THIS CMPUTER KEYBARD!
    #4
    jbow
    Max Output Level: -0.2 dBFS
    • Total Posts : 7601
    • Joined: 2003/11/26 19:14:18
    • Status: offline
    Re:DPC latency question 2011/04/11 10:27:02 (permalink)
    As a comparison my desktop runs about 13µs and never spikes above 40µs.

     
    Are you running Windows 7 64? Just curious. I will probably get a better desktop later this year... it is past time to upgrade the desktop.
     
    Thanks,
     
    Julien

    Sonar Platinum
    Studiocat Pro 16G RAM (some bells and whistles)
    HP Pavilion dm4 1165-dx (i5)-8G RAM
    Octa-Capture
    KRK Rokit-8s
    MIDI keyboards...
    Control Pad
    mics. 
    I HATE THIS CMPUTER KEYBARD!
    #5
    rogerl_uk
    Max Output Level: -90 dBFS
    • Total Posts : 23
    • Joined: 2007/02/24 06:11:57
    • Status: offline
    Re:DPC latency question 2011/05/26 07:00:10 (permalink)
    Hi

    I have a DPC latency issue on my desktop running Windows Vista 64bit Home premium and Sonar 8.5.

    It seems to be resolved if I run LatencyMon from Resplendence Software. However, if I unload LatencyMon the latency reappears! I have confirmed this using dpclait.

    I have not yet found an explanation for this, but as a short term fix you may want to consider installing LatencyMon when running Sonar.

    RogerL_UK
    #6
    jbow
    Max Output Level: -0.2 dBFS
    • Total Posts : 7601
    • Joined: 2003/11/26 19:14:18
    • Status: offline
    Re:DPC latency question 2011/05/26 10:51:02 (permalink)
    Thanks Roger, will take a look at that.
     
    J

    Sonar Platinum
    Studiocat Pro 16G RAM (some bells and whistles)
    HP Pavilion dm4 1165-dx (i5)-8G RAM
    Octa-Capture
    KRK Rokit-8s
    MIDI keyboards...
    Control Pad
    mics. 
    I HATE THIS CMPUTER KEYBARD!
    #7
    brundlefly
    Max Output Level: 0 dBFS
    • Total Posts : 14250
    • Joined: 2007/09/14 14:57:59
    • Location: Manitou Spgs, Colorado
    • Status: offline
    Re:DPC latency question 2011/05/26 12:49:14 (permalink)
    It seems to be resolved if I run LatencyMon from Resplendence Software. However, if I unload LatencyMon the latency reappears! I have confirmed this using dpclait.



    That's kind of strange. I don't see anything in the LatencyMon overview that indicates it will affect DPC latency, only that it will report what processes are causing what part of it.

    I've run it before, and not noticed that it had any effect on latency.


    SONAR Platinum x64, 2x MOTU 2408/PCIe-424  (24-bit, 48kHz)
    Win10, I7-6700K @ 4.0GHz, 24GB DDR4, 2TB HDD, 32GB SSD Cache, GeForce GTX 750Ti, 2x 24" 16:10 IPS Monitors
    #8
    Cubarafe2012
    Max Output Level: -90 dBFS
    • Total Posts : 4
    • Joined: 2012/01/12 19:59:15
    • Location: Canada
    • Status: offline
    Re:DPC latency question 2012/03/15 19:10:12 (permalink)
    Hello Guys
    I am new in the forums and I need help with my  interface sound card Komplete Audio 6, I was running it with an Hp Laptop dual core and everything was good, but on December I build a pc on the signature are all the details of my PC and sometime I was working with a 2 or 3 track my interface got disconnect it drive me crazy because is not every time I did all the tip for windows 7 but the problems steel and I run a latency moon and my USB drive sometime got .560 and more I would like if somebody could help me with that please.Thanks Raf

    Rafael Hernandez

    Sonar X2 Producer Expanded
    Ableton Live 9 Suite, NI Maschine MK2
    NI Komplete Audio 6


    Build Desktop AMD Phenom II X6 1100T processor 3.30 GHz Motherboard Gigabyte GA-990FX A-UD5,Two hard drive 1TB each 16Gig memory Windows 7 64 -bit
    Yamaha P155 & Yamaha PSR1000
    #9
    robert_e_bone
    Moderator
    • Total Posts : 8968
    • Joined: 2007/12/26 22:09:28
    • Location: Palatine, IL
    • Status: offline
    Re:DPC latency question 2012/03/16 07:32:46 (permalink)
    The process of identifying and removing latency-causing hardware and/or software is one giant pain in the rear, however these issues are well-reported on the web and are usually solvable.

    I had a laptop that had massive spikes occurring quite frequently and were up in the 2800 range.  These had a disastrous impact on sound quality, and it rendered the laptop unusable for any music performance or production, despite having a solid-state hard drive, optimized memory (services carefully selected/disabled as needed) and 4GB of memory.  I was also using an external audio interface.

    The issue ended up being a hardware issue where the BATTERY for the laptop was somehow causing these massive spikes.  The INSTANT I removed the battery, the problems went away.

    The point is that there a a number of causes to latency issues, but that solving these issues is generally a linear process, and that there some tools and tips available to detect and assist in resolution.

    1.  Make sure you have as much memory available as you can
    2.  Make sure you carefully evaluate loaded applications (antivurus, other startup loaded aps), for potential disabling during music performance/recording sessions.
    3.  Check latency, using free tools such as DPCLat and LatencyMon.
    4.  Carefully look at the Windows services configured to run on your system, and if needed try to pare down some of the services that don't need to run during music sessions.  Things related to network services and print spooling come to mind - there are lots and lots to go through.  Be VERY careful not to disable something needed to run Windows properly.  If unsure, look up the service names on the web to determine whether or not you can safely disable - and also to find out what some of the services do.
    5. Use an external audio interface to have A/D and D/A conversion processed through dedicated hardware, as opposed to making your computer's CPU do all the work.
    6.  Look on the web for tips on optimizing computers for audio processing.  There is a lot of information out there on this.

    Good luck with getting things set up and working without audio problems.

    #10
    Cubarafe2012
    Max Output Level: -90 dBFS
    • Total Posts : 4
    • Joined: 2012/01/12 19:59:15
    • Location: Canada
    • Status: offline
    Re:DPC latency question 2013/09/12 06:35:21 (permalink)
    Hi Bud,
    This happen to me as well and I fixed, you will need to have two hard drive one for windows and the second for library. I haven`t had any issue after that.
     
    Thanks,
    Raf.

    Rafael Hernandez

    Sonar X2 Producer Expanded
    Ableton Live 9 Suite, NI Maschine MK2
    NI Komplete Audio 6


    Build Desktop AMD Phenom II X6 1100T processor 3.30 GHz Motherboard Gigabyte GA-990FX A-UD5,Two hard drive 1TB each 16Gig memory Windows 7 64 -bit
    Yamaha P155 & Yamaha PSR1000
    #11
    slartabartfast
    Max Output Level: -22.5 dBFS
    • Total Posts : 5289
    • Joined: 2005/10/30 01:38:34
    • Status: offline
    Re:DPC latency question 2013/09/12 20:16:55 (permalink)
    robert_e_bone

    The issue ended up being a hardware issue where the BATTERY for the laptop was somehow causing these massive spikes.  The INSTANT I removed the battery, the problems went away.
     


    Are you sure it was a hardware problem. A number of people have reported on various forums that the Microsoft ACPI-Compliant Control Method Battery device driver causes huge spikes. That driver is technically speaking software, and removing the battery is throwing out the baby with the bath water. The laptop should run on battery with the driver disabled, but you will get no low battery warning.
    #12
    scook
    Forum Host
    • Total Posts : 24146
    • Joined: 2005/07/27 13:43:57
    • Location: TX
    • Status: offline
    Re:DPC latency question 2013/09/12 20:21:22 (permalink)
    I am sure memories have not faded too much but it was a over a year ago.
    #13
    jbow
    Max Output Level: -0.2 dBFS
    • Total Posts : 7601
    • Joined: 2003/11/26 19:14:18
    • Status: offline
    Re:DPC latency question 2013/09/12 21:44:39 (permalink)
    Since this was posted in April I have learned that turning off all my WIFI related processes stops all the spikes. I run between 90 and 105 μs consistantly. If you just disconnect from the internet the WIDI will try to reach out and touch someone, and it causes the spikes at least here.
     
    J

    Sonar Platinum
    Studiocat Pro 16G RAM (some bells and whistles)
    HP Pavilion dm4 1165-dx (i5)-8G RAM
    Octa-Capture
    KRK Rokit-8s
    MIDI keyboards...
    Control Pad
    mics. 
    I HATE THIS CMPUTER KEYBARD!
    #14
    gswitz
    Max Output Level: -18.5 dBFS
    • Total Posts : 5694
    • Joined: 2007/06/16 07:17:14
    • Location: Richmond Virginia USA
    • Status: offline
    Re:DPC latency question 2013/09/13 07:50:57 (permalink)
    On my old laptop, I greatly reduced DPC latencies by
    1. turn off wifi
    2. disable select suspend on USB under advanced power options
    3. in device manager, disable Microsoft ACPI-Compliant Control Method Battery
    4. Disable Virus Scanning so when I stop recording it doesn't try to scan the wave files (or create an exclusion for the projects folder in the virus scanner)
    5. On Win 8, I use Windows Key + X then B to get to the screen that allows me to turn on presentation settings. This prevents the laptop from sleeping or considering the screen saver.
     
    After doing these things, re-run your DPC check and see if you get some improvements.
     
    When done tracking, re-enable Microsoft ACPI-Compliant Control Method Battery and turn off presentation mode.

    StudioCat > I use Windows 10 and Sonar Platinum. I have a touch screen.
    I make some videos. This one shows how to do a physical loopback on the RME UCX to get many more equalizer nodes.
    #15
    Jim Roseberry
    Max Output Level: 0 dBFS
    • Total Posts : 9871
    • Joined: 2004/03/23 11:34:51
    • Location: Ohio
    • Status: offline
    Re:DPC latency question 2013/09/13 09:32:00 (permalink)
    jbow
    Since this was posted in April I have learned that turning off all my WIFI related processes stops all the spikes. I run between 90 and 105 μs consistantly. If you just disconnect from the internet the WIDI will try to reach out and touch someone, and it causes the spikes at least here.
     



    That's not bad for a prefab laptop.
    A well-configured desktop will be significantly lower (3 to 24 uSec - no peaks above 40 uSec)
    The lower the latency you're running (and the heavier the load), DPC latency becomes more of a factor
    To work effectively at a 64-sample ASIO buffer size or lower, DPC latency needs to be low and consistent (no large spikes). 

    Best Regards,

    Jim Roseberry
    jim@studiocat.com
    www.studiocat.com
    #16
    Jump to:
    © 2025 APG vNext Commercial Version 5.1