I doubt that even with multiple cores it will make any improvements. That's because the way the multicore OS is designed. Basically, as far as I know, the load is not shared in such a way that one application would run on one pc, and a second one on the other. On top of that, from the host point of view, the VM shell is a single application, no matter how many VM you get to run within that shell. Unless there is a way to designate a specific core for a given VM within a single shell, its a no go.
Marc 972-800-2150 www.Amazingcomputing.biz -----Original Message----- From: vbox-users-boun...@virtualbox.org [mailto:vbox-users-boun...@virtualbox.org] On Behalf Of Mikkel L. Ellertson Sent: Friday, December 12, 2008 8:50 AM To: VirtualBox end user list Subject: Re: [vbox-users] Parallel machines Stealth wrote: > On Friday 12 December 2008 09:06:30 am Ondrej Sluciak wrote: >> I have one very stupid question, but I want to be sure that I am >> right. If you have 2 interconnected virtual machines running and >> let them compute some problem in parallel (using message passing >> interface - MPI), is it really a parallel computation? I mean, >> when the host machine has only one core and both VMs use the same >> memory and resources (though separated), can you talk about >> parallel computation? >> I'm asking because I did some tests with with such a setup, but I >> have noticed no improvement in speed, comparing to computation on >> one VM. Does anyone have some experience with it? Thanks. > > If you mean are you getting quicker results because you are using > multiple machines? The answer would be, no, because you are using > one machine. You are simply sharing the one machine's resources > multiple applications. The VMs are just a process running inside an > application. Each VM thinks it is a separate machine and the host > machine just simply sees an application demanding resources. > If anything, I would expect slower results using 2 virtual machines because of the added overhead of the second virtual machine. I am not sure even having more then one processor or core would help, because I suspect the VirtualBox is not designed for multiprocessors or cores. One way to find out would be to open more then one vm and watch the cpu load. I do not have a second vm set up right now to test it. I do know that running with one vm, I only use one core. This is handy because it automatically limits VB's cpu usage. Mikkel -- Registered Linux User #16148 (http://counter.li.org/) _______________________________________________ vbox-users mailing list vbox-users@virtualbox.org http://vbox.innotek.de/mailman/listinfo/vbox-users _______________________________________________ vbox-users mailing list vbox-users@virtualbox.org http://vbox.innotek.de/mailman/listinfo/vbox-users