Get ID for the processor affinity vCPU!

Hello

While my reading (wisely understand possible case of the processor affinity), I cam cross vsish, the question is how to identify the logical processors belongs to the same taken as an example and get his number to be configured for the processor affinity.

This list is confusing bit source because there is no guide to how to use

All Configurations of VSISH - built on Mon 23 August 21:53:13 PDT 2010

But a few google took me here:

/ > cd/hardware/cpu.

Hardware/cpu/> cat/hardware/cpu/cpuInfo

{Global information CPU

Hyperthreading State: Hyperthreading State: 3-> active

State of State: HV HV: 3-> active HV

Number of packages: 2

Number of cores: 8

Number of CPUs (son): 16

Number of cores: 8 available under license

SLC64 of measure: 0

HV capable Replay: 1

First reason why playback is disabled on the host: why replay is disabled on the host: 0-> HV Replay is supported

Several reasons why replay is disabled on replay host: reason is disabled on the host: 0-> HV Replay is supported

---

Hardware/cpu/> cd/hardware/cpu/cpuList

/ hardware/cpu/cpuList / > ls

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

so:

* How do I know what CPU logic belong to what CPU and will be one of the useful information for NUMA or configuration of the processor affinity?

the question is to know how to identify the logical processors belongs to the same socket for example and get his number to be configured for the processor affinity.

You don't need to do this vsish, esxcli already provides this info.

The ID value of package tells you what physical socket the respective logical CPU belongs to:

# esxcli hardware cpu overall get

Packages of CPU: 2

CPU cores: 16

CPU Threads: 32

Hyperthreading Active: true

Hyperthreading supported: true

Hyperthreading Enabled: true

HV Support: 3

HV Capable Replay: true

HV Replay off the reasons:

list of UC # esxcli material

CPU:0

ID: 0

Identifier of the package: 0

Family: 6

Model: 45

Type: 0

Step by step: 7

Brand: GenuineIntel

Base speed: 1995191853

Bus speed: 99759598

APIC ID: 0X0

Node: 0

L2 Cache size: 262144

L2 Cache associativity: 8

L2 Cache line size: 64

L2 number of CPU for the Cache: 2

L3 Cache size: 20971520

L3 Cache associativity: 20

L3 Cache line size: 64

L3 Cache CPU Count: 2

[...]

Tags: VMware

Similar Questions

  • CPU Ready, the processor affinity, and why I don't seem to get the expected performance

    I have a host that is a physical 2 Quad core 2.66 Ghz socket with 10 GB of RAM.  3i ESX 3.5 is installed.  I have only 2 virtual machines on this computer.  Everyone has 4vCPU and 4 GB of RAM.

    When virtual machines are idle and the app is works not only I see low CPU utilization and CPU Ready is a modest 100-200 on each processor.  When the application is not running, the CPU usage rises to about 10,000 MHz as expected.   However, CPU Ready also climbs to 6000-9000ms, which is by FAR more than I expect.

    I have set the processor affinity for one of the virtual machines gets 0-3 and the other 4-7.

    Why CPU ready would be mounted so high?  With only these 2 VM I would expect ready to be almost 0 CPU.

    Remember however each VM has 4 vCPUs with your two virtual machines that you will use all 8 cores as well as the service (which is still running on cpu0) console and vmkernel so there will certainly be contention climb CPU ready time - first question do you really need quad vcpu? You can try a simple vcpu - if you need to start vSMP with dual vcpu virtual - also do NOT set affinity let the vmkernel annex vms approriately

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful

  • I don't get updates for the retina of my macbook pro 15 mid 2015 2.5 processors 16 g ram, last updated, I got was garage to April 8, may be there is no more updates at this time, but what made me think twice this app a player have updated when trigger

    I don't get updates for the retina of my macbook pro 15 mid 2015 2.5 processors 16 g ram, last updated, I got was garage to April 8, may be there is no more updates at this time, but what made me think twice as more than one reader app have update to search for the app store When news, nothing happened and onedrive will not be updated, and this dose of update does not appear in the section updates in the app store app

    any body can help?

    That's what I have in the last few weeks

    Make sure you have a good WiFi connection and are signed in iCloud / App Store

  • How to set the processor affinity and memory.

    We have explicit recommendations of our application provider to set the processor affinity for one of our virtual machines running their product. However, this process is not quite clear to me despite the available docs. We are company ESXi 5.1 more.

    By looking at the tab "resources" for the parameters of the virtual computer you see under CPU:

    Actions (I would do that quite high so that it never goes to confront other good?)

    Booking

    Limit

    The requirement is to set aside x cores for the virtual machine while it is never claim to waiting or resource. They would also potentially implement affinity memory related to the same socket for the effectiveness of the NUMA node.

    We have a host with 2 8-core processors with 256 GB of memory. I'm not worried about the affinity of memory. This should be as simple as the control that the 'reserve any memory comments' correct?

    Is it simpler just set up a pool of resources for cela CPU and memory? The only concern I have is it if the processor uses the same memory channels. We do not want a CPU into a socket using the channel memory of another plug for this virtual machine.

    And it's too late to go back to physics for this system.

    Eeghads! Just FYI, the processor affinity is almost never what a seller really wants, even if they think they do. I can imagine there are valid use cases, but I spoke with several vendors who recommend this, and they were all wrong.

    From what I understand in your summary, the application is sensitive to the latency of the CPU. If the physical compute capacity, actions and reservations will address the latency. Latency is the only reason why they want to set the affinity, or are there others? If there is other, know what they are, because there is a good chance to those who are also invalid reasons. The processor affinity tends to exacerbate the problems you're having with loans time CPU and can often cause latency application MORE CPU than that without it. Yes, you can set up reserves of CPU to address these issues for this particular virtual machine, but you made life more difficult for the CPU scheduler. DRS involved in the loan time CPU, which means she won't necessarily move these other virtual machines on this host, even if they are jointly stop like crazy. While we're on the subject, this virtual machine would need to be excluded from automatic DRS migration, since you cannot vMotion with the processor affinity configured. It also means the virtual machine must be powered whenever his current host goes into maintenance mode.

    In any case, verification 'reserve any memory comments' will not affect memory locality. Will just leave all the pages of virtual memory with physical memory pages (another side effect interesting is that creates the virtual machine is no longer a pagefile on the boot). If you REALLY have to set the affinity to the CPU/memory, memory affinity can be set by changing the settings of the VM, the tab "resources", select Advanced Memory, and you can configure NUMBER here. In addition, if you had already seen it, the processor affinity is configured in the tab "resources", under Advanced CPU.

    I highly recommend you challenge the seller and ask if reservations CPU are sufficient. The planner of UC is already aware NUMA. VCPUs how they ask, anyway? Unless they want to more than 8, it is unlikely to split the virtual machine.

  • "I get,' files for the recovery diskette can not be created ' and I can't save my PC

    When I try to back up my PC, I get "files for the recovery diskette could not be created" how to fix this?

    Hello

    This problem can occur because ASR is not supported in Windows XP Home Edition. However, users of Windows XP Home Edition can access the Recovery Wizard if they install the Ntbackup program in the Windows XP Home Edition CD-ROM Valueadd folder.

    See the steps listed in the article below and check
    An Error Message appears when you try to use the Automated System Recovery Wizard
    http://support.Microsoft.com/kb/302700

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Get errors for the user input data filter no KB 911895 HID

    OT: iI have windows xp S/P 3 installed also apple i pad I get errors for the user input data filter no KB 911895 HID
    What should I do to get rid of this popup that wizzard windows keeps giving me?

    Hi Graybeard,

    What is the exact error message you get?

    HID Non-User Input data filter is an optional update. I suggest you try the steps from the following link:

    The screen saver does not start after the installation of a wireless pointing device
    http://support.Microsoft.com/kb/913405

    What version of the operating system Windows am I running?
    http://Windows.Microsoft.com/en-us/Windows7/help/which-version-of-the-Windows-operating-system-am-i-running

    Troubleshooting Windows Update or Microsoft Update when you are repeatedly offered an update
    http://support.Microsoft.com/kb/910339

  • The processor affinity still works in the free version of ESXi 4?

    I have a small question: right now I'm playing the trial version of ESXi 4.0 and I also use the processor affinity.

    The processor affinity is always supported once the evaluation period has expired?

    Peet

    The processor affinity is available in the entire edition, but it will be disabled on a cluster of VMotion.

    André

  • After using the iphone app, I get error: "unable to get labels for the script.

    Hello

    I think that this is related to the iphone app for Adobe Story. I added some comments on my script using the application, now when I try and open my script, I get an error; "Unable to get labels for the script.

    I tried Internet Explorer 9 and the desktop application. Both produce the same error.

    The script is completed to 55 pages, so I really don't want to lose...

    Thank you

    Hi Chris,

    We have fixed the problem and shared the document with you back. You can accept the notification, copy the document into a new (to be an owner) and work on it now. Meanwhile, we will also investigate why the problem occurred at all.

    Sorry for the inconvinience.

    Kind regards

    Sunny

  • How can I get authorization for the Droid in the car at the root

    Tonight, I'm well been trying for three weeks to get rid of the intruders

    Sorry it's not related to Mozilla Firefox. We are not able to help rooting your phone.

  • Unable to get Patch for the video game.

    Ryan Brown Michael

    Hi Ryan,

    Here are the minimum system requirements for a computer to run Rise of Nations: Rise of Legends:

    • Microsoft Windows XP
    • A 1.4 gigahertz (GHz) processor
    • 256 megabytes (MB) of system RAM
    • A hard drive with at least 3.3 gigabytes (GB) of available space
    • A speed of 32 x CD player
    • A 64 MB video card compatible Hardware Transform and Lighting
    • A card sound and speakers or headphones
    • A Microsoft mouse or a compatible pointing device
    • A 56.6 kilobits per second (Kbps) or faster to play Internet connection online
    • DirectX 9 .0c

    You can use the DirectX Diagnostic tool to display information from the computer and verify that the computer meets the minimum required settings to run Rise of Nations: Rise of Legends. To do this, follow these steps:

    1. Click Start, click run, type dxdiag, and then click OK.
    2. On the System tab, view the processor and memory details.
    3. Click the view tab.
    4. In the device box, note the name of the video card and its approximate total memory.
    5. Click exit.

    For more information about the system requirements and compatibility, see:

    http://support.Microsoft.com/kb/917717

    If your system meets the minimum requirements for the game, I suggest you uninstall and reinstall the game, ensuring that you have the latest video drivers for your graphics card.

    Here is a link to increase Nations Center Solution:

    http://support.Microsoft.com/GP/cp_riseofnations_master#TAB0

    Dave D
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Could not get flow for the task setting

    When sending Document and trying to view documents in Worklits you get the following error:

    < error > < oracle.soa.services.workflow.worklist > < BEA-000000 > < < oracle.bpel.services.workflow.worklist.servlet.ADFAttachmentHelper.getTaskAttachment >

    Could not get the feed for the fixing of the task:


    This seems to have been a bug in earlier versions of Oracle BPM, but we receive it on 11.1.1.7

    Any idea of what this could be the cause?

    someone experienced a similar problem but solved bu, application of a patch

    ID 1453480 - someone who has experienced a similar problem, but was solved bu patch


    Thank you

    Full restart of the committed environmental issue

  • The use of Get - view instead of Get - VM for the advanced settings of a virtual computer

    I have a question in relation to the advanced settings of a virtual machine and using Get - view instead of Get - VM for this particular case:

    Get - VM * | Get-AdvancedSetting - name "scsi * sharing | Select the entity, Name, Value

    My idea is to use:

    Notice-EEG - ViewType VirtualMachine. Where {-not $_.} Config.Template} | Where {$_.} {Advanced.Setting - eq ' scsi * sharing "} | Select the entity, Name, Value

    but as far as I can see there is nothing for the advanced configuration of 'VirtualMachine' here: https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.powercli.cmdletref.doc%2FVirtualMachine.htm

    I also took a quick glance at https://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.vm.ConfigSpec.html , but I can't figure out how to use "extraConfig"in the script PowerCLI to extract this particular information for "Sharing of SCSI".»

    There is information how to use the API to add or change a computer virtual here .vmx file key advances: http://blogs.vmware.com/PowerCLI/2008/09/changing-vmx-fi.html but it is not clear to me how to use it just to extract information without changing what.

    Try like this

    foreach ($vm in (Get-View - ViewType VirtualMachine - property Name, Config.ExtraConfig - filter @{'Config.Template ' =' False'})) {}

    $vm. Config.ExtraConfig | where {$_.} Key - like "{scsi * sharing '} |"

    Select @{N = "VM"; E = {$vm. Name}},@{N='Template'; E = {$vm. Config.Template}}, Key, Value

    }

  • our company had Adobe CS 3, we ship adobe creative cloud member of more than 2 years now. How can I get credit for the existing customer.

    our company had Adobe CS 3, we ship adobe creative cloud member of more than 2 years now. But we must all credit for the existing customer.

    There is no current discount for loyal customers.  You must have missed the opportunity to get a discount at the end of May.  Before that if you were an owner of Creative Suite, you can get the first year at a reduced rate.

  • ESX3.5 How do you set the processor affinity?

    Hi, runs 3.5 in a cluster DRS HA.  You can set the processor to a virtual computer affinity?  If so, how?

    Thank you

    not sure but if your using the drs and the VM moves his he loses affinity setting, I'll check, but I think that's conducive HA or DRS greays on the affinity option... Please confirm the guy

  • Get dates for the Monday of the week of the year for 3 years

    I try to get the dates for on Monday for the last 3 years.

    I am currently using a query that does not provide the correct results. I tried to format it with IW and WW for the week.

    Y at - it an easy way to get the list of dates every Monday beginning in 2007.

    Best regards
    Sumit.
    select  trunc(date '2006-12-31','iw') + 7 * level monday
      from  dual
      connect by trunc(date '2006-12-31','iw') + 7 * level <= sysdate
      order by level
    /
    
    MONDAY
    ---------
    01-JAN-07
    08-JAN-07
    15-JAN-07
    22-JAN-07
    29-JAN-07
    05-FEB-07
    12-FEB-07
    19-FEB-07
    26-FEB-07
    05-MAR-07
    12-MAR-07
    
    MONDAY
    ---------
    19-MAR-07
    26-MAR-07
    02-APR-07
    09-APR-07
    16-APR-07
    23-APR-07
    30-APR-07
    07-MAY-07
    14-MAY-07
    21-MAY-07
    28-MAY-07
    
    MONDAY
    ---------
    04-JUN-07
    11-JUN-07
    18-JUN-07
    25-JUN-07
    .
    .
    .
    

    SY.

Maybe you are looking for