Optimal number of processors/cores for guests?

On a host with a processor i5-3337U (2 cores, 4 threads via hyperthreading) and assuming that guests can use all the power of the CPU it can get, which is the ideal maximum number of CPUs or cores should I assign to a guest without compromising the overall performance of the host or the guest?

I'd say 2vCPUs for comments. As your processor has just two logical cores, it will not be able to take a load with the crowd using the processor (assuming you have Windows 7). It also depends on the type of load, that you run on the VM guest.

If you say that the host will not consume a lot, then you could go up to 4vCPUs.

Tags: VMware

Similar Questions

  • How to change the number of processors / cores

    I have virtual machines that I have to move periodically between 3 computers main host that I use:

    1 Intel Core 2 Quad CPU with Windows 7 Home Premium 64 - bit - 1 processor with 4 cores

    2 Intel Core i7-2630QM CPU with Windows 7 Home Premium 64 bit - 1 processor with 4 cores

    3 Intel Core 2 Duo T7700 CPU VT with Windows XP 64 bits - 1 processor with 2 hearts

    Hosts running VMWare workstation 7.

    Most of my virtual machines running XP 32 bit and have been initially created for my 3 platform.

    When I move my machines between computers I see that the parameters of the Virtual Machine for my change of processor in (for me)
    in unpredictable ways. Sometimes it shows 1 processor and gives me a choice of up to 4 cores.
    in other cases (always on a 4 base platform) 1 single processor with 1 core, in other cases, with 1 core 2 processors.

    In most cases, my freedom of choice is limited, because the selection of the number of cores is grayed out.

    When I try to make changes by editing the vmx file, I find them ineffective (no change).

    The other problem I think is that my VMs run VERY SLOWLY on my i7 with 8 GB platform!
    I have no idea if this is related to the improper setting of the number of processores / cores (I'm not able to define
    1-4-hearts and spin with settingsd 1.1 instead).

    Could someone please help me understand how:

    1. check / change the number of processors / threads on an existing virtual machine.

    2. how to set properly for an i7 processor

    Thanks in advance,

    Andrew

    1. providers that create virtual machines are in a race - they assume that customers use this version which proposes to use the virtual processors more ;-)
    For some workloads inside a virtual machine - say Oracle or other database and applications servers such that it is sometimes really good idea to use more than one virtual processor

    2. virtual machines to scale differently with more CPU than the real computers.
    Virtual machines are for host applications.
    This means that the host schedules the time CPU to each virtual machine.
    If you follow this thought that you will see that a virtual machine that uses one virtual processor has a greater chance to run then a VM with 2 virtual processors.
    A VM with 4 cores running on a host with 4 cores will spend a lot of wait time - it may work only when the host reports the application of Workstation 4 hearts are available.

    A virtual machine with only 1 vCPU will probably be able to run all the time without any waiting time.
    This is why usually with a single CPU VMs feel better to the needs of the user.

    This translates into the best practical advice: assign a CPU unless you really notice you need more.

    3. probably, you try to change the values, while the virtual machine is suspended?

    4.
    numvcpus = '8 '.
    cpuid.coresPerSocket = "4".

    We hear two processors with 4 cores of each

    numvcpus = "4".
    cpuid.coresPerSocket = "4".

    means a processors with 4 cores

    numvcpus = '2 '.
    cpuid.coresPerSocket = '1 '.

    We hear two processors with a carrot

    No effect? n ' mind that not all clients can use 2 or more processors
    For example, XP is limited in this respect.
    Some guests may also not change the number of CPUS after what they have been installed

  • CLI to change the number of processors assigned to guest vm

    Is there a vi CLI to change the number of processors assigned to a virtual machine guest?

    the need to reduce number of vCPUs 4-to-1

    Hello

    You can take a look at the discussion.

    It will be useful.

    Concerning

    Franck

  • Workstation 7.1 - distribution of cores/processors and nets for guests

    Hello

    Exactly, which is allocated by the parameters 'number of processors' and 'number of CPU cores? The first Option allocates threads (virtual processors) and the second the cores include 2 sons?

    Not very useful to me on page 81 and 367 manual ist. Is there a better source?

    Story: I am about to buy a new laptop that has a core i5 or i7 with two hearts and I think only 4 wires. Now I wonder if I can run two virtual machines at the same time, and how the settings are to do, if I want to allocate:

    (a) the base (or two threads) to a virtual computer

    (b) a wire to a virtual computer

    (c) a single thread to the host...

    is is possible or do I have TO allocate two virtual machines for the same kernel?

    thx for the help

    andyt25 wrote:

    Hello

    Exactly, which is allocated by the parameters 'number of processors' and 'number of CPU cores? The first Option allocates threads (virtual processors) and the second the cores include 2 sons?

    When you create a virtual guest machine, you can choose how many virtual processors (vCPU) there.  If you choose to give it 2 or more vCPUs then the options you listed above control how VMware presents these vCPUs to the guest operating system.

    For example, if you choose to give a comment 2 vCPU, then you can either have VMware to present the guest with 2 core processors (virtual) or a single processor dual-core (virtual).  Things performance will be the same, but this option exists because some software are allowed on a base by processor (instead of a per-core) so there may be an advantage permitted to configure your comments in a special way.

    The settings above have no effect on how VMware plans to run on your host CPU processes.  By default, VMware will use all the cores available host regardless of how you configure the options above when creating your guests.

    Now, with all this talk about several vCPU invited road, I should mention that my experience you will have the best performance if you set up your guests with a unique vCPU.   In a virtualized environment, multiple vCPU / customer does not necessarily in the best performance.  I strongly suggest you create your guests with 1 vCPU and only increase their number of vCPU if tests show that the performance is increased.

    You will certainly be able to run several clients at once on your host computer.  If you persevere with 1 vCPU invited, you will almost certainly run in performance RAM problems or disk well until you encounter problems CPU host.

  • VM is to have 1 CPU, can we reduce the number of core for CPU.

    VM is to have 1 CPU, can we reduce the number of core for CPU.


    Capture.JPG

    In this article: the number of cores per processor in a virtual machine (1010184)

  • Number of processors and cores in AWR report

    Hello

    I have a report AWR to my system and a couple of entries confuse me.

    Q1. It's showing 3 carrots, 2 Sockets and 4 processors. The CPU and the Sockets, I understand that 2 chips with 2 processors per chip so 4 CPU.

    What confuses me, is the fact that it shows 3 carrots. Is that that by CPU cores? Othererwise 3-4 makes no sense?

    Q2. What is the difference between DB, time CPU and CPU DB?

    My understanding is that DB time is the time used by the process, including the time processor and wait time. Because a system can have more than one processor, it is quite natural that DB time may exceed to elapse time - since you have multiple processors that contribute to this time (I guess that DB time cannot be really more time elapse * our processors?)

    In fact, you could say if DB time does not exceed the time to elapse, then you have a Nock idle system?

    My understanding of time CPU, is that it's time where each process actually gets treatment CPU (so it does not time-out). I think that the AWR report confusingly used the term time CPU and CPU DB, to mean the same thing?

    clearly greatly appreciated

    Jim


    Hi Jimbo,

    Q1. "Nuclei" in the CWA report represents the quantity of physical processor cores and the "processors" takes into account the simultaneous multithreading so in your case, one option could be a CPU Socket has a dual core (not type hyperthreading) and the other CPU Socket has one heart (hyperthreaded). If this is the case, you will have 3 physical 4 CPU cores, (because it takes into account the hyper-threaded architecture) and 2 taken. It's just an option, you will need to check it out.

    Q2. No-Idle wait events are events that are not classified by Oracle as a "Idle" of events to wait wait:

    • Example of Idle wait-event: SQL * Net client message (server process is waiting for the client process to do something)
    • Idle wait-event example: db file scattered read (event waiting user IO representing a multilock read as full scan of the table or full scan small index.
    • You can get a complete list of active waiting events by running:

    Select name from v$ event_name where wait_class <> "inactive".

    • You can get a full list of the events of inactive waiting by running:

    Select name from v$ event_name where wait_class = 'Idle '.


    DB time is therefore the sum of all events of active waiting and also the CPU time that is a statistic:

    • You can see the value of the amount of time CPU in 10s of miiliseconds (centisecondes) for an exeuting session:

    SELECT THE VALUE

    FROM v$ sesstat JOIN v$ statname USING (statistics #)

    WHERE name = 'CPU used by this session' AND SID =

    • You can see the value of the time total CPU in 10s of milliseconds (centisecondes) for the instance of exeuting:

    SELECT the value from v$ sysstat

    WHERE name = 'CPU used by this session.

  • Cannot change the number of processors present on the drive

    Hello

    I am a new user but have searched the forums and FAQS and can't find the answer.

    I have VMWare Workstation Player version 12 for Linux.  Host is 23 Fedora on a processor quad-core i5 with 8 GB of RAM.  Guest operating system is Windows 7.  It's for personal use, so I don't have a license key.

    The question I have, is that several parameters is not editable, especially the number of processors. The selection is grayed out and set to 1.  In addition, the hard drive and display settings (graphics card) cannot be changed either.

    I tried both with the virtual machine off and with it works.  Doesn't make a difference, the settings are grayed out.

    I searched everywhere for an explanation, but have not found a clue.  Help, please!

    Thank you

    DW

    The settings are grayed out when:
    -the virtual machine is running
    -the virtual machine is suspended
    -l' virtual computer runs in background

    If poweroff the virtual machine with a full stop of the guest.
    If it still does not - check if you are the owner of the vmx file

  • VMware vSphere 4 licenses essential question and the number of processors

    Hi all

    I have a question about the Essentials of VMware vSphere 4.1 license. We have a client interested in a VMware vSphere Essentials license. The machine runs on 2 x processor Xeon 5675 6 c. Now I read somewhere that there was a limitation of the number of processors that can be used with the edition of Essentials. If I remember correctly, the number of physical sockets is limited to 2, but I remember that there is another limit, but I could not find the document describing and wonder:

    Is there a limitation on the maximum number of 4 cores on one physical processor that can or will be used by VMware vSphere 4.1 Essentials or there is a limitation on the number of 4 vCPU that can be assigned to a guest?

    I would like to know because if this is a limitation on the number of vCPU that can be assigned to a customer that would not be a problem because we have no guests in need of vCPU, then 2 more, but if this is a limitation on the number of cores that would be used by VMware vSphere Essentials, it would be a waste of money to buy a 6-Core ;-)

    Hello.

    2 taken with 3 guests, 6 hearts and SMP 4 lanes for virtual machines.

    These limitations are available at: http://www.vmware.com/products/vsphere/buy/small_business_editions_comparison.html

    Good luck!

  • Isolate processor core

    Is it possible to dedicate a heart of processor together for a virtual machine?  With the processor affinity, I will devote a virtual machine at the heart of a processor.  This virtual machine running only with the heart that he has an affinity with.  However, other virtual machines can always run on this core.  How can I insulate a whole CPU core to be used by a single virtual computer?  The other processor cores should be free of any of a large number of virtual machines - run using Affinity processor for all the virtual machines so that a VM can have its own core is not an option.  I just need to dedicate a carrot to a vm, and keep the other each vm to access.

    (Note: this is all terrible design and not best practices that I realize - it is independent of my will to tell how to do but be aware if it is theoretically possible)

    Thanks for the input

    You are right. But remember that each vCPU is programmed according to the CPU scheduler.

    This means that:

    • 1 vCPU by pCPU
    • Timeslicing for the principle of equity, even if you isolate a Jepp. so a vCPU is going to be tended if it reaches the end of its timeslice, because no other vCPU run on the Jepp this will be scheduled immediately.
    • Other worlds, BHs and interruptions of must be published too, so assign a second Jepp to eliminate vCPU and competition for the time of the worlds.
    • The VMkernel uses all pCPUs available for the planning of its process, it does not take into account a virtual machine with the processor affinity.

    Tip:

    • If you are running on a NUMA node, set the affinity of the memory to avoid distant memory.
    • "Off to assign" the Jepp second on all other VMS as well, because the CPU scheduler can (more to the difference, but there is no guarantee) migrate the vCPU thread to the other processor for balancing purposes.

    Frank Denneman

    Co-author of: vSphere 4.1 HA and DRS technical Deepdive - now on Amazon

  • Number of processors and hardware migration

    2 questions:

    I saw this tutorial on how to clone virtual machines for copying just in browser store data and add it to the inventory again.

    Is - this kosher? can it cause problems? Its a freebsd AMD64 bit installation 9.

    Also, is it safe move a virtual machine like that of a desktop computer hp with a core2duo on a hp dl360 xeon?

    And finally, these two machines are quad-cores; should I set the number of virtual processors in vsphere 4 or leave at 1?

    You have to look at what resources they each need, certainly if the production needs of the processing power of 2 vCPUs then giving it 2 and splitting the two other the dev and the sandbox would probably be best. If the capacity of the pre implementation planning is not possible start us with 1 vCPU by machine in our environments and increase if needed.

    The majority of virtual machines, I've worked on that have been very well when the scaling vertically with the number of processors, but as I said, it's especially windows and red hat. This message speaks to the situation for Windows Server 2003, but I imagine that there will be some similarities. http://communities.VMware.com/thread/29415

    I think you really need to test, to perhaps build a single vCPU system. From a 4 to a vCPU 2 should be good because they will always use a multiprocessor driver.

    I hope this helps!

  • Can how many processor cores I use?

    Hi all

    I have installed a virtual machine with Windows 7 on an ESXi 4 host:

    • I can select up to 8 cores in the settings of virtual machines.

    • ESXi 4 has a vSphere advanced license key.

    However, the virtual machine shows only 2 processors with 1 core each. Can I use only two hearts in ESXi4, even if I use a vSphere license?

    If so, why I can select up to 8 cores?

    Thanks in advance,

    Andreas

    You can assign the number of vCPUs is determined by the level of license - http://www.vmware.com/products/vsphere/buy/editions_comparison.html, but you must always take into account the comments OS CPU licenses.  Windows see 2 vCPUs as physical processors and so just to use them.  To move, you must use the parameter of cpuid.corePerSocket - http://www.yellow-bricks.com/2009/06/04/per-processor-licenses-for-your-application/.

    Dave

    VMware communities user moderator

    Now available - vSphere Quick Start Guide

    You have a system or a PCI with VMDirectPath?  Submit your specifications to Officieux VMDirectPath HCL.

  • ESXi 3.5 maximum number of processors

    Hi all

    The maximum configuration or more exactly, I found a table (table 3, page 4) that contains information about the maximum in looking ESXi documentation, calculate for ESX systens.

    I would like to know about this line:

    "Number of cores per server 32.

    This means that the limit for ESXi systens are 32 hearts regardless of the processor how much I runing on my server?

    For example:

    A server with xeon quad processors 4 four is equal to a base of sixteen 16 server.

    ESXi would work in this server?

    Another example (I know that's not possible, but it's just an example):

    A server equipped with 8 eight physical processors, a carrot by processor.

    ESXi would work in this server?

    Resume, I would like to know what is the real maximum limitation of a number of ESXi Server (free ESX edition) of processors (cores).

    I just want to be sure about this before buying a server with 4 processors with the cost of the car...

    Thanks in advance for any assistance.

    o /.

    AJ

    Maximum number of cores per server 32 (ESX 3.5 and ESX 3.5i)

    http://pubs.VMware.com/vi301/install/wwhelp/wwhimpl/common/html/wwhelp.htm?context=install&file=install_requirements.4.10.html

  • ProBook 450 G2: Upgraded to the 6th generation 4th generation intel processor core i5 to skylake

    My laptop is HP Probook 450 G2. And my processor is 4th generation Intel Core i5. So, I want to upgrade my processor CPU 4th generation intel core i5 to 6th generation intel processor core i5 to skylake. Can I put my 4th generation CPU intel core i5 processor in the 6th generation intel core i5 processor skylake? Pls tell me

    Laughing out loud

    You can't do this for a simple reason.

    The processor on the motherboard socket are not identical.

    4th generation Intel core i5 mobile CPU uses socket 1150

    6th generation Intel core i5 mobile CPU uses socket 1440

    It's a bit like trying to plug the power plug of the American unit to an electric outlet of the European House.

  • What is the number of processors and maximum memory options in MSCONFIG?

    MSCONFIG (START)... Who can tell me what that? !!
     
    http://www.HTPC-reviews.com/wp-content/uploads/2012/08/speedup_windows7.jpg

    This photo... It's the MSCONFIG window

    64-bit Windows 7

    who can tell me what is 'exactly' the real role of:

    -Number of processors
    -Maximum memory

    because

    I have i7 with 8 processors and when I chose (number of processors) 8 processors, that nothing has changed! It's same as 0.
    and I have 6 GB of ram and when I chose (maximum memory) = 6 GB, nothing has changed, but became 5 GB in the Task Manager!

    What is - c!

    can someone help me please!

     
    Hello
     
    These options to limit the use of processors and memory to the specified value. If you want windows to use all available processors and memory, you must leave two options not controlled.
    When the number of processors option is set to zero, Windows will use all available processors.
     
     

    Hope this information is useful.

  • How to calculate how much/hearts of processors needed for a fusion of databases in a single instance

    Hi all, we have a project to produce a high level specification material for a new oracle linux server that would be a merger of our servers to 5 current all open windows to run Oracle 11203 Windows 2008 r2. All our windows boxes are Intel dual core with 12 cores of each. My question is how measure how much cpu is our current that each oracle database uses to determine the min/processor cores required for new linux box? Hope I'm making sense. Thank you!

    946212, forget the AWR.  What you want to do is to collect statistics from Windows performance monitor to see what percentage of the CPU is used on average and maximum on each machine.  Sum of the values to have any idea how much cpu your new server will need.  You should probably do the same thing for IO.

    HTH - Mark D Powell.

Maybe you are looking for