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

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

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

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

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

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

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

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




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 02:41 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33