Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Development Programming in Virtual Machine vs Host Machine

27 Jul 2012   #1
luinox86

Windows 7 Professional x64
 
 
Development Programming in Virtual Machine vs Host Machine

Hi guys,


I have been around this problem for some time now and want to know you opinions. I am running on HP notebook: Intel Core 2 Duo 2.26GHz, 64bit Windows 7 Professional, 4GB Ram, ATI Graphics.


I want to ask your opinions about doing developments, is it better to be in the host or in a virtual machine? Based on my needs, I usually have to install Visual Studio 6 (cannot avoid!), Visual Studio 2010, NetBeans (php), and sometimes a few more based on temporary requirements.



I don't like the fact that after installing all these, in addition to the normal software I use (BitDefender Internet Security, KMPlayer, FoxitPDF, GTalk and other required software) my OS runs slow, even only after 1-2 months. So to avoid the heavy load on my OS, I decided to move at least all the development platforms into a virtual machine, installed with an old copy of XP. I use VirtualBox for that, proved (on my machine) to be the fastest between the free ones.


But now the problem is the VBox guest is becoming very slow, and even causing my host machine to have CPU usage up to 70% at sometimes, and both the guest and the host freeze!



What is your experiences about that? Is this crashing some problem with the VM? Do you even prefer to move development platforms to a VM or is still better that I install all these on my machine and avoid any virtual machine at all?
I appreciate your opinions.

Regards.


My System SpecsSystem Spec
.

27 Jul 2012   #2
logicearth

Windows 8.1 Pro (x64)
 
 

I use Boot From VHD for my development stuff. Uses the host machine without the overhead of a virtual machine. But I think it is only available with Ultimate.
My System SpecsSystem Spec
29 Jul 2012   #3
luinox86

Windows 7 Professional x64
 
 

Logicearth,

Thanks for the reply. But to me, that would be somehow similar to a dual boot system if I'm not mistaken, is it? Because to boot from the Virtual VHD I have to restart my machine and boot up from the VHD, and to go back to my OS I have to reboot again (please correct me if I'm wrong). One of the reasons I switched to Virtual Machines is that there would be no need to 'leave' my actual OS, I can load the VM, do my works and close it, fast and clean! and that's what I prefer actually.


Regards.
My System SpecsSystem Spec
.


29 Jul 2012   #4
kegobeer

Windows 7 Ultimate x64 SP1
 
 

I think you're running into a horsepower problem. A newer machine would probably handle the VM better than your older Core 2 Duo laptop. I'd give Logicearth's method a try, even if it's a bit of a pain in the tuckus.
My System SpecsSystem Spec
29 Jul 2012   #5
luinox86

Windows 7 Professional x64
 
 

Kegobeer,
You're right. I will give Logicearth's method a try.
So you agree that the concept of doing the programming (and other specific works) in the VM is better than doing all in the host machine, is it?
My System SpecsSystem Spec
29 Jul 2012   #6
kegobeer

Windows 7 Ultimate x64 SP1
 
 

I don't think it's better one way or the other. A VM can simulate the host machine, so if that works best for you, then that's what I would recommend. Quite a bit of development is done on VMs, to protect the host machine against runaway processes, crashes, etc.
My System SpecsSystem Spec
30 Jul 2012   #7
luinox86

Windows 7 Professional x64
 
 

The reason I was going to switch to VMs was to avoid the operating system being slow with a high load of software.
I think I will give the VHD a try and if its not working well for me I will just stick to work on the main machine.

Thank you guys.
My System SpecsSystem Spec
Reply

 Development Programming in Virtual Machine vs Host Machine




Thread Tools





Similar help and support threads
Thread Forum
Moving a Windows 7 Virtual Machine from one host to another
I was thinking of creating a Windows 7 VM on one host computer that I have at home. If I decide down the road to move the VM to another PC that has completely different hardware specs, do I need to reactivate the Windows 7 license again or would I not have to because nothing has changed within...
Virtualization
Running Virtual PC Apps from Windows 7 Host Machine
Hey guys, My mom is currently running an old computer which originally had Windows XP, and we did a "double upgrade" to the 32-bit version of Vista, then to Windows 7 Professional. The computer has worked fine for a few years, but it's starting to get pretty sluggish just due to the sheer...
Virtualization
Cannot Share Host Drive while Using XP Virtual Machine in Win 7
I have an old program that will run on XP but not Win 7 Pro and I am using Windows Virtual PC on my laptop to run it. It works fine but I cannot access files (share drives) from the main hard drive, i.e., the Win 7 file structure. I can work with the VM XP file structure but not the main files. ...
General Discussion
VIRTUAL MACHINE ~ Can Guest OS become Infected Through Host OS ? ? ?
VIRTUAL MACHINE ~ Can Guest OS become Infected Through Host OS ? ? ? If I setup and use a virtual machine running/containing both a Host OS and a guest OS ... do they remain completely separate entities when operating one or the other? My main concern is Virus related ... if for instance...
Virtualization
how to use host image to create virtual machine?
What about installing a host image as virtual?Has anyone done it,what s the proper way doin it?Already installed two VMs (XP and 7),but the real benefit would be to somehow install the actual OS that someone uses with all settings,tweaks and hacks so to keep fiddle around safely.Anybody thought of...
Virtualization
Can't access shared resource on virtual machine from host
Hi, First the setup: Windows 7 Ulitimate 32 bit host system. Windows XP Professional SP2 running in a virtual machine. Both "computers" are on the same network and can ping each other. Both "computers" are in the same workgroup. Both "computers" have the Windows Firewall disabled. The...
Virtualization

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 23:57.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App