Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: how to improve performance using virtualbox

  1. #1
    Join Date
    Feb 2008
    Beans
    74

    how to improve performance using virtualbox

    I need advice on what should I be doing do improve performance of my vm with windows xp as a guest os. Right now it runs pretty good. But I want to know if there is any way to make it a little better.

  2. #2
    Join Date
    Jun 2008
    Location
    England
    Beans
    2,567
    Distro
    Ubuntu Development Release

    Re: how to improve performance using virtualbox

    You could increase the RAM allocated to the virtualbox if thats being the problem.
    64-Bit User-Group // Twin-View AMD64 X2 6000+|Geforce 9500GT 1024 MB|8GB PC2-6400 DDR2|500GB Seagate SATA // AMD64 X2 4400+|Geforce 8600GTS |4GB PC2-6400 DDR2|360GB Samsung SATA // Ubuntu 9.04 & 9.10 64-Bit

  3. #3
    Join Date
    Feb 2008
    Beans
    74

    Re: how to improve performance using virtualbox

    I have 1 gig of ram and the guest os is set at 256MB. I think that is enough for windows xp. It is not really slow. It is just there is a slight lag. I hava P4 1.7. should I expect that for that kind of processor.

  4. #4
    Join Date
    Jun 2008
    Location
    England
    Beans
    2,567
    Distro
    Ubuntu Development Release

    Re: how to improve performance using virtualbox

    I dont use virtualbox intensively so not experienced any sort of lag but when I installed a virtual XP it recommended 512 MB for me.

    How does it lag, is it certain programs?
    64-Bit User-Group // Twin-View AMD64 X2 6000+|Geforce 9500GT 1024 MB|8GB PC2-6400 DDR2|500GB Seagate SATA // AMD64 X2 4400+|Geforce 8600GTS |4GB PC2-6400 DDR2|360GB Samsung SATA // Ubuntu 9.04 & 9.10 64-Bit

  5. #5
    Join Date
    Feb 2008
    Beans
    74

    Re: how to improve performance using virtualbox

    It lags when it starts up and shutsdown, and doing windows updates.I don't have any programs installed just yet because I'm trying to figure out this lag problem, if it is a problem. After it starts up, it is fine ding normal things. The lag is like a fews seconds longer than it usually is when using a physical partition.

  6. #6
    Join Date
    Nov 2006
    Location
    Sheffield, UK
    Beans
    169
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: how to improve performance using virtualbox

    With a 1.7, I would expect some lag, as it also lags on my 2.4GHz
    Virtualbox does run slower than native windows. especially with bulky programs, itunes, limewire, java etc.
    you could try and use the emulation abilities of your cpu though. Although this made mine even slower :s
    Last edited by 00arthuryu; July 24th, 2008 at 10:36 PM.
    I feel so old... so very old

    My rig(s) (in 2007)
    http://ubuntuforums.org/showpost.php...postcount=1405

  7. #7
    Join Date
    Feb 2009
    Location
    Oregon
    Beans
    11
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: how to improve performance using virtualbox

    i'm also using virtual box with XP it laggs pretty bad. and in XPs system properties it says its running at 800mhz(my host is using 2.0ghz! u see a problem?) and using .99gb of ram.
    how to turn up the processor?

    ill have to tinker wit it

  8. #8
    Join Date
    Nov 2006
    Location
    Conn., United States
    Beans
    1,644

    Re: how to improve performance using virtualbox

    Quote Originally Posted by spencerlewis View Post
    i'm also using virtual box with XP it laggs pretty bad. and in XPs system properties it says its running at 800mhz(my host is using 2.0ghz! u see a problem?)
    Yes. I see a problem. But it is not what you think. This means that the CPU is not where the bottleneck is. The CPU is managed by the HOST os, not the guest. If any process, including VirtualBox and everything running within it, needs more processor speed, the Host will step up the CPU speed. If you don't believe me, you can test it for yourself. Try switching your CPU settings on your host from "On Demand" to "Performance." (You can do this by adding the applet "CPU Frequency Scaling Monitor" to your panel. Once it is in your panel, just click on it and adjust the settings). Now, restart your VM. You should see XP's system properties showing that the CPU is running at full throttle (2.0 Ghz). But you will see little, if any, performance improvement.

    The bottle neck is almost certainly with your physical RAM. When using any virtualization software, you must keep two things in mind... 1) the memory needs of the HOST OS, and 2) the memory needs of the GUEST OS. With Windows XP, you MIGHT get ok performance (but certainly not optimal) with less than 512 Gig RAM. With Ubuntu, you MIGHT get ok performance (but certainly not optimal) with 512 Gig RAM. But when you run Windows in a Virtual Machine (with 256 Meg RAM assigned to it), you are also leaving only 256 Meg RAM for Ubuntu to use. You are going to have the VM doing its swapping thing with its virtual drive PLUS Ubuntu doing its swapping thing with its swap partition. Slow-Down + Slow-Down = INSANE SLOW-DOWN.
    "When you dual-boot Windows, Windows exists along side of Linux. When you use VirtualBox, Windows exists at the pleasure of Linux." -- ThomasAaron @ System76

  9. #9
    Join Date
    Sep 2007
    Location
    Pasadena, California
    Beans
    663
    Distro
    Ubuntu Development Release

    Re: how to improve performance using virtualbox

    The problem is you have only one gig of total ram. Ubuntu recommends 512mb to operate smoothly, which only leaves you half to run virtualisations. I dont think 256mb is enough. You could up it, but Im sure your system will lag all together. You need at least 2gb of memory IMO.

  10. #10
    Join Date
    Feb 2009
    Location
    Oregon
    Beans
    11
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: how to improve performance using virtualbox

    i totaly see what u guys are saying and i tried the preformance thing and it works! pretty neat

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •