Multiple single cpu VMs vs. one multi cpu VM?

Message boards : Number crunching : Multiple single cpu VMs vs. one multi cpu VM?
Message board moderation

To post messages, you must log in.

AuthorMessage
TheMacross

Send message
Joined: 12 Jul 11
Posts: 3
Credit: 118,504
RAC: 0
Canada
Message 1229509 - Posted: 9 May 2012, 12:31:31 UTC
Last modified: 9 May 2012, 13:17:23 UTC

We've got a dual xeon 5520 ESXi machine with a few VMs, none of which are particularly active so we want to rack up some creds in a few boinc projects.

The question is, will we get better performance if we create a single VM with 7 (virtual) CPUs.....or 7 VMs each with a single (virtual) CPU?
ID: 1229509 · Report as offensive
Profile HAL9000
Volunteer tester
Avatar

Send message
Joined: 11 Sep 99
Posts: 6534
Credit: 196,805,888
RAC: 57
United States
Message 1229514 - Posted: 9 May 2012, 12:40:38 UTC

It really shouldn't matter. As each 7 VM's running 1 task each will be using the same resources as one VM running 7 tasks. With the newer hardware and software there isn't as large of a penalty for running VM's as there once was. With one VM host there would be less management on your end.

On my dual E5645 I am currently trying to decide if the NUMA configuration effects anything at all.
SETI@home classic workunits: 93,865 CPU time: 863,447 hours
Join the [url=http://tinyurl.com/8y46zvu]BP6/VP6 User Group[
ID: 1229514 · Report as offensive
Profile red-ray
Avatar

Send message
Joined: 24 Jun 99
Posts: 308
Credit: 9,029,848
RAC: 0
United Kingdom
Message 1229523 - Posted: 9 May 2012, 12:56:34 UTC - in response to Message 1229514.  
Last modified: 9 May 2012, 12:58:18 UTC

On my dual E5645 I am currently trying to decide if the NUMA configuration effects anything at all.

As when the processes are started the memory should be local to the NUMA node of the CPU then it should not make any difference provided the process runs on the same NUMA node all the time. As shown below is none local memory is used things will be slower.

ID: 1229523 · Report as offensive

Message boards : Number crunching : Multiple single cpu VMs vs. one multi cpu VM?


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.