Page 1 of 1
Different Performance on Windows / Linux Host
Posted: 29. Nov 2018, 01:50
by mashcos
I have a Virtual Machine with Windows 10 as Guest Operating System, which is stored on a NTFS Partition of a SSD. The Host is Windows/Linux Dual-Boot.
If I boot the Virtual Machine from Linux Host, the Performance is as expected. When using the same Virtual Machine (same settings using the same disk image on the mentioned ntfs-partition) from Windows Host it is incredibly slow.
For example the boot time is 25 seconds on the linux host compared to 120 seconds on the windows host. Thats about 5 times slower on Windows, and it is impossible to work with the vm at that speed.
I've attached the last logfiles (Windows and Linux) and my question is what is the reason for the speed difference and how can i make the VM run with the same speed on the windows host?
Re: Different Performance on Windows / Linux Host
Posted: 29. Nov 2018, 09:51
by socratis
mashcos wrote:I've attached the last logfiles (Windows and Linux)
Actually both logs are from the Windows version. Identical!

Can you post the Linux one?
Re: Different Performance on Windows / Linux Host
Posted: 30. Nov 2018, 00:12
by mashcos
Sorry for that

I hope this time it is the correct log file...
Re: Different Performance on Windows / Linux Host
Posted: 30. Nov 2018, 01:06
by socratis
VirtualBox VM 5.2.22 r126460 win.amd64 (Nov 8 2018 19:34:58) release log
00:00:02.359258 Log opened 2018-11-28T23:32:58.306382300Z
VirtualBox VM 5.2.22 r126460 linux.amd64 (Nov 8 2018 20:01:52) release log
00:00:00.345411 Log opened 2018-11-29T00:01:01.313262000Z
The start of the logging in Linux is almost instant 0.34 sec (as it should), but it takes 2.35 sec in Windows. From the get go you have issues. Any antivirus perhaps?
00:00:19.995815 GIM3: HyperV: Enabled APIC-assist page at 0x000000003fffd000
00:00:52.985484 AHCI#0: Reset the HBA
00:00:04.999656 GIM3: HyperV: Enabled APIC-assist page at 0x000000003fffd000
00:00:08.172989 AHCI#0: Reset the HBA
Those are two successive entries in the logs. Notice the differences between the entries in Linux and Windows; 3.17 vs 32.99 sec. This is again disk related. Hmm... I'm starting to see a pattern here.
00:00:53.150043 VMMDev: Guest Log: VBoxGuest: Windows version 10.0, build 17134
00:00:08.305551 VMMDev: Guest Log: VBoxGuest: Windows version 10.0, build 17134
And the race is over, we have a winner.
So, something is going on with your HD access on the Windows side. As I said, I think of an antivirus as my first suspect, but it could be a lot of things...
Re: Different Performance on Windows / Linux Host
Posted: 30. Nov 2018, 01:50
by mashcos
Antivirus was my first thought. I tried both an exclude pattern for the disk and completely disabling AV-Software. Both with no success.
I tried some disk benchmark, a disk check software from the disk maufacturer and some other tests with other data saved on this disk, but beside VirtualBox VMs everything else seems to be fine...
Do you have any other ideas?
Re: Different Performance on Windows / Linux Host
Posted: 30. Nov 2018, 02:20
by socratis
mashcos wrote:Do you have any other ideas?
On how to fix your Windows slow HD access? Not really. Reinstall Windows? Clean?
The thing is that it doesn't seem to be VirtualBox the source of your differences.