Results 1 to 7 of 7

Thread: Virtualized OS vs Non-virtualized OS

  1. #1
    Join Date
    Mar 2009
    Location
    Behind You
    Beans
    160
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Virtualized OS vs Non-virtualized OS

    Is running Windows 7 (dual-boot) better than virtualizing windows 7 on VirtualBox? Let's say, both virtualized and actual windows 7 run on the same hardware. Virtualized windows 7 run on 2Gb ram, 100Gb HD, and video acceleration.
    Slow Ubuntu compared to Windows or Mac OSX, despite all the tweaking? You might have an NVidia graphics card. Read this post.
    Tweak your Ubuntu!

  2. #2
    Join Date
    Jun 2009
    Beans
    9
    Distro
    Ubuntu

    Re: Virtualized OS vs Non-virtualized OS

    If you are asking whether dual-booting would be faster, then yes, it would be much faster than virtualizing.

  3. #3
    Join Date
    Mar 2009
    Location
    Behind You
    Beans
    160
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Virtualized OS vs Non-virtualized OS

    But what if I alot a huge chunk of RAM for the virtualized OS? Wouldn't that make the experience feel like there is no layer between the hardware and the virtualized OS?
    Last edited by LesterPalooza; June 25th, 2009 at 03:56 PM.
    Slow Ubuntu compared to Windows or Mac OSX, despite all the tweaking? You might have an NVidia graphics card. Read this post.
    Tweak your Ubuntu!

  4. #4
    Join Date
    Oct 2005
    Location
    Connecticut, USA
    Beans
    1,545
    Distro
    Ubuntu

    Re: Virtualized OS vs Non-virtualized OS

    As I understand it, basically with dual-boot you get 100% of the resources available to you.

    If you virtualize then you have
    (100%) - (Host OS[Ubuntu,whatever])- (VM app[VMWare,VB,etc])
    which will be less than 100% no matter how far you trim it.
    Friends don't let friends wear a red shirt on landing-party duty.
    DACS | Connecticut LoCo Team | My Blog
    Ubuntu User# : 17583, Linux User# : 477531

  5. #5
    Therion is offline I Ubuntu, Therefore, I Am
    Join Date
    Sep 2007
    Location
    Right behind you...
    Beans
    2,768
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Virtualized OS vs Non-virtualized OS

    I've done both (VM and dual-boot) and honestly, XP runs damn quick in a VM. Further, find it a heck of lot more convenient being able to run both OS'es simultaneously rather than having to boot into one, and then the other. Can't speak to Win7 specifically, though, as I've not tried it.

    Typically I only needed something in XP for a quick minute and wanted to get back to my 'buntu as quick as I could. THAT'S when you want to use a VM, in my opinion.

  6. #6
    Join Date
    Apr 2009
    Beans
    27

    Re: Virtualized OS vs Non-virtualized OS

    Quote Originally Posted by LesterPalooza View Post
    But what if I alot a huge chunk of RAM for the virtualized OS? Wouldn't that make the experience feel like there is no layer between the hardware and the virtualized OS?
    Not entirely. If you don't have any hardware support for virtualization then there is some serious overhead. You may not notice it that much if you've got beefy hardware and you're not doing too much on your host or guest (just web browsing, listening to music, etc).

    If your hypervisor (ie virtual box) is making use of intel-vt then it helps some. With intel-vt (or amd-v) your guest is able to run on the processor (no emulation or paravirtualization necessary), thus with something like Xen you don't have to have a patched guest OS. However, certain instructions may still cause the processor to transfer control back to the hypervisor to validate what the guest is trying to do. And guest OS's don't have access to hardware page tables, so if there's a miss it must be handled by the VMM.

    With Nehalem they're adding extended page tables (among some other things) which allows the TLB to keep track of individual guest OS's virtual and physical memory reducing some of the memory management overhead.

    IO is a whole different ballgame and if you're running a VM there is definitely IO overhead (at this time) because individual IO devices haven't progressed with processors in adding support for virtualization.

    In summary: IO will introduce overhead no matter what (disk, network, etc.). If you have no hardware support then something along the lines of modifying the guest OS kernel or binary translation has to happen and it's going to slow you down quite a bit. If you have intel VT, you'll get some of a performance boost (maybe not huge, my understanding was that VMware did a good job with the binary translation for instance). And if you have a Nehalem, right on, that's the best you can do for virtualization at this time.

  7. #7
    Join Date
    Dec 2006
    Location
    Oregon, US
    Beans
    1,541
    Distro
    Ubuntu Development Release

    Re: Virtualized OS vs Non-virtualized OS

    It depends what you are trying to do. If you just need to use a few Windows apps, go with virtualization. If you want to play 3D games, dual boot.

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
  •