How many virtual processors or cores should I assign to my Guest OS? [closed]












8














I've just received an upgraded Host machine, and am looking to push some of those advances to my workstations Guest OS(s). In particular, I used to have a single processor, with 2 cores, so my Guest OS only had 1/1.



Now, I've got a single processor with 8 cores, so I'm curious about what would be recommended for my Guest OS now?




  • 1 processor/4 cores?

  • 2 processors/2 cores?

  • 4 processors/1 core?


My instinct says to stick with the number of physical processors (or less), but, is that based on reality? I spent a good while looking for an answer to this, but perhaps my google-karma isn't in my favor today.










share|improve this question















closed as primarily opinion-based by Burgi, bertieb, djsmiley2k, Journeyman Geek Dec 12 '18 at 15:58


Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.















  • Is your guest using up the processing capabilities it has as it is now?
    – OldWolf
    Sep 8 '11 at 20:54










  • This link may be helpful, suggesting that you match your configuration to the host's NUMA configuration.
    – Glenn
    Nov 9 '13 at 0:26


















8














I've just received an upgraded Host machine, and am looking to push some of those advances to my workstations Guest OS(s). In particular, I used to have a single processor, with 2 cores, so my Guest OS only had 1/1.



Now, I've got a single processor with 8 cores, so I'm curious about what would be recommended for my Guest OS now?




  • 1 processor/4 cores?

  • 2 processors/2 cores?

  • 4 processors/1 core?


My instinct says to stick with the number of physical processors (or less), but, is that based on reality? I spent a good while looking for an answer to this, but perhaps my google-karma isn't in my favor today.










share|improve this question















closed as primarily opinion-based by Burgi, bertieb, djsmiley2k, Journeyman Geek Dec 12 '18 at 15:58


Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.















  • Is your guest using up the processing capabilities it has as it is now?
    – OldWolf
    Sep 8 '11 at 20:54










  • This link may be helpful, suggesting that you match your configuration to the host's NUMA configuration.
    – Glenn
    Nov 9 '13 at 0:26
















8












8








8


1





I've just received an upgraded Host machine, and am looking to push some of those advances to my workstations Guest OS(s). In particular, I used to have a single processor, with 2 cores, so my Guest OS only had 1/1.



Now, I've got a single processor with 8 cores, so I'm curious about what would be recommended for my Guest OS now?




  • 1 processor/4 cores?

  • 2 processors/2 cores?

  • 4 processors/1 core?


My instinct says to stick with the number of physical processors (or less), but, is that based on reality? I spent a good while looking for an answer to this, but perhaps my google-karma isn't in my favor today.










share|improve this question















I've just received an upgraded Host machine, and am looking to push some of those advances to my workstations Guest OS(s). In particular, I used to have a single processor, with 2 cores, so my Guest OS only had 1/1.



Now, I've got a single processor with 8 cores, so I'm curious about what would be recommended for my Guest OS now?




  • 1 processor/4 cores?

  • 2 processors/2 cores?

  • 4 processors/1 core?


My instinct says to stick with the number of physical processors (or less), but, is that based on reality? I spent a good while looking for an answer to this, but perhaps my google-karma isn't in my favor today.







cpu vmware-workstation






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 12 '16 at 8:11









Hennes

58.8k792141




58.8k792141










asked Feb 14 '11 at 14:50









reidLinden

141113




141113




closed as primarily opinion-based by Burgi, bertieb, djsmiley2k, Journeyman Geek Dec 12 '18 at 15:58


Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.






closed as primarily opinion-based by Burgi, bertieb, djsmiley2k, Journeyman Geek Dec 12 '18 at 15:58


Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.














  • Is your guest using up the processing capabilities it has as it is now?
    – OldWolf
    Sep 8 '11 at 20:54










  • This link may be helpful, suggesting that you match your configuration to the host's NUMA configuration.
    – Glenn
    Nov 9 '13 at 0:26




















  • Is your guest using up the processing capabilities it has as it is now?
    – OldWolf
    Sep 8 '11 at 20:54










  • This link may be helpful, suggesting that you match your configuration to the host's NUMA configuration.
    – Glenn
    Nov 9 '13 at 0:26


















Is your guest using up the processing capabilities it has as it is now?
– OldWolf
Sep 8 '11 at 20:54




Is your guest using up the processing capabilities it has as it is now?
– OldWolf
Sep 8 '11 at 20:54












This link may be helpful, suggesting that you match your configuration to the host's NUMA configuration.
– Glenn
Nov 9 '13 at 0:26






This link may be helpful, suggesting that you match your configuration to the host's NUMA configuration.
– Glenn
Nov 9 '13 at 0:26












5 Answers
5






active

oldest

votes


















3














In my own testing, with VMWare Workstation, using latest GeekBench 3, 64-bit tests, on a host machine with 1 cpu, 2 cores (with HT turned on, so 4 cores):



Host System:




  • 2866 Single Core Score, 5939 Multi-Core Score


Virtualized:




  • 1 cpu, 1 core: 2783 sc, 2705 mc

  • 1 cpu, 2 cores: 2758 sc, 4271 mc

  • 1 cpu, 3 cores: 2783 sc, 5234 mc

  • 1 cpu, 4 cores: 2769 sc, 5793 mc


So, at least in my testing, it looks like there's a benefit to setting your virtual number of cores to match your physical cores. Maybe I'm wrong. I'd love to discuss.






share|improve this answer





















  • Excellent research! Thanks. Could you extend this research to cover some of the other options I highlighted in the original post? Like a virtual 2/2 and 4/1 system (having already identified that a 1/4 out performs 1/4- setups)? That's the real question. Should you go 1/4, 2/2, or 4/1 (assuming you're going with 4 virtual cores overall). Also, I'll admit that I don't understand the difference in "single core score" and "multi-core score" in each of your examples. How can a 1cpu/1core machine get a multi-core score at all? Same for the 1cpu/4core situation, in reverse....
    – reidLinden
    Jan 9 '14 at 14:01



















2














I don't know if this information is still valid, but in the not-too-long-ago past, additional guest CPUs didn't scale nearly as well as host CPUs did. In fact, best recommendation was to stay with single CPUs in your guest configurations unless you were specifically testing/debugging multithreaded software in your guests and required an SMP environment.



Edit: This answer is particular to desktop virtualization, not server virtualization.






share|improve this answer





















  • so, you're saying 1 processor, with a single core?
    – reidLinden
    Feb 14 '11 at 16:26










  • Yes. Does VMware workstation allow for setting those values independently now? I haven't used it since ver 6, and it was just a # of CPUs. If you're going to do multi-core/multi-CPUs in your guests, I doubt it much matters which way you scale things unless licensing considerations (# of "sockets" vs. # of "cores") come into play. e.g. XP Home only allows 1 socket, but up to 4 cores, while XP Pro allows for 2 sockets.
    – afrazier
    Feb 14 '11 at 16:50










  • yea, I appear to have the option to pick "# processors" and "# cores" independently... My Host machine has 1 processor with 8 cores, on a windows7 Professional, and my (main) guestOS is a windows server 2003...
    – reidLinden
    Feb 14 '11 at 17:07



















0














At most I give my guest OS 2 cores. It doesn't matter if you do 1 processor 2 cores or 2 processor 1 core each. The procesor setting is for compatibility reasons. Processor/cores don't scale so well for guest OS because of core/processor process scheduling. 2 cores seems to be the sweet spot.






share|improve this answer





















  • You want to avoid having one processor and one core for a VM because if any operation that the host OS doesn't expect to block blocks unexpectedly in the host, the entire VM is blocked.
    – David Schwartz
    Nov 9 '13 at 0:45



















0














There is little difference at this point. In some cases software licensing may depend on cores or CPUs.




Virtualized:
1 cpu, 1 core: 2783 sc, 2705 mc 1 cpu, 2 cores: 2758 sc, 4271 mc 1
cpu, 3 cores: 2783 sc, 5234 mc 1 cpu, 4 cores: 2769 sc, 5793 mc So, at
least in my testing, it looks like there's a benefit to setting your
virtual number of cores to match your physical cores. Maybe I'm wrong.
I'd love to discuss.




This is only in a benchmark that uses all cores. Most applications don't scale performance linearly with core count as they just don't use the extra cores.



There is also some level of overhead with adding more cores. Therefor in short, only add the number of cores your application needs to perform at the levels you need. Just because you have 4 cores in your host does not mean every VM should get 4 cores.



In a number of the environments that I manage we have dual 10 core CPUs with a total of 40 logical threads and my domain controllers still only get two cores.






share|improve this answer





























    -2














    I am quite shocked that these frequently asked questions have not been fully answered by now. Your host CPU should support some virtualization technologies, e. g. the Intel VTx. That allows you to "tunnel" the whole power of the CPU into your guest operating system. Otherwise, there will be an enormous speed drop due to the emulation of a CPU. If you're having a CPU with hyperthreading, you should see 8 processors for a quad-core CPU in the device manager of your host machine (hyperthreading doubles the number of your cores). In that case, you can assign 1 processor with 4 cores for your guest os. As long as you don't have any other physical processor in your system, do not assign more than 1 processor to your virtual machine. You can assign more or fewer cores to your guest os, depending on your needs, but you shouldn't assign a value higher than your hyperthreading cores. But note, that your host also needs some CPU power. I usually set up the half number of my hyperthreading cores and the half number of my memory, e. g. 8192 MB when you have 16 Gig of RAM. This is usually a good setting to go, but not if you want to run more than one virtual machine at a time.






    share|improve this answer




























      5 Answers
      5






      active

      oldest

      votes








      5 Answers
      5






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      3














      In my own testing, with VMWare Workstation, using latest GeekBench 3, 64-bit tests, on a host machine with 1 cpu, 2 cores (with HT turned on, so 4 cores):



      Host System:




      • 2866 Single Core Score, 5939 Multi-Core Score


      Virtualized:




      • 1 cpu, 1 core: 2783 sc, 2705 mc

      • 1 cpu, 2 cores: 2758 sc, 4271 mc

      • 1 cpu, 3 cores: 2783 sc, 5234 mc

      • 1 cpu, 4 cores: 2769 sc, 5793 mc


      So, at least in my testing, it looks like there's a benefit to setting your virtual number of cores to match your physical cores. Maybe I'm wrong. I'd love to discuss.






      share|improve this answer





















      • Excellent research! Thanks. Could you extend this research to cover some of the other options I highlighted in the original post? Like a virtual 2/2 and 4/1 system (having already identified that a 1/4 out performs 1/4- setups)? That's the real question. Should you go 1/4, 2/2, or 4/1 (assuming you're going with 4 virtual cores overall). Also, I'll admit that I don't understand the difference in "single core score" and "multi-core score" in each of your examples. How can a 1cpu/1core machine get a multi-core score at all? Same for the 1cpu/4core situation, in reverse....
        – reidLinden
        Jan 9 '14 at 14:01
















      3














      In my own testing, with VMWare Workstation, using latest GeekBench 3, 64-bit tests, on a host machine with 1 cpu, 2 cores (with HT turned on, so 4 cores):



      Host System:




      • 2866 Single Core Score, 5939 Multi-Core Score


      Virtualized:




      • 1 cpu, 1 core: 2783 sc, 2705 mc

      • 1 cpu, 2 cores: 2758 sc, 4271 mc

      • 1 cpu, 3 cores: 2783 sc, 5234 mc

      • 1 cpu, 4 cores: 2769 sc, 5793 mc


      So, at least in my testing, it looks like there's a benefit to setting your virtual number of cores to match your physical cores. Maybe I'm wrong. I'd love to discuss.






      share|improve this answer





















      • Excellent research! Thanks. Could you extend this research to cover some of the other options I highlighted in the original post? Like a virtual 2/2 and 4/1 system (having already identified that a 1/4 out performs 1/4- setups)? That's the real question. Should you go 1/4, 2/2, or 4/1 (assuming you're going with 4 virtual cores overall). Also, I'll admit that I don't understand the difference in "single core score" and "multi-core score" in each of your examples. How can a 1cpu/1core machine get a multi-core score at all? Same for the 1cpu/4core situation, in reverse....
        – reidLinden
        Jan 9 '14 at 14:01














      3












      3








      3






      In my own testing, with VMWare Workstation, using latest GeekBench 3, 64-bit tests, on a host machine with 1 cpu, 2 cores (with HT turned on, so 4 cores):



      Host System:




      • 2866 Single Core Score, 5939 Multi-Core Score


      Virtualized:




      • 1 cpu, 1 core: 2783 sc, 2705 mc

      • 1 cpu, 2 cores: 2758 sc, 4271 mc

      • 1 cpu, 3 cores: 2783 sc, 5234 mc

      • 1 cpu, 4 cores: 2769 sc, 5793 mc


      So, at least in my testing, it looks like there's a benefit to setting your virtual number of cores to match your physical cores. Maybe I'm wrong. I'd love to discuss.






      share|improve this answer












      In my own testing, with VMWare Workstation, using latest GeekBench 3, 64-bit tests, on a host machine with 1 cpu, 2 cores (with HT turned on, so 4 cores):



      Host System:




      • 2866 Single Core Score, 5939 Multi-Core Score


      Virtualized:




      • 1 cpu, 1 core: 2783 sc, 2705 mc

      • 1 cpu, 2 cores: 2758 sc, 4271 mc

      • 1 cpu, 3 cores: 2783 sc, 5234 mc

      • 1 cpu, 4 cores: 2769 sc, 5793 mc


      So, at least in my testing, it looks like there's a benefit to setting your virtual number of cores to match your physical cores. Maybe I'm wrong. I'd love to discuss.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Jan 9 '14 at 0:41









      Nicholas Head

      5481510




      5481510












      • Excellent research! Thanks. Could you extend this research to cover some of the other options I highlighted in the original post? Like a virtual 2/2 and 4/1 system (having already identified that a 1/4 out performs 1/4- setups)? That's the real question. Should you go 1/4, 2/2, or 4/1 (assuming you're going with 4 virtual cores overall). Also, I'll admit that I don't understand the difference in "single core score" and "multi-core score" in each of your examples. How can a 1cpu/1core machine get a multi-core score at all? Same for the 1cpu/4core situation, in reverse....
        – reidLinden
        Jan 9 '14 at 14:01


















      • Excellent research! Thanks. Could you extend this research to cover some of the other options I highlighted in the original post? Like a virtual 2/2 and 4/1 system (having already identified that a 1/4 out performs 1/4- setups)? That's the real question. Should you go 1/4, 2/2, or 4/1 (assuming you're going with 4 virtual cores overall). Also, I'll admit that I don't understand the difference in "single core score" and "multi-core score" in each of your examples. How can a 1cpu/1core machine get a multi-core score at all? Same for the 1cpu/4core situation, in reverse....
        – reidLinden
        Jan 9 '14 at 14:01
















      Excellent research! Thanks. Could you extend this research to cover some of the other options I highlighted in the original post? Like a virtual 2/2 and 4/1 system (having already identified that a 1/4 out performs 1/4- setups)? That's the real question. Should you go 1/4, 2/2, or 4/1 (assuming you're going with 4 virtual cores overall). Also, I'll admit that I don't understand the difference in "single core score" and "multi-core score" in each of your examples. How can a 1cpu/1core machine get a multi-core score at all? Same for the 1cpu/4core situation, in reverse....
      – reidLinden
      Jan 9 '14 at 14:01




      Excellent research! Thanks. Could you extend this research to cover some of the other options I highlighted in the original post? Like a virtual 2/2 and 4/1 system (having already identified that a 1/4 out performs 1/4- setups)? That's the real question. Should you go 1/4, 2/2, or 4/1 (assuming you're going with 4 virtual cores overall). Also, I'll admit that I don't understand the difference in "single core score" and "multi-core score" in each of your examples. How can a 1cpu/1core machine get a multi-core score at all? Same for the 1cpu/4core situation, in reverse....
      – reidLinden
      Jan 9 '14 at 14:01













      2














      I don't know if this information is still valid, but in the not-too-long-ago past, additional guest CPUs didn't scale nearly as well as host CPUs did. In fact, best recommendation was to stay with single CPUs in your guest configurations unless you were specifically testing/debugging multithreaded software in your guests and required an SMP environment.



      Edit: This answer is particular to desktop virtualization, not server virtualization.






      share|improve this answer





















      • so, you're saying 1 processor, with a single core?
        – reidLinden
        Feb 14 '11 at 16:26










      • Yes. Does VMware workstation allow for setting those values independently now? I haven't used it since ver 6, and it was just a # of CPUs. If you're going to do multi-core/multi-CPUs in your guests, I doubt it much matters which way you scale things unless licensing considerations (# of "sockets" vs. # of "cores") come into play. e.g. XP Home only allows 1 socket, but up to 4 cores, while XP Pro allows for 2 sockets.
        – afrazier
        Feb 14 '11 at 16:50










      • yea, I appear to have the option to pick "# processors" and "# cores" independently... My Host machine has 1 processor with 8 cores, on a windows7 Professional, and my (main) guestOS is a windows server 2003...
        – reidLinden
        Feb 14 '11 at 17:07
















      2














      I don't know if this information is still valid, but in the not-too-long-ago past, additional guest CPUs didn't scale nearly as well as host CPUs did. In fact, best recommendation was to stay with single CPUs in your guest configurations unless you were specifically testing/debugging multithreaded software in your guests and required an SMP environment.



      Edit: This answer is particular to desktop virtualization, not server virtualization.






      share|improve this answer





















      • so, you're saying 1 processor, with a single core?
        – reidLinden
        Feb 14 '11 at 16:26










      • Yes. Does VMware workstation allow for setting those values independently now? I haven't used it since ver 6, and it was just a # of CPUs. If you're going to do multi-core/multi-CPUs in your guests, I doubt it much matters which way you scale things unless licensing considerations (# of "sockets" vs. # of "cores") come into play. e.g. XP Home only allows 1 socket, but up to 4 cores, while XP Pro allows for 2 sockets.
        – afrazier
        Feb 14 '11 at 16:50










      • yea, I appear to have the option to pick "# processors" and "# cores" independently... My Host machine has 1 processor with 8 cores, on a windows7 Professional, and my (main) guestOS is a windows server 2003...
        – reidLinden
        Feb 14 '11 at 17:07














      2












      2








      2






      I don't know if this information is still valid, but in the not-too-long-ago past, additional guest CPUs didn't scale nearly as well as host CPUs did. In fact, best recommendation was to stay with single CPUs in your guest configurations unless you were specifically testing/debugging multithreaded software in your guests and required an SMP environment.



      Edit: This answer is particular to desktop virtualization, not server virtualization.






      share|improve this answer












      I don't know if this information is still valid, but in the not-too-long-ago past, additional guest CPUs didn't scale nearly as well as host CPUs did. In fact, best recommendation was to stay with single CPUs in your guest configurations unless you were specifically testing/debugging multithreaded software in your guests and required an SMP environment.



      Edit: This answer is particular to desktop virtualization, not server virtualization.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Feb 14 '11 at 15:50









      afrazier

      20.5k24682




      20.5k24682












      • so, you're saying 1 processor, with a single core?
        – reidLinden
        Feb 14 '11 at 16:26










      • Yes. Does VMware workstation allow for setting those values independently now? I haven't used it since ver 6, and it was just a # of CPUs. If you're going to do multi-core/multi-CPUs in your guests, I doubt it much matters which way you scale things unless licensing considerations (# of "sockets" vs. # of "cores") come into play. e.g. XP Home only allows 1 socket, but up to 4 cores, while XP Pro allows for 2 sockets.
        – afrazier
        Feb 14 '11 at 16:50










      • yea, I appear to have the option to pick "# processors" and "# cores" independently... My Host machine has 1 processor with 8 cores, on a windows7 Professional, and my (main) guestOS is a windows server 2003...
        – reidLinden
        Feb 14 '11 at 17:07


















      • so, you're saying 1 processor, with a single core?
        – reidLinden
        Feb 14 '11 at 16:26










      • Yes. Does VMware workstation allow for setting those values independently now? I haven't used it since ver 6, and it was just a # of CPUs. If you're going to do multi-core/multi-CPUs in your guests, I doubt it much matters which way you scale things unless licensing considerations (# of "sockets" vs. # of "cores") come into play. e.g. XP Home only allows 1 socket, but up to 4 cores, while XP Pro allows for 2 sockets.
        – afrazier
        Feb 14 '11 at 16:50










      • yea, I appear to have the option to pick "# processors" and "# cores" independently... My Host machine has 1 processor with 8 cores, on a windows7 Professional, and my (main) guestOS is a windows server 2003...
        – reidLinden
        Feb 14 '11 at 17:07
















      so, you're saying 1 processor, with a single core?
      – reidLinden
      Feb 14 '11 at 16:26




      so, you're saying 1 processor, with a single core?
      – reidLinden
      Feb 14 '11 at 16:26












      Yes. Does VMware workstation allow for setting those values independently now? I haven't used it since ver 6, and it was just a # of CPUs. If you're going to do multi-core/multi-CPUs in your guests, I doubt it much matters which way you scale things unless licensing considerations (# of "sockets" vs. # of "cores") come into play. e.g. XP Home only allows 1 socket, but up to 4 cores, while XP Pro allows for 2 sockets.
      – afrazier
      Feb 14 '11 at 16:50




      Yes. Does VMware workstation allow for setting those values independently now? I haven't used it since ver 6, and it was just a # of CPUs. If you're going to do multi-core/multi-CPUs in your guests, I doubt it much matters which way you scale things unless licensing considerations (# of "sockets" vs. # of "cores") come into play. e.g. XP Home only allows 1 socket, but up to 4 cores, while XP Pro allows for 2 sockets.
      – afrazier
      Feb 14 '11 at 16:50












      yea, I appear to have the option to pick "# processors" and "# cores" independently... My Host machine has 1 processor with 8 cores, on a windows7 Professional, and my (main) guestOS is a windows server 2003...
      – reidLinden
      Feb 14 '11 at 17:07




      yea, I appear to have the option to pick "# processors" and "# cores" independently... My Host machine has 1 processor with 8 cores, on a windows7 Professional, and my (main) guestOS is a windows server 2003...
      – reidLinden
      Feb 14 '11 at 17:07











      0














      At most I give my guest OS 2 cores. It doesn't matter if you do 1 processor 2 cores or 2 processor 1 core each. The procesor setting is for compatibility reasons. Processor/cores don't scale so well for guest OS because of core/processor process scheduling. 2 cores seems to be the sweet spot.






      share|improve this answer





















      • You want to avoid having one processor and one core for a VM because if any operation that the host OS doesn't expect to block blocks unexpectedly in the host, the entire VM is blocked.
        – David Schwartz
        Nov 9 '13 at 0:45
















      0














      At most I give my guest OS 2 cores. It doesn't matter if you do 1 processor 2 cores or 2 processor 1 core each. The procesor setting is for compatibility reasons. Processor/cores don't scale so well for guest OS because of core/processor process scheduling. 2 cores seems to be the sweet spot.






      share|improve this answer





















      • You want to avoid having one processor and one core for a VM because if any operation that the host OS doesn't expect to block blocks unexpectedly in the host, the entire VM is blocked.
        – David Schwartz
        Nov 9 '13 at 0:45














      0












      0








      0






      At most I give my guest OS 2 cores. It doesn't matter if you do 1 processor 2 cores or 2 processor 1 core each. The procesor setting is for compatibility reasons. Processor/cores don't scale so well for guest OS because of core/processor process scheduling. 2 cores seems to be the sweet spot.






      share|improve this answer












      At most I give my guest OS 2 cores. It doesn't matter if you do 1 processor 2 cores or 2 processor 1 core each. The procesor setting is for compatibility reasons. Processor/cores don't scale so well for guest OS because of core/processor process scheduling. 2 cores seems to be the sweet spot.







      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Feb 14 '11 at 16:02









      Metril

      41125




      41125












      • You want to avoid having one processor and one core for a VM because if any operation that the host OS doesn't expect to block blocks unexpectedly in the host, the entire VM is blocked.
        – David Schwartz
        Nov 9 '13 at 0:45


















      • You want to avoid having one processor and one core for a VM because if any operation that the host OS doesn't expect to block blocks unexpectedly in the host, the entire VM is blocked.
        – David Schwartz
        Nov 9 '13 at 0:45
















      You want to avoid having one processor and one core for a VM because if any operation that the host OS doesn't expect to block blocks unexpectedly in the host, the entire VM is blocked.
      – David Schwartz
      Nov 9 '13 at 0:45




      You want to avoid having one processor and one core for a VM because if any operation that the host OS doesn't expect to block blocks unexpectedly in the host, the entire VM is blocked.
      – David Schwartz
      Nov 9 '13 at 0:45











      0














      There is little difference at this point. In some cases software licensing may depend on cores or CPUs.




      Virtualized:
      1 cpu, 1 core: 2783 sc, 2705 mc 1 cpu, 2 cores: 2758 sc, 4271 mc 1
      cpu, 3 cores: 2783 sc, 5234 mc 1 cpu, 4 cores: 2769 sc, 5793 mc So, at
      least in my testing, it looks like there's a benefit to setting your
      virtual number of cores to match your physical cores. Maybe I'm wrong.
      I'd love to discuss.




      This is only in a benchmark that uses all cores. Most applications don't scale performance linearly with core count as they just don't use the extra cores.



      There is also some level of overhead with adding more cores. Therefor in short, only add the number of cores your application needs to perform at the levels you need. Just because you have 4 cores in your host does not mean every VM should get 4 cores.



      In a number of the environments that I manage we have dual 10 core CPUs with a total of 40 logical threads and my domain controllers still only get two cores.






      share|improve this answer


























        0














        There is little difference at this point. In some cases software licensing may depend on cores or CPUs.




        Virtualized:
        1 cpu, 1 core: 2783 sc, 2705 mc 1 cpu, 2 cores: 2758 sc, 4271 mc 1
        cpu, 3 cores: 2783 sc, 5234 mc 1 cpu, 4 cores: 2769 sc, 5793 mc So, at
        least in my testing, it looks like there's a benefit to setting your
        virtual number of cores to match your physical cores. Maybe I'm wrong.
        I'd love to discuss.




        This is only in a benchmark that uses all cores. Most applications don't scale performance linearly with core count as they just don't use the extra cores.



        There is also some level of overhead with adding more cores. Therefor in short, only add the number of cores your application needs to perform at the levels you need. Just because you have 4 cores in your host does not mean every VM should get 4 cores.



        In a number of the environments that I manage we have dual 10 core CPUs with a total of 40 logical threads and my domain controllers still only get two cores.






        share|improve this answer
























          0












          0








          0






          There is little difference at this point. In some cases software licensing may depend on cores or CPUs.




          Virtualized:
          1 cpu, 1 core: 2783 sc, 2705 mc 1 cpu, 2 cores: 2758 sc, 4271 mc 1
          cpu, 3 cores: 2783 sc, 5234 mc 1 cpu, 4 cores: 2769 sc, 5793 mc So, at
          least in my testing, it looks like there's a benefit to setting your
          virtual number of cores to match your physical cores. Maybe I'm wrong.
          I'd love to discuss.




          This is only in a benchmark that uses all cores. Most applications don't scale performance linearly with core count as they just don't use the extra cores.



          There is also some level of overhead with adding more cores. Therefor in short, only add the number of cores your application needs to perform at the levels you need. Just because you have 4 cores in your host does not mean every VM should get 4 cores.



          In a number of the environments that I manage we have dual 10 core CPUs with a total of 40 logical threads and my domain controllers still only get two cores.






          share|improve this answer












          There is little difference at this point. In some cases software licensing may depend on cores or CPUs.




          Virtualized:
          1 cpu, 1 core: 2783 sc, 2705 mc 1 cpu, 2 cores: 2758 sc, 4271 mc 1
          cpu, 3 cores: 2783 sc, 5234 mc 1 cpu, 4 cores: 2769 sc, 5793 mc So, at
          least in my testing, it looks like there's a benefit to setting your
          virtual number of cores to match your physical cores. Maybe I'm wrong.
          I'd love to discuss.




          This is only in a benchmark that uses all cores. Most applications don't scale performance linearly with core count as they just don't use the extra cores.



          There is also some level of overhead with adding more cores. Therefor in short, only add the number of cores your application needs to perform at the levels you need. Just because you have 4 cores in your host does not mean every VM should get 4 cores.



          In a number of the environments that I manage we have dual 10 core CPUs with a total of 40 logical threads and my domain controllers still only get two cores.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jun 9 '17 at 20:38









          Curtis

          1




          1























              -2














              I am quite shocked that these frequently asked questions have not been fully answered by now. Your host CPU should support some virtualization technologies, e. g. the Intel VTx. That allows you to "tunnel" the whole power of the CPU into your guest operating system. Otherwise, there will be an enormous speed drop due to the emulation of a CPU. If you're having a CPU with hyperthreading, you should see 8 processors for a quad-core CPU in the device manager of your host machine (hyperthreading doubles the number of your cores). In that case, you can assign 1 processor with 4 cores for your guest os. As long as you don't have any other physical processor in your system, do not assign more than 1 processor to your virtual machine. You can assign more or fewer cores to your guest os, depending on your needs, but you shouldn't assign a value higher than your hyperthreading cores. But note, that your host also needs some CPU power. I usually set up the half number of my hyperthreading cores and the half number of my memory, e. g. 8192 MB when you have 16 Gig of RAM. This is usually a good setting to go, but not if you want to run more than one virtual machine at a time.






              share|improve this answer


























                -2














                I am quite shocked that these frequently asked questions have not been fully answered by now. Your host CPU should support some virtualization technologies, e. g. the Intel VTx. That allows you to "tunnel" the whole power of the CPU into your guest operating system. Otherwise, there will be an enormous speed drop due to the emulation of a CPU. If you're having a CPU with hyperthreading, you should see 8 processors for a quad-core CPU in the device manager of your host machine (hyperthreading doubles the number of your cores). In that case, you can assign 1 processor with 4 cores for your guest os. As long as you don't have any other physical processor in your system, do not assign more than 1 processor to your virtual machine. You can assign more or fewer cores to your guest os, depending on your needs, but you shouldn't assign a value higher than your hyperthreading cores. But note, that your host also needs some CPU power. I usually set up the half number of my hyperthreading cores and the half number of my memory, e. g. 8192 MB when you have 16 Gig of RAM. This is usually a good setting to go, but not if you want to run more than one virtual machine at a time.






                share|improve this answer
























                  -2












                  -2








                  -2






                  I am quite shocked that these frequently asked questions have not been fully answered by now. Your host CPU should support some virtualization technologies, e. g. the Intel VTx. That allows you to "tunnel" the whole power of the CPU into your guest operating system. Otherwise, there will be an enormous speed drop due to the emulation of a CPU. If you're having a CPU with hyperthreading, you should see 8 processors for a quad-core CPU in the device manager of your host machine (hyperthreading doubles the number of your cores). In that case, you can assign 1 processor with 4 cores for your guest os. As long as you don't have any other physical processor in your system, do not assign more than 1 processor to your virtual machine. You can assign more or fewer cores to your guest os, depending on your needs, but you shouldn't assign a value higher than your hyperthreading cores. But note, that your host also needs some CPU power. I usually set up the half number of my hyperthreading cores and the half number of my memory, e. g. 8192 MB when you have 16 Gig of RAM. This is usually a good setting to go, but not if you want to run more than one virtual machine at a time.






                  share|improve this answer












                  I am quite shocked that these frequently asked questions have not been fully answered by now. Your host CPU should support some virtualization technologies, e. g. the Intel VTx. That allows you to "tunnel" the whole power of the CPU into your guest operating system. Otherwise, there will be an enormous speed drop due to the emulation of a CPU. If you're having a CPU with hyperthreading, you should see 8 processors for a quad-core CPU in the device manager of your host machine (hyperthreading doubles the number of your cores). In that case, you can assign 1 processor with 4 cores for your guest os. As long as you don't have any other physical processor in your system, do not assign more than 1 processor to your virtual machine. You can assign more or fewer cores to your guest os, depending on your needs, but you shouldn't assign a value higher than your hyperthreading cores. But note, that your host also needs some CPU power. I usually set up the half number of my hyperthreading cores and the half number of my memory, e. g. 8192 MB when you have 16 Gig of RAM. This is usually a good setting to go, but not if you want to run more than one virtual machine at a time.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Dec 12 '18 at 9:06









                  martinjohannes93

                  1




                  1















                      Popular posts from this blog

                      If I really need a card on my start hand, how many mulligans make sense? [duplicate]

                      Alcedinidae

                      Can an atomic nucleus contain both particles and antiparticles? [duplicate]