I have a Toshiba laptop, 1.5GHz, 1 GB of RAM.
On the laptop, I have a dual-boot setup, Windows 7 RC, and Debian Lenny. I have VirtualBox 3.0.2 running with the exact same guest configuration in both host OSes. I also did two seperate installations of Windows XP with slipstreamed SP2 in both as well.
The set-up, phase 1,2, and 3 were noticeably faster running under the Windows 7 host, at least 2.5x-3x faster. Strangely enough, less applications are running on the Linux host, and even more RAM is available under the Linux host. Also no GLX Desktop effects are enabled either.
Furthermore, on my workstation, a similar host specs, 1/3 less RAM is about the only difference, is still running VBox 2.2.4 and runs more smoothly.
This is very disappointing that the Linux version is degrading is performance, as headless mode on a Linux host works rather nicely.
Does anybody else notice these performance differences with the Linux version as well?
VBox 3.0.2 noticably slower on Linux hosts
-
fixedwheel
- Volunteer
- Posts: 1699
- Joined: 13. Sep 2008, 02:18
Re: VBox 3.0.2 noticably slower on Linux hosts
whats your hdd partition layout? - the (real) inner cylinders of a hdd are about half as fast (or even worse) than the outer ones, usual logical mappings AFAIK start from the outer to the inner so the first partition is fastestOn the laptop, I have a dual-boot setup, Windows 7 RC, and Debian Lenny.
...
This is very disappointing that the Linux version is degrading is performance,
OTOH 1GB host memory is somewhat low, if your host starts swapping performance is lost at all
-
chronoboy
- Posts: 89
- Joined: 21. Jul 2008, 07:11
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Linux, Windows
- Location: Canada
Re: VBox 3.0.2 noticably slower on Linux hosts
This could be the issue, on my laptop, Windows 7 RC takes the first 20GB of space, Debian Etch begins after it. There is still a chunk of 20GB unallocated space at the end of the disk. I just thought of something else which is different in the host set-up, my Debian Lenny is using a crypto-root partition as well as LVM. Whereas Windows 7 RC is merely on a single NTFS partition, no encryption or special logical volume manager.fixedwheel wrote:whats your hdd partition layout? - the (real) inner cylinders of a hdd are about half as fast (or even worse) than the outer ones, usual logical mappings AFAIK start from the outer to the inner so the first partition is fastest
This wouldn't cause any issues on my Linux host, as there is more RAM available during operation. My guest is only using 256MB of RAM on both host configurations.OTOH 1GB host memory is somewhat low, if your host starts swapping performance is lost at all
I will try creating a partition at the end of the disk with no LVM or encryption and place a VirtualBox VM on this partition and see if the performace increases. I believe that both cryptoroot and LVM are taking a lot of CPU resources on the host during normal guest disk operations.
However, my workstation is configurated with full disk encryption, no partition records(MBR) whatsoever, however my workstation does not use LVM, which may be the leading cause for the performance. I will do further tests and see what host configuration is causing the performance issues, I would hate to rid my laptop of disk encryption for the sake of virtualization performace.
Re: VBox 3.0.2 noticably slower on Linux hosts
Fyi. I run my work laptop also with full encryption(truecrypt) and vbox does not suffer from it.chronoboy wrote:I would hate to rid my laptop of disk encryption for the sake of virtualization performace.
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: VBox 3.0.2 noticably slower on Linux hosts
Increase to at least 2 Gig of RAM.
You need to remember that you are running (2) OSs and the overhead of the hypervisor too.
I have a PC with 1 Gig to test on and it works as you have stated your does. Drop in another gig and it was smooth sailing all the way.
You need to remember that you are running (2) OSs and the overhead of the hypervisor too.
I have a PC with 1 Gig to test on and it works as you have stated your does. Drop in another gig and it was smooth sailing all the way.