Development Programming in Virtual Machine vs Host Machine

luinox86

New member
Local time
5:13 AM
Messages
18
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 Computer

OS
Windows 7 Professional 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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
http://www.sevenforums.com/member.php?u=20061Logicearth,

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 Computer

OS
Windows 7 Professional x64
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 Computer

Computer Manufacturer/Model Number
Dell XPS 15 L502x
OS
Windows 7 Ultimate x64 SP1
CPU
Core i7-2670QM
Memory
8GB DDR3 PC3-10600
Graphics Card(s)
Intel HD Graphics 3000 + GeForce GT 540M
Screen Resolution
1920x1080
Hard Drives
1TB 5400RPM Seagate
http://www.sevenforums.com/member.php?u=20840Kegobeer,
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 Computer

OS
Windows 7 Professional x64
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 Computer

Computer Manufacturer/Model Number
Dell XPS 15 L502x
OS
Windows 7 Ultimate x64 SP1
CPU
Core i7-2670QM
Memory
8GB DDR3 PC3-10600
Graphics Card(s)
Intel HD Graphics 3000 + GeForce GT 540M
Screen Resolution
1920x1080
Hard Drives
1TB 5400RPM Seagate
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 Computer

OS
Windows 7 Professional x64
Back
Top