Page 1 of 1
Linux running slowly in VirtualBox
Posted: 5. Jan 2014, 21:11
by Cydrobolt
I have tried running Linux Guests in Virtualbox many times before. I've tried Ubuntu, Mint, and Fedora. Yesterday, I installed Fedora and booted it up. It was running very slowly, the mouse was lagging behind. The installation process was also very slow. On Ubuntu and Mint, it would hardly even install, after 5 hours of waiting. I am using the latest Virtualbox version (as of 1/5/2014).
My Specs:
Windows 7
AMD Quad Core CPU 3.7 Ghz
6 GB RAM
I gave one of my cores and 800MB of ram to the guest.
Re: Linux running slowly in VirtualBox
Posted: 5. Jan 2014, 22:22
by Perryg
I would allow 2048MB of ram to the guest, enable 3D acceleration in the guest settings and install the guest additions. You also need to make sure that you have enabled hardware virtualization in the hosts bios.
Re: Linux running slowly in VirtualBox
Posted: 6. Jan 2014, 01:31
by Cydrobolt
Okay. I allocated more RAM and enabled 3d acceleration. I have an APU, I think AMD-V is enabled by default. There is no option to change that in the BIOS.
Re: Linux running slowly in VirtualBox
Posted: 6. Jan 2014, 01:37
by Perryg
Post the guests log file ( as an attachment ) to verify if VT-x/AMD-v is available.
Re: Linux running slowly in VirtualBox
Posted: 6. Jan 2014, 03:07
by Cydrobolt
pastebin [dot] com/8v1sHE1t
(I can't post links)
Re: Linux running slowly in VirtualBox
Posted: 6. Jan 2014, 03:53
by Perryg
Hardware virt is enabled
Code: Select all
00:00:01.335692 HM: Guest support: 32-bit and 64-bit.
You boot from CD ( Live CD )
Code: Select all
00:00:03.882446 Guest Log: BIOS: Booting from CD-ROM...
You suspend ( saved state the live CD )
Code: Select all
00:38:23.258058 SSM: Successfully saved the VM state to 'C:\Users\Onyxdragon\VirtualBox VMs\Fedora x64\Snapshots\2014-01-05T19-07-22-811197300Z.sav'
00:38:23.258069 Changing the VM state from 'SAVING' to 'SUSPENDED'.
This would work a lot faster if you were to actually install the guest OS instead of running live off of the CD.
Re: Linux running slowly in VirtualBox
Posted: 6. Jan 2014, 23:18
by Cydrobolt
I did install the OS. I guess it didn't show in the log. That must've been before I installed it. The ISO image might still be loaded, but it's booting from the HDD.
Re: Linux running slowly in VirtualBox
Posted: 13. Jan 2014, 22:28
by trekkie0
Cydrobolt wrote:I have tried running Linux Guests in Virtualbox many times before. I've tried Ubuntu, Mint, and Fedora. Yesterday, I installed Fedora and booted it up. It was running very slowly, the mouse was lagging behind. The installation process was also very slow. On Ubuntu and Mint, it would hardly even install, after 5 hours of waiting. I am using the latest Virtualbox version (as of 1/5/2014).
My Specs:
Windows 7
AMD Quad Core CPU 3.7 Ghz
6 GB RAM
I gave one of my cores and 800MB of ram to the guest.
Enabling I/O APIC and more than one core usually speeds things up on guests significantly, as well as increasing the RAM to at least 1024 MiB. If that doesn't work I've noticed that when guests are slow it can sometimes be because of something lagging on the Host. If it is all of your VMs, not just one, and if you have allocated sufficient resources to each one (without taking too many from the host), a restart of the Host and/or all of the VirtualBox processes can fix the problem. Check your resource usage on your Windows host by running "perfmon" (and then looking through all of the relevant resource counters). If it is high without any VBox guests running, the problem may be too few resources that can be allocated to the guest because they are already being used. If it isn't high, and everything else seems to check out, then you might want to restart the computer, reinstall VBox, and hope for the best.