High DPC Latency on the guest - audio clicking & crackling
Posted: 18. Aug 2014, 11:03
Hi there,
I am reposting a modified version of a previously posted question, using a hopefully more targeted subject title.
I have found VirtualBox forum posts referring to DPC Latency on the host, but not on the guest.
This is my setup:
- VirtualBox 4.3.14 r95030
- Guest: Win 7 Ultimate (32 bit)
- Host: Macbook Early 2008 (2.4 GHz Intel Core 2 Duo), Mac OS X Lion 10.7.5, 6 GB RAM (
- 1 CPU core and 2 GB of RAM dedicated to the virtual machine
- VirtualBox Guest Additions 4.3.14 installed
- The audio settings used are the recommended ones (CoreAudio and Intel HD Audio, respectively).
I ran the DPC Latency Checker, which gave me an output that looks like this. (No other application was running on the guest during that time.) This leads to distorted audio (clicks and crackles). I want to use the guest for audio programming, so this is obviously a problem for me.
Running the Windows Performance Analyzer I found that the drivers most responsible for this high latency are mainly:
- ataport.sys (causing by far the highest latency, from what I can see)
- i8042prt.sys
- ndis.sys
- ntoskrnl.sys
I tried disabling all the drivers that I could disable - the latency problem persists. Furthermore, Windows is telling me that the drivers supposedly need no updating. Also, I disabled automatic Windows updating and temporarily uninstalled the anti-virus program. I could not see much change in the overall latency.
It was previously suggested that this may be due to a CPU performance problem of the host. However, this really high amount of latency is exhibited in the guest when the total CPU usage of my host is only around 30%.
As my Win 7 guest is a virtual machine, I suppose that the problem with these drivers (especially ataport.sys) is not so much hardware-specific (or not?..).
Thanks in advance for any help.
I am reposting a modified version of a previously posted question, using a hopefully more targeted subject title.
I have found VirtualBox forum posts referring to DPC Latency on the host, but not on the guest.
This is my setup:
- VirtualBox 4.3.14 r95030
- Guest: Win 7 Ultimate (32 bit)
- Host: Macbook Early 2008 (2.4 GHz Intel Core 2 Duo), Mac OS X Lion 10.7.5, 6 GB RAM (
- 1 CPU core and 2 GB of RAM dedicated to the virtual machine
- VirtualBox Guest Additions 4.3.14 installed
- The audio settings used are the recommended ones (CoreAudio and Intel HD Audio, respectively).
I ran the DPC Latency Checker, which gave me an output that looks like this. (No other application was running on the guest during that time.) This leads to distorted audio (clicks and crackles). I want to use the guest for audio programming, so this is obviously a problem for me.
Running the Windows Performance Analyzer I found that the drivers most responsible for this high latency are mainly:
- ataport.sys (causing by far the highest latency, from what I can see)
- i8042prt.sys
- ndis.sys
- ntoskrnl.sys
I tried disabling all the drivers that I could disable - the latency problem persists. Furthermore, Windows is telling me that the drivers supposedly need no updating. Also, I disabled automatic Windows updating and temporarily uninstalled the anti-virus program. I could not see much change in the overall latency.
It was previously suggested that this may be due to a CPU performance problem of the host. However, this really high amount of latency is exhibited in the guest when the total CPU usage of my host is only around 30%.
As my Win 7 guest is a virtual machine, I suppose that the problem with these drivers (especially ataport.sys) is not so much hardware-specific (or not?..).
Thanks in advance for any help.