VSMP: Using Affinity and allocation of resources to evade planning issues

Hi all

I just read upwards in the http://communities.VMware.com/docs/doc-4960 about scheduling and I was wondering if set the processor affinity and allocation of CPU resources would be to circumvent the problems associated with the coscheduling. It seems to me the Scheduler would not decide what hearts to use and would be guaranteed resources on them, is that the case?

Tom

You decide what core use, but are no guarantee of resources on this topic.  Instead, you could hinder the efforts of ESX coscheduling itself, and if you have multiple virtual machines, then your server will actually last less efficiently than if left to its own devices.  Also, this will cause problems if you try to implement vMotion/DRS, affinity which would cause problems here.  Use the affinity with caution, it can help in some scenarios, but should be the exception and not the norm.

-KjB

VMware vExpert

Tags: VMware

Similar Questions

  • I take a class Photo 110 and we use Bridge and Photoshop. Is there a plan that encompasses these two?

    So far, that's all we need... I'm just trying to find something at a reasonable price.

    Cloud Plans https://creative.adobe.com/plans

    -Special photography Plan includes Photoshop & Lightroom and Bridge & Mobile Lightroom

  • VM will use only 50% of the resources allocated vCPU

    I have a windows 2008 64 bit VM with 4 vCPU who seems to never use up to 50% of the handsets of CPU resources. Each CPU seems to be well balanced, but will never go beyond 50%. I do not see and as for example allocation of resources, limiting the amount of CPU that is given. I use this virtual machine on a dedicated v4.1 ESXi host.  Doesn't seem to be any challenge. Any ideas why it seems to be limited to only 50% of the available CPU? There is no other virtual computer running on this host at this point...

    Doesn't seem to be any challenge. Any ideas why it seems to be limited to only 50% of the available CPU?

    Now, you see one of the MANY reasons for which multi CPU VM are a WASTE!  This is what we are trying to illustrate them, thanks to prove our point!

    It is applications that drive CPU, if the applications are not multi threaded or SMP, you cannot take advantage of the CPU unless APPS are SPECIFICALLY written for her.

    In a virtual machine, it did a great job to demonstrate how inept apps really are...

  • Allocation of resources to the virtual machine over time

    I took trying to graph on the planning capacity in time for our clusters.

    Allowance only for the time being, use maybe later. Try trend how we allocate vms (spikes).

    I care about the elements are:

    Physics: Amount of processors in cluster, physical amount of RAM in the cluster - Total (at some point? don't think it's possible, but it would be nice)

    This part is less of a problem, I have something that works for this.

    Virtual: amount of virtual processors, RAM allocated - Total for each month

    The code has been changed on this topic (thanks, LucD!) and even more of various other segemnts.

    This makes me a nice referential list created of the time to work with:

    $SQLSERVER="MYSQLSERVER"
    $Database="VCDB"
     
    $SqlConnection = New-Object System.Data.SqlClient.SqlConnection
    $SqlConnection.ConnectionString = "Server=$SQLSERVER;Database=$DATABASE;Integrated Security=True"
     
    $SqlCmd = New-Object System.Data.SqlClient.SqlCommand
     
    $SqlCmd.CommandText = "select distinct lower(vm_name) AS vm_name, max(create_time) as create_time " +
                             "from VPX_EVENT " +
                             "where     (event_type like '%.VmCreatedEvent' or " +
                             "          event_type like '%.VMClonedEvent' or " +
                             "          event_type like '%.VMRegisteredEvent') " +
                             "group by vm_name"
    $SqlCmd.Connection = $SqlConnection
     
    $SqlAdapter = New-Object System.Data.SqlClient.SqlDataAdapter
    $SqlAdapter.SelectCommand = $SqlCmd
     
    $DataSet = New-Object System.Data.DataSet
    $SqlAdapter.Fill($DataSet)
    $SqlConnection.Close()
    $DataSet.Tables[0] | Export-Csv c:\vm_create-list.csv -NoTypeInformation
    

    Now that there is a file with the dates, I can use to reach the given date to an allocation of resources aspect:

    $creationtimes = Import-Csv 'c:\vm_create-list.csv'
    
    $realvms = Get-View -ViewType "VirtualMachine"
    
    $myCol = @()
    
    foreach ($item in $realvms) {
         
         $Row = "" | Select-Object CreationTime, NumCPU, MemoryMB
         
         $Row.NumCpu = $item.Config.Hardware.NumCPU
         $Row.MemoryMB = $item.Config.Hardware.MemoryMB
         
         $createtime = $creationtimes | ? {$_.vm_name -match $item.Name} | Select-Object create_time
         if ( $createtime.create_time -eq $null ) {
              # for VMs that exists but db has pruned data, lump into single date
              $Row.CreationTime = [datetime]'12/01/2007 00:00:00 AM'
         } else {
              $Row.CreationTime = [datetime]$createtime.create_time
         }
         
         $myCol += $Row
         }
    
    $myCol = $myCol | Sort CreationTime
    

    This leaves me with a picture of the beautiful collection of dates, number of cpu and the size of the ram.

    I am stuck now trying this summary by calendar month - output something like:

    month,numcpu,memorymb,numOfVMs
    2009-10,2,8192,1
    2009-11,3,12228,2
    2009-12,1,4096,1
    

    In order ultimate spill in tables and graphics with ceilings determined at the time of the first

    I realize that there is probably a way to bind the SQL query method as well and pull it all together in a script. No idea how to transform the DataSet that is returned to a Collection of usable objects.

    Unless someone out there has a great way to draw growth VM distribution over time?

    The Group-Object cmdlet can take more than 1 property group

    Something like that

    $mReport = @()
    $groups = $myCol | Group-Object -Property {$_.Date.Year, $_.Date.Month}
    ...
    
  • How to run VI in the background and save system resources

    Hello

    I want to develop an application (pc, windows 7) that checks the line port DSR series every 100 MS basically, I know how to create a VI that works with serial ports using VISA drivers. My request or my VI must be invisible to the user, and a variable DSR everytime level incrementing counter is high.

    What is the best way to create a VI that runs in the background (invisible to the user, not even shown minimized in the taskbar). Given that the application needs to run most of the time, when the pc is running, I don't want to use too much computer resources (cpu, memory on an average desktop pc). The user should be able to work with other applications like ms office, during execution of the VI in the background.

    LabVIEW is appropriate create a background VI which periodically checks the serial port and consumes system resources minimum or are languages like c ++ much better suited to save system resources? What is the best way to create an invisible VI that is running in the background?

    Thank you very much for your help!

    Tom

    On any modern hardware, the difference in the use of resources among a LabVIEW application and written in C++ for a simple task like this will be minimal. Anyway that you use a fraction of the time CPU available if the application is written correctly.

    To run an invisible VI in the background, see user-defined execution of a LabVIEW Application as Windows Service.

  • While using Windows Media Gallery, error message, the component you are trying to use is on a network resource that is unavaialble

    I used to get jump up while working on my system. Details of the pop up windows:

    «Pl waiting windows configures media gallery»

    If I have to cancel this once again it displays:

    "The feature you are trying to use is on a network resource that is unavaialble.

    -Click ok to try again or enter a different path to the folder that contains the installationpackage M.G. modulesX64.msi in the box below

    -c:\users\admin~1\appdata\local\temp\{2ACCE2B2-D3EF-430A-B766-8EA930489CCE}\{DD88F979-FA58-41AC-980-A6E1A82B61D9}\

    -An installation package for the product M.G. cannot be found. Try the installation again using a copy valid x 64 MSI installation package M.G. merge module.

    I already uninstalled the program Gallery media still the problem persists.

    Pl help.

    original title: how to block pop-ups «pl waiting windows configures media gallery»

    Hi Rajazc,

    It seems that the location that the software will search in the installation file has changed or disappeared. You can follow this path that he needs? When you re-installed, did you use the same exact path? You completely uninstall before you try to reinstall? Try this: uninstall the software, do a clean boot, and then reinstall making sure that you set in a different way.

    Here is a link that has a portico on the issue that you are running in (just another program) to watch what you deal with:

    http://support.Microsoft.com/kb/828376
    hope this helps,
    B Eddie

  • When I try to install Java this is the message I get: the component that you are trying to use is on a network resource that is unavailable.

    When I try to install java, I get this message:

    The feature you are trying to use is on a network resource that is unavailable.

    Installation source is not available.

    I need 'jre1.6.0_20 - c'.msi Ow I get it.

    Thank you

    You have completelly wipe JAVA computer, so:

    (1) download and install the utility Windows Install CleanUp. Microsoft collapsed to bear so a enter here:

    http://www.Softpedia.com/get/security/secure-cleaning/Windows-Installer-Cleanup-utility.shtml

    (2) run this utility and uninstall everything on JAVA (works fine even for other applications)

    (3) manually remove HIDDEN directory C:\Documents and settings\your_username\application data\sun\java

    (4) download and install the latest version of JAVA

    BTW: folder jre1.6.0_20 - c.msi can be found on the following links, but it does´nt work in any case...

    http://SDLC-ESD.Sun.com/ESD6/JSCDL/JRE/6u20-B74/JRE/jre1.6.0_20-c.msi
    http://sunmicro.DL.llnw.NET/u/ESD6/JSCDL/JRE/6u20-B74/JRE/jre1.6.0_20-c.msi

  • Update of the Slverlight 5. Error message: the component that you are trying to use is on a network resource that is unavailable.

    Original title: Slverlight 5 update?

    I try to install llatest update of silverlight, but get a message "the feature you are trying to use is on a network resource that is unavailable" I already uninstalled the previous version of silverlight, run an analysis of csm who said no problems.  Can anyone help please

    Hello

    (1) you receive an error code?

    (2) you are facing problems with the download of other updates?

    See the link below:

    How to clean a facility damaged Silverlight and then reinstall Silverlight

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

    Note: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: 322756 (http://support.microsoft.com/kb/322756 /) how to back up and restore the registry in Windows.

  • "files and printers, sharing resource is online but does not respond to connection attempts."

    I just got a HP Pavilion dm4-2180us running W 7 Home Premium which does not connect to other computers on my network, or residential group. I get the message "files and printers, sharing resource is online but does not respond to attempts at connection." and the path not found error code. All other 3 computers recognize and connect to the network with no probems, including an another Dell Inspiron also running the same version of 7 W bought the same month as this HP! I tried to launch the troubleshooting tool and even restore the computer to its orignal State; It woud work for a few days, then would not connect or recognize the other computers on the network.

    Help, please!

    A N T

    Hello Dynotnt,

    Follow the suggestions below for a possible solution:

    Method 1: I suggest you perform the clean boot and check.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

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

     

    Note: After troubleshooting, be sure to configure the computer to start as usual as mentioned in step 7 in the above article.

    Method 2: If the method above does not help, then you can run the network troubleshooter and see if it can detect and correct the problem.

    Using the troubleshooter from network in Windows 7

    http://Windows.Microsoft.com/en-us/Windows7/using-the-network-troubleshooter-in-Windows-7

    I hope this helps.

  • How can I display several rows using Horizonatal and vertical field Manager

    Hello

    can someone tell me how I can layout my screen using HorizonatalFieldManager and VerticalFieldManager.

    I want to display the image and text as below:

    Image1 Text1

    Image2 Text2

    image3 Text3

    I have try several times but she can throw the exception of unacaught,.

    can u give me some examples like him.

    I also store image by default when the url does not contain any image

    It works with FlowField but it see as below:

    image1 image2 Text2 Text1

    image3, image4 Text4 Text3

    I don't want to, I want to show as first mention.

    now I work at bb jde 4.6 and I want to support 4.6 and later

    (1) are you IllegalStateException? It's normal if you try to manipulate anything on the screen of a non-event thread stack. If it is another exception, display the details here.

    (2) for your layout, you need a separate HFM for each pair of text-image. Like this:

    VerticalFieldManager vfm = new VerticalFieldManager(VERTICAL_SCROLL ...);
    for (i = 0; i < length; ++i) {
      HorizontalFieldManager hfm = new HorizontalFieldManager();
      hfm.add(new Label(text[i]));
      hfm.add(new BitmapField(image[i]));
      vfm.add(hfm);
    }
    add(vfm);
    

    If you add all of this to a screen with "no argument" constructor (there VERTICAL_SCROLL by default), you can ignore the optimization of resources and add your HFMs directly on-screen.

  • Error "the component you are trying to use is on a network resource that is unavailable, click ok to try again or enter a different path to the folder containing the installation package ' status.msi.»

    What is an installation package "status.msi", it doesn't let me access my command to scan on my HP officejetJ5780 all-in-one.  It indicates that the component you are trying to use is on a network resource that is unavailable, click ok to try again or enter a different path to the folder containing the installation package ' status.msi.  It's also prevents me to access my backup disk.

    Original title: status.msi?

    I restored my computer to a period of time, two weeks earlier and which seem to fix the problem, somehow.   Thank you

  • Can I use the total amount of resources (cpu/ram) of two esxi hosts if I place a cluster so that a single VM gets all resources?

    I use vCenter 5.1 with two esxi 5 guests, both exactly the same (Evga SR - 2 pc with two Intel x 5670 each) with the exception of the disk storage. Processor x 5670 a 12 hearts if HT is enabled. Since then, I have 4 of these processors that would be 48 cores. Each processor is clocked at 4 GHz for a total of 16 GHz. Each host would also 24GO of total Yes 48 GB of ram.

    I doubt that this is possible, but what I want to do is to install a virtual machine like Win 7 x 64 and give all these resources to it... all of them (perhaps leave some carrots and ram aside for guests of esxi, of course). This vm is run to 16 GHz? It would be nice if we could create a cluster with a Setup like this and give the "total available resources' for a single virtual machine running on a esxi host.

    I doubt that this is possible because I've tried that before and it wouldn't let me create a virtual machine with this number of nuclei or ram because he said that they were not available or something... as if to suggest that I can only use the total amount of resources to AN esxi host.

    There may be another way I could give this 16 GHz machine?

    Could not assign more resources to a host to a virtual computer.

  • Can I disable creative start-up Cloud.exe and always use Lightroom and Photoshop based subscriptions?

    Can I disable creative start-up Cloud.exe and always use Lightroom and Photoshop based subscriptions? It is constantly running and chew my CPU resources.

    Hello

    Yes. You can check the option do not launch the application of the preferences option.

    Kind regards

    Sheena

  • Management of VMs: Which one to use, "hosts and Clusters" or "models and virtual computers.

    Hi all

    As the subject says, when you manage virtual machines, which is better to use? Hosts and Clusters? Models and virtual computers?

    It's our facility:

    Previously we had only been using "Hosts and Clusters" manage all of our virtual machines. We organize objects of the individual within vApps and Resource Pools. We had also installation on these both parent objects permissions for who has access to what.

    Basically, we have about 12 members. Everyone has their own virtual machines that they use for training, etc. We manage centralized via AD with users and groups user access. We also have some users assigned to some hosts to maintain the level of things between the two hosts. Our license does not DRS, BTW.

    I just replaced our server vCenter in preparation for our 4.1 vSphere upgrade later this year, Yes, we are on vSphere 4.0 currently. So I went ahead and 'computers models and virtual"allowing to create user folders, gave users access and placed virtual machines of all users within these folders. (I heard recently that the use of the hosts and Clusters was semantically incorrect). Even if they have access to their folder, they cannot create a virtual machine because they cannot access a host. A computer file virtual and models can be assigned to a host?

    I didn't assign permissions to each user in order to add to each host, because I didn't want others to mess with other virtual machines. All users previously red access only, but sinc the virtual machines and templates folders are not assigned to any host, they can get in their folder to create and manage their virtual machines.

    Then, I go on this wrong all the models and virtual computers and do I just keep using our hosts and Clusters of installation above permissions groups?

    Any advice on the semantics in this would be appreciated.

    Thank you

    Johnathan

    All,

    I solved my problems.

    Check book Scott Lowes ' Mastering VMware vSphere 4 "Chapter 9, he described the use of Resource Pools to the VM group under the view of the hosts & Clusters. Using the same names as the files under VMs & models and adding the same permissions, I was able to force every user to use their own folder under VMs & templates and only their Resource Pool under hosts & Clusters. So now the two views reflect the objects of each user and their access controls are correct.

    Items to remove this Lessines:

    Use Of Resource Pools under host & Clusters to manage the default host for users.

    Files under VMs & models allows you to manage virtual machines model announcement for each user (simple view).

    Thanks for the help,

    Johnathan

  • Allocation of resources for ESXi v5.1 host host-level default system?

    Someone could you please do me a favor and let me know what that the settings default for a host of v5.1 ESXi for Allocation of resources for the system at the host level? I messed them up and am not sure of the default values.

    Thank you!

    The default settings system resource allocation for a host in ESXi 5.1 are:

    CPU: 280 MHz

    RAM memory: 0 MB

    For more information, see the screenshot.

Maybe you are looking for

  • iMac, set up or office put in place

    Currently, I have a Macbook pro that I do most of my work on. I just got a promotion at work and will take care of the House a lot more. I was going to buy the iMac 27-inch with retina display 5 k as well as the Apple thunderbolt display monitor. I t

  • Question on the working time of the ASP in Africa is Uganda?

    Hi, I bought all new laptop m70-340 from Dubai two months ago. a display driver factory default. Taken to ASP in Africa is Uganda. It's been four weeks. Other Toshiba dealers and sellers give back 1 year warranty of basic, but FSA not Givin not a cle

  • K4 supports micro SDHC?

    I know that this note of K4 have memory card external slot - which is micro SD My question is, it does not support micro SDHC cards? Welcoming with satisfaction the responses. Thank you

  • G7-1310us Pavilion: touchpad gets frozen for 3 seconds after the use of the keyboard

    I use my laptop in my class of coding and programming.  The problem is related to the touch pad.  It works but for some reason when I use the keyboard (just by pressing a key will do) it locks the key for three seconds. can you help me with?

  • The printer connection

    I have a hp deskjet 1000 series printer that I had on my old dell computer, I want to connect to it what are the measures to be taken, please help thanks joanne