4.3.0 massive DPC latency
-
- Posts: 4
- Joined: 10. Feb 2010, 13:30
- Primary OS: MS Windows other
- VBox Version: PUEL
- Guest OSses: XP, Ubuntu, Debian, SUSE
4.3.0 massive DPC latency
Hi
I'm getting massive DPC latency spikes causing audio issues and jerky mouse movements on the host, whenever there is high CPU usage on the guest.
Host is Win 8 64bit, on a DX58SO with an i7 950 and 6GB RAM, VTx enabled, and VMs running on a 2x500GB RAID 0 partition.
Virtualbox version 4.3 r89960
Guests are Windows 7 64bit, 32bit, Centos 64 bit, all running latest guest additions, using 2 cores with 90% cpu limit, 2GB RAM. I haven't run any of these simultaneously.
Using DPC Latency checker 1.3 (which is apparently inaccurate in Windows 8) I get 500us - 1000us with host and guest idle. Running a 7zip benchmark causes spikes up to 280000us...
Let me know if you need more info?
edit: just tested with 32bit Win 7 guest, with single core and VT-x disabled and had no spikes
I'm getting massive DPC latency spikes causing audio issues and jerky mouse movements on the host, whenever there is high CPU usage on the guest.
Host is Win 8 64bit, on a DX58SO with an i7 950 and 6GB RAM, VTx enabled, and VMs running on a 2x500GB RAID 0 partition.
Virtualbox version 4.3 r89960
Guests are Windows 7 64bit, 32bit, Centos 64 bit, all running latest guest additions, using 2 cores with 90% cpu limit, 2GB RAM. I haven't run any of these simultaneously.
Using DPC Latency checker 1.3 (which is apparently inaccurate in Windows 8) I get 500us - 1000us with host and guest idle. Running a 7zip benchmark causes spikes up to 280000us...
Let me know if you need more info?
edit: just tested with 32bit Win 7 guest, with single core and VT-x disabled and had no spikes
-
- Volunteer
- Posts: 2561
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: 4.3.0 massive DPC latency
What happens when you remove the CPU limit?
-
- Posts: 583
- Joined: 20. Oct 2009, 01:22
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, LinuxMint
Re: 4.3.0 massive DPC latency
Interesting as I offload programs to VB guests to have lowest possible latency on the host for audio performance.
Checked it on my 'legacy' XP setup with version 4.2, and absolutely no problems here.
Obviously Win 8 has changed the hardware and software interface to be more compatible with tablets, and I would never use the current Win 8 version when low latency is crucial. Have experienced extensive hiccups when testing the Win 8.1 on the VB 4.3 version.
Checked it on my 'legacy' XP setup with version 4.2, and absolutely no problems here.
Obviously Win 8 has changed the hardware and software interface to be more compatible with tablets, and I would never use the current Win 8 version when low latency is crucial. Have experienced extensive hiccups when testing the Win 8.1 on the VB 4.3 version.
-
- Posts: 4
- Joined: 10. Feb 2010, 13:30
- Primary OS: MS Windows other
- VBox Version: PUEL
- Guest OSses: XP, Ubuntu, Debian, SUSE
Re: 4.3.0 massive DPC latency
No difference.Martin wrote:What happens when you remove the CPU limit?
Added a 3rd core and managed to hit 501145us during bootup of Win74 x64 guest. Not sure how accurate the numbers are, but the audio distortion is real, turns classical music into dubstep...
-
- Oracle Corporation
- Posts: 793
- Joined: 7. Jan 2008, 16:17
Re: 4.3.0 massive DPC latency
Maybe we should have added that to our features listrandom717 wrote:Martin wrote:turns classical music into dubstep...
More seriously though, this is a known VBox issue and we know where the problem is but we haven't got around to fixing yet.
Oracle Corp.
Re: 4.3.0 massive DPC latency
I'm having the same problem. Win8x64 host. Win7x64 and Ubuntux64 guests. With vbox 4.3 any cpu/disk use on the guest seems to make host sound stutter. DPC latency checker, on the host, shows bursts of 160000us peak. Rolling vbox back to 4.2 fixed the issue. No more stuttering. DPS peaks are 4000us to 8000us.
-
- Posts: 4
- Joined: 10. Feb 2010, 13:30
- Primary OS: MS Windows other
- VBox Version: PUEL
- Guest OSses: XP, Ubuntu, Debian, SUSE
Re: 4.3.0 massive DPC latency
Is now a good time to say thanks for the awesome job you guys are doing! Keep up the good work! Where can we send chocolates to?Ramshankar wrote: More seriously though, this is a known VBox issue and we know where the problem is but we haven't got around to fixing yet.
-
- Oracle Corporation
- Posts: 3362
- Joined: 7. Jun 2007, 09:11
- Primary OS: Debian Sid
- VBox Version: PUEL
- Guest OSses: Linux, Windows
- Location: Dresden, Germany
- Contact:
Re: 4.3.0 massive DPC latency
Could you check if this build fixes the problem? Actually the problem is not really fixed but the build contains a workaround so any feedback is welcome. Thank you!
Re: 4.3.0 massive DPC latency
That build does not fix the audio stuttering in the host. 4.3.2 also has the stuttering. The last release to work ok was 4.2.Frank Mehnert wrote:Could you check if this build fixes the problem? Actually the problem is not really fixed but the build contains a workaround so any feedback is welcome. Thank you!
-
- Posts: 44
- Joined: 2. Aug 2011, 05:48
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: WinNT4, Win2k, Win2k3, Win2019, Win11, Devuan, OpenBSD, MS-DOS 7.10, NW312, NW42SP9, NW65SP8, OmniOS
Re: 4.3.0 massive DPC latency
I noticed this as well when testing VBox 4.3 Beta1 to see how well NetWare 6.5 worked. Unfortunately, stuttering audio drives me bonkers, so I had to switch back (again) to 4.0.x so I can still toy around with NW and DOS. At least this time, there's an update to 4.0.x available. I'll keep tabs on this thread to see if/when this DPC thingy gets fixed.
Re: 4.3.0 massive DPC latency
Why don't you go to 4.2 instead of all the way back to 4.0?
-
- Posts: 44
- Joined: 2. Aug 2011, 05:48
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: WinNT4, Win2k, Win2k3, Win2019, Win11, Devuan, OpenBSD, MS-DOS 7.10, NW312, NW42SP9, NW65SP8, OmniOS
Re: 4.3.0 massive DPC latency
4.1 and 4.2 don't boot NetWare 6.5 (and earlier) at all, due to several issues, one of the big ones being that NW doesn't set the CR0.WP bit on the CPU. This can cause the 65SP8 install CD to throw a guru meditation. There are probably some other issues still left as well, as when I tested out 4.3.0 BETA1, and tried SMP, the server still ABENDs (NW's version of a BSOD or kernel panic). But that's probably SMP-related issues. When this stuttering problem gets fixed, I hope 4.3 will run NW6.5 in UP mode again, and maybe I can port my NW3.12 and NW4.2 guests back to VBox, too (they're currently on a super-old version of Qemu). That is all in addition to the two Windows Server guests, and two Linux guests I play with at times.AndrewG wrote:Why don't you go to 4.2 instead of all the way back to 4.0?
NW-related tickets I've opened:
https://www.virtualbox.org/ticket/9422 (closed/fixed)
https://www.virtualbox.org/ticket/10728 (open)
https://www.virtualbox.org/ticket/10729 (open)
https://www.virtualbox.org/ticket/10730 (fixed in SVN/open)
-
- Oracle Corporation
- Posts: 2973
- Joined: 19. Dec 2007, 15:45
- Primary OS: MS Windows 7
- VBox Version: PUEL
- Guest OSses: Any and all
- Contact:
Re: 4.3.0 massive DPC latency
It would be good if you could update the open tickets for 4.3.x. I can more or less guarantee that there won't be any NetWare-related fixes in the older versions.Kumba wrote:NW-related tickets I've opened:
https://www.virtualbox.org/ticket/9422 (closed/fixed)
https://www.virtualbox.org/ticket/10728 (open)
https://www.virtualbox.org/ticket/10729 (open)
https://www.virtualbox.org/ticket/10730 (fixed in SVN/open)
-
- Posts: 44
- Joined: 2. Aug 2011, 05:48
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: WinNT4, Win2k, Win2k3, Win2019, Win11, Devuan, OpenBSD, MS-DOS 7.10, NW312, NW42SP9, NW65SP8, OmniOS
Re: 4.3.0 massive DPC latency
Yeah, I know from Frank's statements that fixing NW support was too intrusive of a change for the older releases. It sounds like the DPC latency issue isn't though, and it might be fixed in an upcoming 4.3.x update. I tend to listen to music a lot when experimenting with these various guest OSes, so having my sound constantly skip is rather distracting, which is why I am still sticking w/ 4.0.x for now. I can probably try 4.3.2 out temporarily to check what configurations of my NW65SP8 guest OS boot and update the tickets, but that won't be for a few weekends at least.michaln wrote:It would be good if you could update the open tickets for 4.3.x. I can more or less guarantee that there won't be any NetWare-related fixes in the older versions.
-
- Oracle Corporation
- Posts: 2973
- Joined: 19. Dec 2007, 15:45
- Primary OS: MS Windows 7
- VBox Version: PUEL
- Guest OSses: Any and all
- Contact:
Re: 4.3.0 massive DPC latency
Yes. And it has nothing to do with NetWare support...Kumba wrote:Yeah, I know from Frank's statements that fixing NW support was too intrusive of a change for the older releases. It sounds like the DPC latency issue isn't though, and it might be fixed in an upcoming 4.3.x update.
Whenever you get around to it, it would be appreciated.I can probably try 4.3.2 out temporarily to check what configurations of my NW65SP8 guest OS boot and update the tickets, but that won't be for a few weekends at least.
As for NetWare SMP, that's probably not going to happen. They're doing some very strange things. It's something that could probably be resolved if Novell was interested, but I suspect they couldn't care less.