How would my macbook work when i use 4 computers on only two cores? My school is trying to save money so we are supposed to run a server with at least two clients in virtualbox. Afaik each machine needs one dedicated cpu core and some ram to run. Is there any chance that this will work?
feedback
|
migrated from stackoverflow.com May 31 '11 at 16:24
This question came from our site for professional and enthusiast programmers.
|
"Afaik each machine needs one dedicated cpu core". Not so. Your computer multitasks, allowing it to run more than one program per core. As an example, Virtualbox runs just fine a single-core CPU, right alongside your other programs. The requirements for running VirtualBox include: In order to run VirtualBox on your machine, you need:
| |||||||||
feedback
|
|
AFAIK no, you don't need a dedicated core. It helps, but isn't strictly necessary: Your VMs will just get less processor time, minus the overhead; but in general, you can run as many VMs as you want, if you don't mind the decrease in performance. Anecdota: I'm successfully running three VMs on a single-core machine; the performance varies a lot (depending on the loads), but it is feasible (the actual shortage is with RAM in my case). | |||
|
feedback
|
|
Virtual machines do not need a dedicated CPU, only Dedicated RAM. The task scheduler for the host machine should theoretically be able to run an indefinite number of Virtual Machines, albeit at slower and slower operational speeds. | |||
|
feedback
|
|
why don't you try it? I have a dual core (4 logical core) MBP and constantly run 2-3 VMS on it, some linux, one windows. The bottleneck is not typically the processor, its the RAM. I have 8GB of ram, I give each linux VM 1GB and the windows 2GB. Granted, if you do computationally heavy things in the VMs you might get less mileage. I typically do browser testing and vpn/ssh stuff (so not computationally heavy things) | |||
|
feedback
|
