vSphere 5. Casings of vCPU and cores per CPU (PowerCLI) bug

Hello!

I have a test on vSphere Lab 5 (with all the latest updates installed) and I try to make virtual machines using PowerCLI (version 5.0.1). The virtual machine is powered OFF.

1. I created using this string VM:

New-VM - name Test_VM - ResourcePool resources Datastore - LUN1 - DiskMB 512 - MemoryMB 512 NumCpu - 4 - disk - CD - NetworkName VL348 - Confirm: $false

There is no way to set the number of CPU sockets or cores when creating the virtual machine by using the latest PowerCLI. The only way to create the virtual machine with more than one CPU or core is to use the parameter - NumCpu (total number of cores!).

2. I connected to the vSphere Client and checked the newly created configuration of the CPU of the virtual machine. And the customer shows me an error:

01.jpg

02.jpg

03.jpg

The cpuid.corespersocket parameter does not exist.

In the virtual machine's .vmx file, there is no such parameter.

Numvcpus = '4' only exists in the .vmx file.

In addition, it is not possible to change the settings of casings and carrots using the Client. The same mistake as in the first screen appears.

2 wells. Then I tried to run this:

$spec = New - Object - Type VMware.Vim.VirtualMAchineConfigSpec - property @{'NumCoresPerSocket' = 2}

(Get-VM-name Test_VM). ExtensionData.ReconfigVM_Task ($spec)

And checked the configruration:

04.jpg

05.jpg

This added commands the same parameter in the .vmx file.

numvcpus = "4".

cpuid.coresPerSocket = '2 '.

3. then I tried to make changes to my VM (I want to do 4 rear single-core CPU) and run this:

$spec = New - Object - Type VMware.Vim.VirtualMAchineConfigSpec - property @{'NumCoresPerSocket' = 1}

(Get-VM-name Test_VM). ExtensionData.ReconfigVM_Task ($spec)

And now I have the same error as in the first screen.

In the .vmx file:

numvcpus = "4".

cpuid.coresPerSocket = '1 '.

4. then I tried to use the command Set - VM change NumCpu 4... Nothing has changed. String cpuid.coresPerSocket = "1" still present in the file.

5 then I tried to make my VM with 1 Quad-Core processor. Success!

6. then, I tried to modify the 2x2Core and return to Quad-Core 1. Success!

7 then - back to 4 Single-Core. IN CASE OF FAILURE!

What I've done wrong?

What operating system you defined for this virtual machine?

Not all OS supports vCPU 4 or more. This first error in the vSphere Client seems to point in this direction.

Tags: VMware

Similar Questions

  • Maximum cores per CPU - VMWare Essentials

    Hello everyone,

    We bought Vsphere Essentials Plus and installed on 2 hosts, processor Intel 2 1 4 - cores and a processor AMD Opteron 2 6 - cores. Since none of the CPUs exceed 6 hearts, I expected to be able to use more than 1 server with 2 processors, but the system will report that we used all possible processors.

    2 screenshots attached

    The number of nuclei can we have for 1 CPU: maximum 6, most often identified, or less than 6, also sometimes found?

    Thank you for your help

    Michel Verhaeghe

    Opterons have you are 12 cores per socket, so they use 2 licenses each.

    ---

    MCITP: SA + WILL, VMware vExpert, VCP 3/4

    http://blog.vadmin.ru

  • PowerCLI - get the number of cores per processor and number of Sockets

    Greetings,

    We are responsible to give a list of all our virtual machines with their host name, the number of CPUs, the BONES and the number of cores per processor for verification.

    I immediately said that this would not be a problem with PowerCLI. However I seem to have more trouble with it than expected.

    Get the number of CPUS is not a problem, but the time wherever I want to divide the number of cores and the number of sockets, it seems to hit a dead end.

    I found the following entries of the community concerned:

    Re: vSphere 5. Casings of vCPU and cores per CPU (PowerCLI) bug

    Machine virtual access avancΘs | VMware vSphere Blog - VMware Blogs

    Parameters to retrieve and set Advanced Configuration (VMX) VM

    But neither seemed to give me the right input. The advanced configuration settings do not appear to contain the number of cores/sockets and Get-View and Get - VM normal controls do not seem to differentiate between carrots and the power outlets and just give the number of processors.

    Because we need these settings for a check I doubt I'm the first to need this information. Does anyone have an idea how to get this information?

    Please note that it is the number of cores and casings of a VM, not an ESXi host.

    Thanks in advance,

    Bram

    $result = @)
    $vms = get - view - ViewType VirtualMachine
    {foreach ($vm to $vms)
        $obj = new-object psobject
        $obj | Add-Member - MemberType NoteProperty-name name - value $vm. Name
        $obj | Add-Member - MemberType NoteProperty - name CPUSocket-$vm.config.hardware.NumCPU value
        $obj | Add-Member - MemberType NoteProperty - name Corepersocket-$vm.config.hardware.NumCoresPerSocket value
        $result += $obj
      
    }
    $result
  • hyperthreading (HT) in vSphere with Nehalem Xeon 5500 and their effect on the number of vCPU

    Hi guys

    The title says it all I think. HT is enabled on the new Xeon 5500, what effect does exactly in vSphere:

    (1) are there more vCPUs per socket? (E.g., 4 cores * 2 threads = 8 vCPUs presentable). or;

    (2) no County vCPU remains, with processes to become potentially more effective due to the additional thread, and;

    (3) are there applications or use cases for which hyperthreading is not recommended?

    Someone at - it with the 5500 new gear and vSphere had the chance to test HT in their lab to their workloads?

    a core or ht cpu is not called a vCPU. a vCPU is simply a virtual CPU that is part of a virtual machine configuration. Now HT would be double the amount of options the Planner must schedule vCPUs. From what I heard HT and the performance has been improved majorly with vSphere and he recommended to keep active.

    No it won't effect on licensing, it is taking physical and physical basis.

    I expect soon a few details/new performance data from VMware implementation team!

    Duncan

    VCDX | VMware communities user moderator

    -

  • VSphere number of virtual machines per CPU

    I've seen estimates of virtual machines per CPU and I understand that it depends on a combination of things. I think 4-5 virtual machines per CPU is up around. We run HP Proliant DL380 G5s (2 quad core) and it seems like that 4-5 per CPU core will be our number. Memory being the main factor limiting.

    I am now watching the servers (2 quad core) Proliant DL380 G6 and recital 72 GB of memory. Before I size like that, I want to know if the 8-10 mV by heart is conceivable. Even if I think that my current hardware could choke if I tried, I thought that perhaps most recent families of processor as the Proliant G6 Nehalem with VSphere improvements with regard to the planning of the CPU that could be a possibility.

    Also, I assumed variess speed processor directly with the virtual machine by core equip. As CPU speed increses # or virtual machines by increases in Basic. Is this correct?

    You're right it depends on many things, but for the general basic rules 4 - 6 virtual machines by heart for ESX 3.x and you can run no risk 6 to 8 virtual machines to vSphere, if you know that your virtual machines are use of the lamp, then pushing to 6-10VMs might do, but you should perhaps follow the activities and decrease if resources are hammering.  vSphere certainly has better CPU planning services and get the best performance from predecessor.  I test it on a test environment and the maximum stress and see how it runs.  What types of workloads and servers do you think?

    If you found this information useful, please consider awarding points to 'Correct' or 'useful '. Thank you!!!

    Kind regards

    Stefan Nguyen

    VMware vExpert 2009

    iGeek Systems Inc.

    VMware, Citrix, Microsoft Consultant

  • 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.

  • Limited to 8 cores per VM 5.5 ESXi?

    Im running the free version of ESXi 5.5 and appear to be limited to 8 cores per VM.

    Y at - it a license to push this limit to 16 or 32 cores? Im running on a HP DL980 with 128 cores and don't want to create 16 different VM to allocate all 128 cores.

    If there is a license, how much it costs?

    You are running the latest version of ESXi 5.5?  If you run Update 2, you will be able to upgrade to version 10 (power off the virtual machine, right-click and the possibility to upgrade virtual hardware will be there.)

  • vCPU vs Core?

    Are there performance differences between a 2 vCPU allowance and an allowance of 2 strands 1 vCPU?  It is purely a thing of licenses in comments, or are there impacts on actual performance (positive or negative)?

    I asked a group of internal discussion, as well as the discussion that the positive is that when you configure several vCPU - by default it is (or at least used to) allocate a different pCPU pcore and there was an advanced option to change this.   a vCore can assign multiple cores of the Jepp even on the contrary.

    In any case - some clarification about it would be appreciated.

    Thank you!

    This really a good discussion.

    I just figured some things with this KB and UC planner with vmware document...

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalID=1010184

    Depending on the CPU with VMware treatment.

    1vCPU is mapped to 1 physical core (no physical cpu (socket)).

    lets come to our discussion and what happens when you increase the carrots for virtual machine for example you 1vCPU socket and increased to 2 carrots. ESXi still see 2 individual vCPU and its mapped to 2 physical processors cores. VM see a 1CPU with 2 cores (IE is dual core). See below screen shot with 1 virtual CPU socket and replace the core 2 and finally, it shows that 2vCPU in the Summary tab.

    If side ESX vCPU scheduling does not difference if there are 2 individual vCPU taken or socket with vCore 1 vCPU 2... ESXi see it as 2vCPU and planning... VMkernel made scheduling in a much better way to give the good performance of the virtual machine.

    Hope that clarifies...

    Award points by clicking on the sub tab if the response is useful or appropriate

  • Virutal Machine vCPU Scheduling /cores/

    Hello

    I have a few questions about vCPUs in a Virtual Machine.

    (1) VMware plans to introduce carrots attributing inside vCPUs in the future? (In order to create a VM with one vCPU and 4 Cores and probably to map each carrot to a H.E.C instead of using a virtual machine with 4vCPUs)

    I know that VMware VMware workstation.

    (2) I don't know if my application is not designed for multi threading, so I have not gain too advantage of multiple processors, but I don't know if happens the same for multiple cores in a CPU. (in a windows environment)

    Any link to a white paper will be very grateful. The debate is that I don't have to have an application of multi threat. Windows handles the workload and will spread the load to multiple cores or multiprocessor.

    (3) when I have a virtual machine with 8 vCPUs, VMware Says It will plan all 8 vCPUs even if only one vCPU has a task to run. (the entire concept of the time ready cpu)

    Is this requirement by Windows to have all 8 available processors to run correctly or VMware. Is it possible to dynamically use the carrots needed?

    Thank you

    1: doable, perhaps--but anything requiring rework a .vmx file is simply not a good idea for a production environment, especially in a perspective of VM management.  If the syntax of the configuration is changed, you must then press each update virtual machine.  Do something like this only if a use case calls specifically for her.  Watching the procession of technology historically, VMware Workstation often appears to be used as a test of technology for features later can be introduced in VMware Server and ESX.  If the fact of technology in ESX is finally up to VMware, the possibility of extending the technology in a platform like ESX and customer demand.  In addition, in the past, VMware does not features to future products.

    2: discussions on the implications on the performance of the multi-core Strip vs can last for days.  We could lean toward multiple performance measures because the core of treatment will not share a cache with other nuclei.  On the other side of this coin, could lean toward multiple cores for performance because more than one kernel could be linked to a Bank of memory (usually in a NUMA system).  The reality is that, all other things being equal, two processing cores is of two processing cores, if they are distributed on one or two sockets.  The benefits of an approach are balanced by the disadvantages on the other.  That said, the single-threaded applications are not multiple processors.  It's simple math - 1 instruction will run on 1 processor.  A transformer, a single instruction pipeline.  Hyperthreading provides 2 instruction pipelines.  If I have 2 processor (physical sockets or multiple cores), I have 2 instruction pipelines.  1 statement will still run only on a single instruction pipeline.  So the process will use only a single thread on a single processor core, no matter how much of threads available to me.  If I run a single-threaded in a 4 - way box, quad core application, I will use that the 16 cores as possible.  The windows process scheduler is not magic and cannot divide a single thread in multiple threads.  What the Windows scheduler is going to do, though, is managing the workload on several pipes of instruction.  A system can get some benefits from this due to the fact that the OS and most of the applications and services that run added up to a more large number of threads must be distributed to the CPU.  As a (very) simple example, my Windows Firewall and anti-virus are running, if two processes and in turn, two sons.  Windows will see two threads and also see that nothing happens on one of my two processor cores.  Instead of planning two programs on CPU0, Windows makes the decision to schedule the firewall on CPU0 and CPU1 on anti-virus.  None of the applications has SMP, but the system as a set of benefits.

    However, if your application is not multi-threaded, the main is to leave the virtual machine built with a single vCPU to minimize the CPU contention thanks to a scheduling conflict.  The exception to this would be when the guest operating system and the application attempts to predict more CPU time that can present a single CPU heart in physical reception (i.e. you have 2.5 GHz CPU in the host, but the guest in the virtual machine operating system is constantly asking to be programmed for 3.5 GHz of time processor).  In this case, add a vCPU to the machine virtual peut provide the requested additional CPU.

    A few resources to watch may be:

    http://tinyurl.com/yhbx6lx - parallel hardware understanding: multiprocessor, Hyperthreading, dual-core, multicore and FPGAS (white book of National Instruments, Multicore Programming Fundamentals whitepaper series)

    http://www.pugetsystems.com/articles.php?id=23 - dual processor vs dual core (article focusing on the performance of the desktop )

    http://discuss.joelonsoftware.com/default.asp?joel.3.24968.20 - discussion on several processors (even if it is largely centred around several vs hyperthreaded CPU processors)

    3 see the white paper already bound.  I repeat what has already been said, the VMkernel CPU scheduler has many things to take into account in this determination.  There is not a general statement that can be made here.  Keep dozens (or more) happy VMs with their requests for time CPU is a difficult thing.  The VMkernel performs this task with great success.

    -jk

  • My core duo CPU is always maxed out! Why? I ran scans and they come back clean...

    Hello!  My core duo CPU seems to work continuously maxed out.  This is a recent development and I thought can I have incurred a virus or malware but I ran Viper, Microsoft Essentials, and they come to own.  It always seems to me that something is causing my cpu run continually maxing out and it has severely slowed down my computer performance.  When I check nothing irregular seems to be the Task Manager.  Any suggestion? Thank you!

    If you go to the Task Manager, have you checked under process? You can click on the CPU column header to sort from the top down. This should help you to begin to identify which takes up your box.

    I hope this helps.

  • What is the difference between write queries and written per second in vCOPs?

    I had on my farm performance problem, when I try to understand by vCOPs I noticed there are two similar measures write queries and writes per second.

    Do you know what is the different between the two measures?

    IO reqs vs real E/s is written. Reqs will be usually higher and includes administrative scsi commands. Written per second is closer to PAHO are / s.

  • Is it $167 per month and $1999 per year?  It seems overpriced.  I suspect that Adobe refers to a dollar and sixty-seven cents per month. Until it is clearly written, I've maybe wrong.  Where can I get clear unequivocal negative cost.

    Is it $167 per month and $1999 per year?  It seems overpriced.  I suspect that Adobe refers to a dollar and sixty-seven cents per month. Until it is clearly written, I've maybe wrong.  Where can I get clear clear of the cost?

    Adobe Creative Cloud prices are here

    Pricing plans and creative Cloud membership | Adobe Creative Cloud

    Adobe track & emission prices are here

    Send and track large files easily. Adobe Send & Track

    No shows the price you quoted so I wonder what page you read exactly?

  • What do you use for deploying Windows 7 64-bit Ent regarding vCPU and RAM in your environment?

    Hi guys,.

    In my environment, we are currently running Windows 7 Ent 64-bit with 2 x vCPU and 2.5 GB of RAM.

    Everything is working fine, but recently I just got a free health check of Xangati and would like to know if there is something I could do to improve the environment.

    Essentially according to the results of the audit, I learned that I could be more indicer CPU and RAM on my desk from view.

    My host is running 16 x 2.599 GHz CPU, and according to the report once I hit the hard desk with activities (CPU maxed out at 100% for about 15 minutes), it is said that the "CPU usage" hypervisor uses only 1.9 GHz top.

    This means that a 1 x vCPU is more than enough to handle our daily tasks, so I went down there to 1 vCPU and test it hard once again by Windows Update.

    Even if the use of the "processor" said again that I didn't not max at 2.599 but use the Windows processor is maxed out.

    For me, it's like doing an update of windows on 1 vCPU is slower than when I used 2 vCPU but according to numbers, it shouldn't.

    It was the same exact situation with the RAM.

    If I look in the Windows Task Manager, Windows RAM was maxed out almost when I was doing tests, but on the side of the hypervisor, it says I'm only averaging about 1.7 GB.

    So now I'm not sure what matrix that I should go. The windows or on the side hyper-visiere? Haha.

    If I followed the hyper-visiere, I get scared when their desktop view is slow, the user could come to me and ask for additional resources, because that's what they see in the Task Manager.

    It will be hard to convince them not to worry about what the Task Manager shows.

    Note: I have no problem with the data since all desktop computers store is located in the FusionIO card.

    Anyway, just want to see it as the Deputy there to use when they have configured their Windows 7 operating system.

    Are you visiting x 2 vCPU and 2 or 3 GB of RAM? Or you would follow instead indicating you the numbers of the hypervisor?

    What would you do?

    Thank you guys!

    I feel that it is something that must be determined on a case by case.    We started with 1 vCPU which works great for 95% of our users.    We have others that require more resources while they were transferred in a different pool with additional resources.    In addition, we found that 1 vCPU works well for most everything except the video.   If you want to play a lot of video you can test with 2 vCPU and see if that works better.

    In the end, it's all about what your user comments and should dictate.   You don't want to shake your users of the resources, because that will lead to the decline in performance and the bad perception but also be careful not to approve because they will lead to poor performance and a bad perception.    Once people get a negative perception of the environment, it is difficult to cross.

  • How do I dynamically change the the number of vCPU and amount of a virtual computer memory?

    Hi all

    My first question is how do I dynamically change the number of vCPU and amount of a computer virtual memory when the virtual machine is running? If so, this may be achieved by writing a few scrpits to inform the hypervisor?

    My second question is, I can start a virtual machine in KVM with the number of vCPUs and amount of memory configured in the startup script. I don't know if this is supported in vmware ESXi?

    I couldn't find the answer in the ESXi 5.0 user guide.

    Your suggestion will be highly appreciated.

    Cheng Wang

    http://sparrowangelstechnology.blogspot.com/2012/11/hot-add-of-CPU-and-memory-to-virtual.html

    You can change the ram and the CPU, but it must be enabled.

    by default, only it isn't.

    See this link to change the settings of vm via powercli

    http://ICT-freak.nl/2010/05/07/PowerCLI-script-to-schedule-memory-and-or-vCPU-updowngrade/

  • HOWTO retrieve info of socket/core per VM

    How can I get it back by VM

    number of virtual sockets

    Number of cores per socket

    total number of cores

    as the properties of the Virtual Machine

    Hello Fredlock,

    Get - vm testgk | Select name,@{N='Number of nuclei; E={$_. Extensiondata.Config.Hardware.NumCPU}}, @{N = "Cores per socket"; {E = {$_.extensiondata.config.hardware.NumCoresPerSocket}}, @{N = 'Number of Sockets'; E={$_. Extensiondata.Config.Hardware.NumCPU/$_.extensiondata.config.hardware.NumCoresPerSocket}}

    output

    Name number of hearts Corees by socket number of Sockets
    ----                            ---------------                   ----------------                            -----------------
    testgk                             8                                4                                            2

    This will generate the output for virtual machine called "testgk".

    If you want to do this for all the virtual machines in the CR:

    Get - vm | Select name,@{N='Number of nuclei; E={$_. Extensiondata.Config.Hardware.NumCPU}}, @{N = "Cores per socket"; {E = {$_.extensiondata.config.hardware.NumCoresPerSocket}}, @{N = 'Number of Sockets'; E={$_. Extensiondata.Config.Hardware.NumCPU/$_.extensiondata.config.hardware.NumCoresPerSocket}}

    Kind regards

    Greg

    Post edited by: Grzesiekk

Maybe you are looking for

  • Satellite M70-309: how to clean the LCD?

    Hello world! I have Satellite M70-309, so how do I clean finger LCD, dust, ecc... ? Thank you!

  • Cannot play DIVX

    Why my BDP-BX57 Blu - ray cannot read avi DIVX format, play only avi XVID format but model early as BX 37 can play DIVX?

  • my hp pavilion dv6 has an audio beats that has stopped working.

    Hello, I have a pavilion dv6 notebook pc and I have a problem with my audio beats, it had stopped working when I update my drivers software please help as soon as possible.

  • Active frame, the Splashscreen being thumbnailed-&gt; error

    Hi, I am adding active frame on my apps (dynamic image as a backdrop) It works well, but it has a problem: app still the splashscreen-> being thumbnailed-> (see only black)-> when tap in the foreground, near app. What could cause the problem? Thank y

  • Courses and non-traversal calls

    Hello Can someone explain in simple terms what are courses and non-traversal calls?, what is the difference? And also the VCS control below must traversal licenses? CTI-VCS-CONTRL-K9 Control of VCS Thanks in advance.