Different Performance on Windows / Linux Host

Discussions about using Windows guests in VirtualBox.
Post Reply
mashcos
Posts: 3
Joined: 29. Nov 2018, 01:41

Different Performance on Windows / Linux Host

Post 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?
Attachments
log.zip
(61.3 KiB) Downloaded 18 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Different Performance on Windows / Linux Host

Post 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?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
mashcos
Posts: 3
Joined: 29. Nov 2018, 01:41

Re: Different Performance on Windows / Linux Host

Post by mashcos »

Sorry for that :wink: I hope this time it is the correct log file...
Attachments
VBox.log.gz
Had to gzip the file because of file size limit...
(32.71 KiB) Downloaded 13 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Different Performance on Windows / Linux Host

Post 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...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
mashcos
Posts: 3
Joined: 29. Nov 2018, 01:41

Re: Different Performance on Windows / Linux Host

Post 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?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Different Performance on Windows / Linux Host

Post 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.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply