Window 10 running slow on Mac Mojave

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
RiccardoMafr
Posts: 5
Joined: 9. Sep 2019, 19:15

Window 10 running slow on Mac Mojave

Post by RiccardoMafr »

Hi all , I'm having lot of issues on running windows 10 with Mac OS Mojave as host, hopefully you guys can help me out.

The problem is that the virtual machine has no problem , I can open it or switch it off without any problem but it's REALLY slow.
I can't even search a video on yt that it crushes and that's really annoying since .
So overall it's really slow and I can't understand why here's my settings:

4096 Gb of RAM (8GB total , it's on the green bar )
256 Mb of graphic memory video
4 core dedicated (8 in total)

here's a log of the crash that happens when I do search a video on youtube
Thank you all in advance
Attachments
VirtualBox log .zip
Here's the virtual log file
(38.47 KiB) Downloaded 25 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: Window 10 running slow on Mac Mojave

Post by socratis »

RiccardoMafr wrote:4096 Gb of RAM (8GB total , it's on the green bar )
00:00:01.226322 Host RAM: 8192MB (8.0GB) total, 3544MB (3.4GB) available
00:00:01.280242 RamSize <integer> = 0x0000000100000000 (4 294 967 296, 4 096 MB, 4.0 GB)
The green bar is based on your your host's installed RAM, not on it's available RAM when the VM starts. And as you can see, you are assigning memory to your guest, that you do not have available. Either close some applications on the host, buy more RAM for the host, or reduce the amount of RAM assigned to the guest. I allocate 3 GB of RAM to my Win10-64 VM, but I have also 16 GB installed.

Here are a couple of applications, so that you know what's available on your system at any given time. What I do, is to have several monitor tools running at all times. Your preference may vary, but you can use either of them (I use all of them concurrently):
00:00:01.280239 NumCPUs <integer> = 0x0000000000000004 (4)
00:00:01.528413 CPUM: Physical host cores: 4
00:00:01.528664 Full Name: "Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz"
You have assigned all your CPUs to the VM. The host is going to run low on resources, since VirtualBox cares about physical processors (cores), not logical ones (threads). See "CPU Cores versus threads" and "Why is it a bad idea to allocate as many VCPUs as there are physical CPUs?".

Just check the link for your CPU above, and make sure you read the text in the "?" next to the "# of Cores" and "# of Threads" in that Intel page...
00:00:01.280313 [/Devices/ahci/0/LUN#0/Config/] (level 5)
00:00:01.280314   BlockCache <integer> = 0x0000000000000001 (1)
Go to the VM Settings » Storage » select your SATA controller » Use Host I/O Cache: enable that.
00:00:31.052629 GUI: UIMachineLogicFullscreen::sltHandleNativeFullscreenWillEnter:
                Machine-window #0 will enter native fullscreen
00:01:03.152361 VMMDev: SetVideoModeHint: Got a video mode hint (2880x1800x32)@(0x0),(1;0) at 0
That's a *lot* of pixels to move with a virtual, fake GPU. And it seems that you haven't enabled the proper scale factor. Go to the VirtualBox Preferences (not the VM Settings) » Display » Scale Factor: set that to 200%. Your VM will look what it's supposed to look like, and you're going to end up moving a lesser amount of pixels. Then set the VM window size to something manageable, like a 1280x1024, from within the guest, not from the host.
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.
RiccardoMafr
Posts: 5
Joined: 9. Sep 2019, 19:15

Re: Window 10 running slow on Mac Mojave

Post by RiccardoMafr »

first of all ,
thank you a lot for the suggestion as you said I've:

gave 1 cpu to the guest and the other to the host.
Gave 2056 gb of ram to the PC
I've switched off the 3d acceleration
and I put I\O cache

still the virtual machine crashes a lot .
I think that's the problem is on the available RAM but I can't understand what I'm doing wrong
here's another Box log so you can check again what I'm doing wrong

thank you again for your time sir :
Attachments
windows10F3.zip
this is the Vbox after I've changed the setting
(30.6 KiB) Downloaded 14 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: Window 10 running slow on Mac Mojave

Post by socratis »

RiccardoMafr wrote:still the virtual machine crashes a lot
I'm sorry, but I don't see a crash, all I see are two requests to shut down the VM, as normal as it gets. Not sure what you're talking about:
[color=#0000BF]1st log[/color] wrote:
00:02:16.635731 Console::powerDown(): A request to power off the VM has been issued (mMachineState=Stopping, InUninit=0)
00:02:16.645684 Changing the VM state from 'RUNNING' to 'POWERING_OFF'
[color=#0000BF]2nd log[/color] wrote:
00:02:12.750391 Console::powerDown(): A request to power off the VM has been issued (mMachineState=Stopping, InUninit=0)
00:02:12.750965 Changing the VM state from 'RUNNING' to 'POWERING_OFF'
Try: 2 CPUs, 3072 MB RAM, 3D on. That's a fairly normal setup for your host.
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.
RiccardoMafr
Posts: 5
Joined: 9. Sep 2019, 19:15

Re: Window 10 running slow on Mac Mojave

Post by RiccardoMafr »

Can you check it now?
I've changed my setting with the one you suggested ,

3D on , 3072 Gb of RAM , 2 cpu to the guest.
Even with this settings the problem isn't solved.
the virtual machine is really slow , if I go on youtube I see only frames and if I try to open to web page it becomes even slower I mean everything is really laggy and messy
Here's the log , hopefully is going to help .
Let me know pls I would like to play a light game which is available only on Window but I can't even search on google explorer with the machine I set up .
Attachments
windows10Flog.zip
here's the new log
(36.63 KiB) Downloaded 14 times
cobear25
Posts: 3
Joined: 12. Nov 2019, 04:25

Re: Window 10 running slow on Mac Mojave

Post by cobear25 »

Any updates on this? I have the same issue.
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: Window 10 running slow on Mac Mojave

Post by socratis »

cobear25 wrote:I have the same issue.
Then post a ZIPPED VBox.log from a complete VM cycle; start from a cold boot/login/shutdown the VM (from within the VM). Find the log, ZIP it and post it.
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.
cobear25
Posts: 3
Joined: 12. Nov 2019, 04:25

Re: Window 10 running slow on Mac Mojave

Post by cobear25 »

Basically the same behavior as the OP. Boots fine, and things seem good until I open a web browser or steam. Sometimes things are non-responsive and sometimes everything just freezes up. It even slows down some stuff on the host but activity monitor doesn't show anything going too crazy.
Attachments
WinDev1910Eval-2019-11-12-07-43-13.log.zip
(24.75 KiB) Downloaded 9 times
Last edited by socratis on 12. Nov 2019, 17:24, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
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: Window 10 running slow on Mac Mojave

Post by socratis »

00:00:03.726072 NumCPUs <integer> = 0x0000000000000001 (1)
00:00:03.993133 CPUM: Physical host cores: 4
You can most certainly afford a 2nd CPU for your Guest, it's going to be much more comfortable, smoother.
00:00:03.623997 DMI Product Name: MacBookPro14,3
00:00:04.729862 GUI: UIMachineLogicFullscreen::revalidateNativeFullScreen: For machine-window #0
That's a 2880x1800 pixels (native) with OSX providing some scaled resolutions: 1920x1200 (max), 1680x1050, 1280x800, and 1024x640 pixels. The Guest has to move a lot of pixels, which with a 1995-2000 era fake/virtual GPU, that's a lot.

If you haven't modified the VirtualBox Preferences » Display » ScaleFactor, you should; set that to 200%. Then choose something more manageable for your guest, like 1280x1024 in normal/windowed mode. From within the Guest...
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.
cobear25
Posts: 3
Joined: 12. Nov 2019, 04:25

Re: Window 10 running slow on Mac Mojave

Post by cobear25 »

Thanks, that does help a bit, still kind of slow and buggy though :/
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: Window 10 running slow on Mac Mojave

Post by socratis »

It's not going to be native speeds, that's for sure. And since you're mentioning web browser, I'll make the assumption that you mean Chrome (most do), see if disabling 3D acceleration in Chrome (or Firefox) helps the situation...
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