Pinning physical CPU cores for VMs

Hi all,
Let's assume we have OVM Server pool on two-node Dell R900 Hosts, FC switches and SAN. One server is acting as the Server Pool Master and Utilty Server, as well as the OVM Server. The other Dell R900 server acts as the OVM Server. Both Dell servers have two quad-core processors and are configured as active/passive. VMs are meant to be on SAN but will need memory and CPU from the phyisical servers in two-node Dell r900 hosts.
Is it possible to specify cores for the first VM as cpus='0,1,2,3' and the second VM as cpus='4,5,6,7' in both vm.cfg to avoid the situation when they will both use the same first four cores on the same phyisical server? I know it is more expensive lto use all 8 cores but is inevitable since the two applications in two VMs will need a lot of processing power.
What would be your recommendation how to configure vm.cfg and cpus parameter for two different VMs?
Cheers,
Andrei

I am in a very similar position where we have 2 CPU license for Oracle DB. I would like to use this to run two separate databases on separate OS instances. One will be an OBIEE database and the other will be an Oracle Retail database. I'd like to assign both guests CPU 0,1,2,3 and let them share the CPU resources but I don't know if you can do that with "Hard Partitioning".
Interesting side note - since the servers I bought are running the Intel X5680 CPU's they have the new style Nehalem hyperthreading. This means that on my 2 socket server I have a total of 12 CPU cores (six core CPU's) and each core has two threads. This shows up as 24 CPU's on the Oracle VM server. If I read the licensing correctly I can run my 2 CPU's on 4 cores which means I should be able to assign 8 CPU instances and meet the database CPU licencing requirements - RIGHT?! - thoughts?

Similar Messages

  • 4 virtual CPUs are how much physical CPU core

    Hi Everybody,
    I've two VMs with 4 VCPU per VM.
    First VM is created on VMware the second VM is on Oracle Virtual Server 3.1.1.
    The VMware server is on the same HW architecture as Oracle VM Server (two blade as twins).
    I've created Oracle database server 11gR2 on both VM.
    The Enterprise Manager Cloud Control "Database - Performance Home" page shows 4 CPU Cores in case of VMware VM,
    but only 1 CPU Core in case of Oracle VM.
    I'd like to understand why.
    Help me please.
    Regards,
    Battila

    Did you set processors and the max processors the same on the VM guests?
    One CPU is one CPU core. If you do not use CPU pinning..... CPU core allocation is load balanced across all cores in the system. When you use CPU pinning. (Which you must do in a oracle database to adhere to licensing requirements where they apply) CPU cores are dedicated to the VM guest and not load balanced. You can overcommit CPU resources in Oracle VM. In other words. You can set max CPU across all VM guests on a single VM server to be greater than the total amount of CPU cores available in the system. Check out article 464754.1

  • What is the optimum number of CPU cores for Photoshop CC?

    The title is the question.

    To reinforce what Chris has said, keep in mind there's only one processor package in the new Mac Pro.  There are cases where having two packages - such as in the previous design Mac Pro with dual Xeon x5600 series processors - can actually be a pretty big advantage.
    That being said, I've put a lot of thought into how many cores a new Mac Pro ought to be configured with to run graphics software well, and I've come to the thought that 4 is too few and 12 is way too many.  I believe the 3.5 GHz 6 core E5-1650v2 may actually have a slight edge over the 8 core E5-2667v2, because with 12 logical Ivy Bridge processors cranking full-on (with Hyperthreading) the memory bandwidth is actually already going to be taxed.  And of course the 6 core is much cheaper.
    There's a nice little Photoshop benchmark that's reasonably indicative of how well a system actually multithreads with Photoshop.  It can be found here:
    http://ksimonian.com/Blog/2010/02/24/improved-photoshop-benchmark-cpu-speed-test-for-both- mac-pc-free-radial-blur-filter-test/
    I have a PC workstation with the same chipset as the pre-cylinder Mac Pro (dual Xeon x5690s in my case), and my best speed for that benchmark with Photoshop CC equals the best posted on that site:  8.3 seconds.  People are reporting the new Mac Pro is scoring with that benchmark in the same vicinity - but not really faster.
    Do some research yourself and see what various folks with the new cylindrical Mac Pro are scoring on that benchmark.  I'd be interested to hear if your findings are like mine.
    What's your system score, Chris?
    -Noel

  • Rendering Required Files pins single CPU core

    A feature request has been submitted. I'm posting to forum so to show screen-cap of unbalanced CPU load. With CC 7.1.0 it can sit like this for an hour. Better than CS6, it used to take a full day.
    Happens when switching to a not-recently-played sequence. Please parallelize it to use multiple cores, so I don't have to wait as long.
    This is important because it is still one of the biggest bottlenecks. I have a very fast system. 64GB RAM. Lots of cache space on drives. I can't throw money at this problem, only Adobe can solve it.
    Am posting this right now becuase... I'm waiting on PPro. Guess it is the best use of my time?

    PPro preforms really well for me (generally). This is the moment when PPro is presumeably rendering audio? Next time it comes up I'll just try copying the sequence and deleting all the video content from the sequence leaving audio.
    I don't think it is an effect. Just something to do with having audio ready to play when I hit spacebar. But I'll confirm this by purging the video component.

  • MSI's Unlock CPU Core Technology

    Core unlocking of AMD processor has been a very hot topic of forum discussion. The possibility of spending a mere $100 dollars for a Phenom II X2/X3 CPU and unlocking the disabled cores to yield a $200 dollars Phenom II X4 is exactly like the goal of every overclocker around .Due to this demand, MSI official introduce the exclusive technology of Unlock CPU Core.
    MSI’s Unlock CPU Core technology became available with the introduction of AMD Phenom II CPU series. No matter dual-core, triple-core or quad-core, all fall into the same series, and the only difference in number of cores is the difference in normal operation. However, MSI has since offered a BIOS capable of taking advantage of the Unlock CPU Core ability in order to offer its customers an even better user experience. Simply by enabling the related function, users can easily activate concealed core(s). Additionally, in order to prevent any instability from activating the concealed core, MSI’s Unlock CPU Core technology can be turned both off and on, so the user can decide whether to overclock a single-core or run a multi-core setup.
    [The Benefit of Unlock CPU Core]
    • With the same price, one can get an even better performance
    • The cost-performance ratio instantly increases 70% at least.
    • Just turn on this function, unlock CPU Core for freely
    [How to Use MSI's Unlock CPU Core Technology]
    STEP 1: Enter the Cell Menu option list in the BIOS
    STEP 2: Enable the Unlock CPU Core function
    STEP 3: Enable the ACC (Advanced Clock Calibration) function, and, at this time, you will see the originally two core list will become a four core list with the options of enabling/disabling any of Core 2
    At this time, though Core 1 cannot be disabled, all other cores have the options of being enabled/disabled, but should any of the cores be unstable, the user may be unable to start his/her O/S, and the system may even crash.
    STEP 5: If the cores are unlocked successfully, the user may try entering the system information and discover that what was first a dual-core CPU has grown to a quad-core , and the performance has highly increased.
    [Applied Model]

    Quote from: Bas on 12-November-09, 01:04:39
    Could be the option is missing because your CPU hasn't got a 4th core?
    I don't know, just guessing.
    Im not sure either, but there are reports outthere that say that AMD is lasercutting the extra cores on the X2/X3 range, because of the unlocking of them.
    So they physically remove any connections to other cores or the core itself and thus you cant unlock it, cause they rendered it useless and/or its not there anymore.
    This has to do with the fact that most of the cores that are disabled are flawed.
    Dunno if thats the case with your for sure though, you might get lucky and get the extra core to run, but there is NO guarantee it will work flawlessly.

  • Does SL really utilize both CPU cores?

    I've been wondering about the 32/64 bit and multi-core technologies. So we've had the availability of 64bit technology for over two years, yet the new O/S only now exploits 64bit technology. I ran multiple tasks; video, internet speed tests, etc. and monitored via Activity Monitor. It didn't seem to me SL uses both cores independently. Does anyone know if SL uses both CPU cores for multiple independent tasks or processes?

    To All,
    I would like to add an addendum to Edmund's latest post, as quoted below. This will, perhaps, illuminate what will occur now, and the possibilities for the near future...
    2) as pointed out by someone else if app used Grand Central services. Can't imagine many do yet.
    Again keep in mind MULTIPLE apps, even if single threaded, will be assigned to balance out core/CPU loads. And the kernel/OS itself will use the multiple cores for various services used by the applications.
    This is all true, and I would like to highlight that no third-party applications yet take advantage of GCD (none of which I am aware).
    However, we can almost certainly assume that many of the underlying components of SL, and probably all of those newly "Cocoa-ized" SL applications (including the Finder) will be taking advantage of Grand Central. The benefits will apply directly to all the "native" processes, and will carry over to third-party processes even if only by virtue of the native ones "getting out of the way."
    If you have 3 single-threaded processes actively consuming CPU cycles, and you have two cores, the ability to "packetize" and dynamically dispatch even one of them allows the other two to be handled more efficiently and smoothly.
    We haven't even started mentioning OpenCL. This is still waiting in the wings, for the most part, but what I have seen so far is... almost shocking. There are a few rudimentary "benchmark" apps floating about that do use OpenCL (all command line), and what they show is that my 8600M GT will complete in less than 2 seconds a "general computing" calculation that it takes my 2.5 GHz "Penryn" CPU 14 seconds to complete (using both cores!).
    So, the question becomes: "How much of Snow Leopard is taking advantage of OpenCL?" I think none of it. Not yet. Whether or not we begin to see the leveraging of OpenCL in updates to SL remains to be seen. Let's not step over the line with speculation, here
    Scott

  • How to define CPU sets for different hardware cores?

    We're doing a small benchmarking research on parallel benefits of Niagaras, and as one part of
    the research, we want to find out whether there are performance differences between hardware
    CPU cores and strands within a core. From theory, only one strand of a core is executing at any
    given moment, others are "parked" while waiting for IO, RAM, etc. So it may be possible to see
    some difference between a program running with 4-processor "pset"s, i.e. 4 strands of one core
    and 4 separate cores.
    While I can use psrset or poolcfg/pooladm to create and bind actual processor sets consisting
    of a number of processors, I have some trouble determining which of the 32 CPU "id numbers"
    belong to which hardware core.
    On a side note, an X4600 server with two boards lists 4 "Dual-Core AMD Opteron(tm) Processor
    8218 CPU #" entries in prtdiag, but 8 "cpu (driver not attached)" entries in prtconf, and
    Solaris recognizes 8 processors in pooladm. Again, there's no clue which of these 8 processor
    cores belongs to which socket, and this information could be important (or at least interesting)
    for SMP vs. NUMA comparison within otherwise the same platform.
    So far the nearest ideas I got were from some blog posts about pooladm which suggested to
    make a CPU set for a worker zone with CPU IDs 0-28, and moving hardware interrupts to CPU
    IDs 29-31. I could not determine whether these are single strands of separate cores, or 3 of 4
    strands on a single core, or some random 3 strands how-ever Solaris pleases to affine them?
    Is this a list defined somewhere (i.e. IDs 0-3 belong to core 0, IDs 4-7 belong to core 1 and so
    on, according to Document X) or can this be determined at runtime (prtdiag/prtconf)?
    Is this a fixed list or can the "strand number-CPU core" relations change over time/reboots?
    Perhaps, does Solaris or underlying hardware deliberately hide this knowledge from the OS
    administrators/users (if so, what is the rationale)?
    Finally, am I correct to believe I can place specific CPU IDs into specific psets via pooladm?
    Looking at /etc/pooladm.conf I think this is true (the default pool lists all CPU IDs of the
    system), but wanted some solid confirmation :)
    Thanks for any ideas,
    //Jim

    A Sun Fire E2900 with 4 dual-core UltraSPARC-IV chips:
    # prtdiag
    System Configuration: Sun Microsystems  sun4u Sun Fire E2900
    System clock frequency: 150 MHZ
    Memory size: 16GB      
    ====================================== CPUs ======================================
                   E$          CPU                  CPU
    CPU      Freq      Size        Implementation       Mask    Status      Location
      0,512  1350 MHz  16MB        SUNW,UltraSPARC-IV    3.1    on-line     SB0/P0
      1,513  1350 MHz  16MB        SUNW,UltraSPARC-IV    3.1    on-line     SB0/P1
      2,514  1350 MHz  16MB        SUNW,UltraSPARC-IV    3.1    on-line     SB0/P2
      3,515  1350 MHz  16MB        SUNW,UltraSPARC-IV    3.1    on-line     SB0/P3
    # psrinfo -p -v
    The physical processor has 2 virtual processors (0 512)
      UltraSPARC-IV (portid 0 impl 0x18 ver 0x31 clock 1350 MHz)
    The physical processor has 2 virtual processors (1 513)
      UltraSPARC-IV (portid 1 impl 0x18 ver 0x31 clock 1350 MHz)
    The physical processor has 2 virtual processors (2 514)
      UltraSPARC-IV (portid 2 impl 0x18 ver 0x31 clock 1350 MHz)
    The physical processor has 2 virtual processors (3 515)
      UltraSPARC-IV (portid 3 impl 0x18 ver 0x31 clock 1350 MHz)
    # prtconf | grep cpu
                cpu (driver not attached)
                cpu (driver not attached)
                cpu (driver not attached)
                cpu (driver not attached)
                cpu (driver not attached)
                cpu (driver not attached)
                cpu (driver not attached)
                cpu (driver not attached)A 6-core single-T1 Sun Fire T2000:
    # prtdiag
    System Configuration:  Sun Microsystems  sun4v Sun Fire T200
    System clock frequency: 200 MHz
    Memory size: 8184 Megabytes
    ========================= CPUs ===============================================
                                CPU                 CPU 
    Location     CPU   Freq     Implementation      Mask
    MB/CMP0/P0   0     1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P1   1     1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P2   2     1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P3   3     1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P4   4     1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P5   5     1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P6   6     1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P7   7     1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P8   8     1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P9   9     1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P10  10    1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P11  11    1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P12  12    1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P13  13    1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P14  14    1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P15  15    1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P16  16    1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P17  17    1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P18  18    1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P19  19    1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P20  20    1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P21  21    1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P22  22    1000 MHz SUNW,UltraSPARC-T1          
    MB/CMP0/P23  23    1000 MHz SUNW,UltraSPARC-T1    
    # psrinfo -p -v
    The physical processor has 24 virtual processors (0-23)
      UltraSPARC-T1 (cpuid 0 clock 1000 MHz)
    # prtconf | grep cpu
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)//Jim

  • Physical cpu to virtual cpu ratio for LYNC 2013 FE

    what
    should be the physical cpu to virtual cpu ratio for LYNC 2013 FE and Edge server, it is same like exchange 1:1 ?

    Putting this here as well:
    I don't believe this is documented anywhere.   I typically see 6 cores, but I've run with 4 or 8 but in the end it's all about watching performance.
    System Center Advisory for Lync can complain if it's not at least 8.
    http://support.microsoft.com/kb/2877496
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications

  • How to calcuate how much cpu/cores needed for an amalgamation of databases on a single instance

    Hi all, We have been given a project of producing a high level hardware spec for a new oracle linux server that would be an amalgamation of our current 5 windows servers all running Oracle 11203 Windows 2008 r2. All our windows boxes are Intel dual core with 12 cores each. My question is how to measure how much cpu is our current each oracle database is using to determine the min cpu/cores required for the new linux box? Hope i make sense. Thanks!

    Snap Id
    Snap Time
    Sessions
    Cursors/Session
    Begin Snap:
    7967
    16-Mar-13 00:00:19
    120
    3.4
    End Snap:
    7983
    16-Mar-13 16:00:08
    119
    3.6
    Elapsed:
    959.81 (mins)
    DB Time:
    11,565.82 (mins)
    Load Profile
    Per Second
    Per Transaction
    Per Exec
    Per Call
    DB Time(s):
    12.1
    0.6
    0.05
    0.09
    DB CPU(s):
    2.5
    0.1
    0.01
    0.02
    Top 5 Timed Foreground Events
    Event
    Waits
    Time(s)
    Avg wait (ms)
    % DB time
    Wait Class
    DB CPU
    141,781
    20.43
    Host CPU (CPUs: 40 Cores: 20 Sockets: 2)
    Load Average Begin
    Load Average End
    %User
    %System
    %WIO
    %Idle
    10.05
    16.90
    6.4
    2.3
    0.0
    90.6
    Instance CPU
    %Total CPU
    %Busy CPU
    %DB time waiting for CPU (Resource Manager)
    6.9
    73.7
    0.0
    Operating System Statistics
    *TIME statistic values are diffed. All others display actual values. End Value is displayed if different
    ordered by statistic type (CPU Use, Virtual Memory, Hardware Config), Name
    Statistic
    Value
    End Value
    BUSY_TIME
    21,616,011
    IDLE_TIME
    208,748,575
    IOWAIT_TIME
    20,115
    NICE_TIME
    7
    SYS_TIME
    5,241,553
    USER_TIME
    14,766,063
    LOAD
    10
    17
    RSRC_MGR_CPU_WAIT_TIME
    3,348
    VM_IN_BYTES
    2,126,163,628,032
    VM_OUT_BYTES
    -3,086,139,181,056
    PHYSICAL_MEMORY_BYTES
    202,835,083,264
    NUM_CPUS
    40
    NUM_CPU_CORES
    20
    NUM_CPU_SOCKETS
    2
    Hope that above excerpts from AWR reports can tell how much cpu is consuming each database , because for each database you will run awr report and then compare them .

  • No CPU core reserved for ESXi Scheduler

    Hi,
    I have a customer who uses UCS C210 M2 servers with ESXi 4.1 to host UC 8.6 applications including Unity Connection.
    The SRND and Docwiki both state that, as the UCS is hosting a Unity Connection system, a core should be reserved for the ESXi Scheduler.
    Unfortuantely this requirement seems to have been missed by the install team and the vCPU requirements for the installed machines add up to 8 leaving none available for the ESXi scheduler.
    Can anyone tell me the implications of this other than it breaking the Cisco rules for deployment and thus being an unsupported environment.
    The kind of things I need to know are will this just effect Unity Connection or all the hosted VMs including CUCM, CUPS etc.

    Hi Richard,
    Thanks for opening a PDI ticket for this. I just want to include the information I gave you on the post so it is available for future reference. According to the link below:
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/connection/10x/requirements/10xcucsysreqs.html#pgfId-360874
    "For VMware vSphere ESXi 5.5 and later, you do not need to leave any unused processor core for the ESXi hypervisor / scheduler. The Latency Sensitivity functionality has been introduced to reduce virtual machine latency. "
    You need to set Latency Sensitivity to HIGH to be able to leverage the above support. Please refer to the attachment to see where to change this parameter.
    Hope this helps!
    Regards,
    Tere.
    Please rate useful posts.

  • Minimum core cpu socket for EBS R12.2

    Hi all,
    EBS R12.2
    RHEL 6.5
    Approximate or estimate only:
    Can you tell me please what is the minimum cpu/core//socket required to run  TEST or VISION EBS R12.2 instance?
    Thanks a lot,
    mk

    Hi,
    It could be applicable in a normal situation as we discussed before.
    I don't think that the estimates can be doubled for each 100 users.
    According to R12.2 installation guide, you'll need the following resources for 100-200 users:
    OAF - App. tier: 8 GB of RAM and 2 CPU's (or cores)
    OAF - DB tier: 8 GB of RAM and 2 CPU's (or cores)
    Forms- App. tier: 4 GB of RAM (for 100 users)
    Forms -DB tier: 3 GB of RAM (for 100 users)
    Based on the above, you'll need approx. 24 GB of RAM and probably 8 cores to serve 100 users (assuming that the forms tier requires 4 cores).
    The general rule for the sizing would be to multiply the RAM by 1.5 and double the CPU power each time you double the number of users (worst case scenario).
    100 users: 24 GB & 8 cores
    200 users: 36 GB & 16 cores
    400 users: 52 GB & 24 cores
    You need to add to the above another 2 GB for the database tier and 3 GB for application tier per the installation guide.
    Regards,
    Bashar

  • Decreasing voltage for CPU core

    I have decreased CPU core voltage for my P4 2,8GHz from default 1,525V to 1,5V which helps me to decrease CPU full-load temp. from 61-62°C to 58-59°C. System is styl rocky stable. Is there something negative/dangerous on decreasing CPU core voltage?
    Thanx
    My system:
    Gigabyte GA-8IK110 i875P
    Intel P4 2.80 GHz (800MHz FSB), HT enabled
    2 x 512 MB TwinMOS PC3200 DDRAM 400 MHz CL2.5 dual channel
    MSI G4 Ti4600 VTD 128MB (MSI-8872) (detonatorXP 44.03)
    Creative SB Audigy 2 (latest drivers 05/2003)
    Creative Inspire 5.1 5300 speakers
    80 GB Seagate Baracuda IV 7200 rpm
    32x CDROM TEAC
    350W PSU Enermax EG365P-VE
    19" Philips Briliance
    WinXP SP1
    DirectX 9

    Ther's no harm in doing that.

  • VCPU vs Physical CPU

    Hi,
    Just trying to get my head around vSphere with possible future implementation...
    From what I understand from reading various white papers etc with HT enabled on physical hardware a single vCPU is/can be equivalent to a single HT thread of a physical core CPU ie Quad core(8 threads) = 8 vCPU's ...correct ?
    So then when SAP tells you to configure eg database parameters to the number of cores do you take into account the physical or virtual aspect(should a vCPU be configured to a single core in other words) ? When I see benchmarks from SAP eg [this benchmark|http://download.sap.com/download.epd?context=B7691794A7D3E12043C201290ABF37F5DED04E103D4E310018D06CBF7953BE17F69E02BCFBFF4510737F16C3ADA5246C] ...are they using HT or not(it isn't very clear, unless I am missing something) ?
    Thanks.
    Nelis

    Hi Nelis,
    1 vCPU = 1 HEC = 1 HT thread on an HT enabled host ?
    Yes.
    ...phew, difficult to get a straight answer
    Yes.
    The problem is that resource management is a very dynamic topic. I don't want customers to follow straight recommendations, because afterwards I have to process the tickets customers are opening because of bad performance. In the most cases, the reason for this is the lack of sizing / determination of expected workload. And that they don't read the Resource Management Guide...
    Nevertheless, let's make an example:
    You have an ESX server with 8 cores, HT enabled, therefore it is capable to schedule 16 vCPUs at the same time. Well, not exactly, because HEC 0 is always reserved for the Console OS of ESX. So you have 15 vCPUs to execute your stuff.
    Now you have three VMs: two VMs with 8 vCPUs each, one VM with 4 vCPUs. In that case, you have an overcommitment of 5 vCPUs - which is absolutely not a problem for VMs of an average load.
    Let's assume two VMs are idle and one 8 vCPU VM gets fully utilized. In that case, this VM gets the processing resources of the whole ESX server, as the vCPUs in an HT environment usually are getting scheduled on different cores. So the workload on each vCPU can utilize the full core because the other thread on the core is idle. Only one vCPU has to share Core 0 (which contains HEC 0) with the ESX Console OS.
    Now, let's assume every of the three VMs has a utilization of 75 %, therefore the ESX host would also be fully utilized. Don't think like "how many HECs does the 4 vCPU machine have now". If you count in HECs, you could assume that it uses 3 HECs and 1 HEC (the view from inside the guest machine would be: 1 CPU) would be "offline" or something. This IS NOT the case. The guest machine utilizes all of its 4 CPUs it sees and the ESX CPU scheduler schedules the workload among the available HECs.
    If you want to prioritize a certain VM so that its scheduling is granted no matter how big the overall workload is, you can set reservations. And because the ESX does not count in HECs to schedule a machine's workload, the reservation is given in MHz because this is the smallest unit of processing power the ESX CPU scheduler is aware of.
    So if you are more confused than before - read the Resource Management Guide. Some say it has a much better wording than I have
    Kind regards,
    Matthias

  • Only one CPU core recognized [solved]

    For some reason the kernel only recognizes one CPU core out of two. I'm not completely sure at which kernel upgrade it disappeared but it is gone in 2.6.36 and 2.6.37. I know it was still there in september 2010 and earlier. I'm using a x86-64 kernel.
    cat /proc/cpuinfo:
    processor    : 0
    vendor_id    : AuthenticAMD
    cpu family    : 16
    model        : 6
    model name    : AMD Athlon(tm) II X2 245 Processor
    stepping    : 2
    cpu MHz        : 2913.253
    cache size    : 1024 KB
    fpu        : yes
    fpu_exception    : yes
    cpuid level    : 5
    wp        : yes
    flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc up rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt npt lbrv svm_lock nrip_save
    bogomips    : 5828.27
    TLB size    : 1024 4K pages
    clflush size    : 64
    cache_alignment    : 64
    address sizes    : 48 bits physical, 48 bits virtual
    power management: ts ttp tm stc 100mhzsteps hwpstate
    Motherboard is: Gigabyte MA770T-UD3P. I use the latest bios.
    I have tried adding the kernel options "acpi=off noacpi apic=off noapic" as to the suggestion of a ubuntu bug report in launchpad but it didn't help. I also disabled ACPI in the bios but I'm still limited to one cpu core.
    Any ideas?
    [SOLVED]
    I just doublechecked the BIOS settings and it had the CPU Core Control set to manual and one core was disabled. I set it to auto again and now both cores are recognized correctly. I don't recall ever touching this setting but at least it works now. Maybe a bios update actually changed the setting or (more probable) a friend of mine.
    Last edited by Baraclese (2011-01-17 19:01:02)

    JOhnLiu wrote:
    thanks for reply sb92075
    [root@localhost ~]# mpstat -P ALL 2
    Linux 2.6.18-164.el5 (localhost.localdomain)    09/12/12
    09:29:09     CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
    09:29:11     all    0.01    0.00    1.27    0.01    0.00    0.01    0.00   98.69   1658.29
    09:29:11       0    0.50    0.00    0.00    0.00    0.00    0.50    0.00   98.99   1657.29
    09:29:11      73    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      74    0.00    0.00  100.00    0.00    0.00    0.00    0.00    0.00      0.00
    09:29:11      75    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      76    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00I think you don't understand what i mean .
    there just have ONLY ONE CORE %sys 100
    the top command show average of all cpu core sys% usage
    when the one core sys% is 100%
    the system are very slow .
    e.g: when I create a database instance used for a long time . over 2 hours
    but generally it will be done at most 1 hours or shorteris any type of OS virtualization involved in this environment?

  • Only one CPU core high sys usage when create database instance via dbca

    when using dbca to create database instance
    JUST ONLY ONE CPU core high sys usage
    how to troubleshoot it
    see this:
    top - 09:28:19 up 55 days, 20:38, 10 users,  load average: 1.00, 1.08, 1.31
    Tasks: 1231 total,   2 running, 1228 sleeping,   0 stopped,   1 zombie
    Cpu(s):  0.0%us,  1.3%sy,  0.0%ni, 98.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    Mem:  57588328k total, 55028620k used,  2559708k free,   196852k buffers
    Swap: 16386292k total,    23156k used, 16363136k free, 23011232k cached
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                                        
    11343 oracle    25   0 1771m  30m  23m R 99.7  0.1   5:36.39 oracle                                                                                         
    3692 oracle    16   0 13948 2348  816 S  1.6  0.0  17:00.94 top                                                                                            
    11432 root      15   0 13540 2024  820 R  1.3  0.0   0:00.21 top                                                                                            
    11034 oracle    16   0  737m 171m  33m S  0.3  0.3   0:52.39 java                                                                                           
    11435 oracle    15   0 66056 1596 1180 S  0.3  0.0   0:00.01 bash                                                                                           
        1 root      15   0   784  172  160 S  0.0  0.0  38:56.76 init                                                                                           
        2 root      RT  -5     0    0    0 S  0.0  0.0   0:00.58 migration/0                                                                                    
        3 root      34  19     0    0    0 S  0.0  0.0   0:00.75 ksoftirqd/0                                                                                    
        4 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0                                                                                     
        5 root      RT  -5     0    0    0 S  0.0  0.0   0:00.81 migration/1                                                                                    
        6 root      34  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd/1                                                                                    
        7 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/1                                                                                     
        8 root      RT  -5     0    0    0 S  0.0  0.0   0:02.53 migration/2    mpstat info
    [root@localhost ~]# mpstat -P ALL 2
    Linux 2.6.18-164.el5 (localhost.localdomain)    09/12/12
    09:29:09     CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
    09:29:11     all    0.01    0.00    1.27    0.01    0.00    0.01    0.00   98.69   1658.29
    09:29:11       0    0.50    0.00    0.00    0.00    0.00    0.50    0.00   98.99   1657.29
    09:29:11      73    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      74    0.00    0.00  100.00    0.00    0.00    0.00    0.00    0.00      0.00
    09:29:11      75    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      76    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      77    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      78    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      79    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11     CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
    09:29:13     all    0.01    0.00    1.26    0.01    0.00    0.02    0.00   98.70   1761.19
    09:29:13       0    0.50    0.00    0.50    1.00    0.00    1.99    0.00   96.02   1761.19
    09:29:13      71    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      72    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      73    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      74    0.00    0.00  100.00    0.00    0.00    0.00    0.00    0.00      0.00
    09:29:13      75    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      76    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      77    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      78    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:13      79    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00          you can see there is only one CPU CORE (core 74 but is random , other core have same status but just one CPU core)
    [root@localhost ~]# vmstat -S m 2
    procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
    r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
    3  0     23   1861    203  24267    0    0     8    12    0    0  0  0 99  0  0
    4  0     23   1845    203  24262    0    0   602 16460 3682 8121  2  2 96  1  0
    3  0     23   1842    203  24276    0    0   692  7520 3297 6610  2  2 97  0  0
    3  0     23   1830    203  24277    0    0   786  3040 3302 7118  2  2 97  0  0
    4  0     23   1829    203  24277    0    0   126  3144 3247 7343  2  1 97  0  0
    3  0     23   1827    203  24279    0    0    76  2944 3292 7502  2  2 96  0  0
    3  0     23   1823    203  24281    0    0     0  3248 3164 7656  2  1 97  0  0
    2  0     23   1827    203  24279    0    0     0  3646 3080 7480  2  1 97  0  0
    2  0     23   1828    203  24279    0    0     0   476 2942 5648  1  1 98  0  0
    3  0     23   1824    203  24281    0    0     2  7476 3377 8111  2  2 97  0  0iostat infor
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               1.28    0.00    1.29    0.00    0.00   97.43
    Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
    hda               0.00         0.00         0.00          0          0
    sda               5.47         0.00        83.58          0        168
    sda1              0.00         0.00         0.00          0          0
    sda2              5.47         0.00        83.58          0        168
    sda3              0.00         0.00         0.00          0          0
    sda4              0.00         0.00         0.00          0          0
    sda5              0.00         0.00         0.00          0          0
    sdb               8.96         0.00       123.38          0        248
    sdb1              8.96         0.00       123.38          0        248
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               1.27    0.00    1.27    0.00    0.00   97.46
    Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
    hda               0.00         0.00         0.00          0          0
    sda               0.00         0.00         0.00          0          0
    sda1              0.00         0.00         0.00          0          0
    sda2              0.00         0.00         0.00          0          0
    sda3              0.00         0.00         0.00          0          0
    sda4              0.00         0.00         0.00          0          0
    sda5              0.00         0.00         0.00          0          0
    sdb              17.50         0.00       236.00          0        472
    sdb1             17.50         0.00       236.00          0        472
    avg-cpu:  %user   %nice %system %iowait  %steal   %idle
               1.29    0.00    1.30    0.01    0.00   97.41
    Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
    hda               0.00         0.00         0.00          0          0
    sda               0.50         0.00        16.00          0         32
    sda1              0.00         0.00         0.00          0          0
    sda2              0.50         0.00        16.00          0         32
    sda3              0.00         0.00         0.00          0          0
    sda4              0.00         0.00         0.00          0          0
    sda5              0.00         0.00         0.00          0          0
    sdb               7.50         0.00       144.00          0        288
    sdb1              7.50         0.00       144.00          0        288more detail:
    database version 11.2.0.2.0
    system version
    [root@localhost ~]# cat /etc/issue
    Red Hat Enterprise Linux Server release 5.4 (Tikanga)
    Kernel \r on an \m
    [root@localhost ~]# lsb_release
    LSB Version:    :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
    [root@localhost ~]# uname -a
    Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linuxhardware info
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 47
    model name      :        Intel(R) Xeon(R) CPU E7- 4860  @ 2.27GHz
    stepping        : 2
    cpu MHz         : 2261.057
    cache size      : 24576 KB
    physical id     : 3
    siblings        : 20
    core id         : 18
    cpu cores       : 10
    apicid          : 229
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 11
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx pdpe1gb rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx smx est tm2 cx16 xtpr popcnt lahf_lm
    bogomips        : 4522.11
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 44 bits physical, 48 bits virtual
    [root@localhost ~]# free -m
                 total       used       free     shared    buffers     cached
    Mem:         56238      55892        346          0        196      23645
    -/+ buffers/cache:      32050      24188
    Swap:        16002         22      15979
    [root@localhost ~]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda2              19G  4.9G   14G  27% /
    /dev/sda5             230G   27G  192G  12% /home
    /dev/sda1              99M   12M   83M  13% /boot
    /dev/sdb1             2.9T  2.3T  464G  84% /arrayEdited by: JOhnLiu on Sep 11, 2012 7:31 PM

    JOhnLiu wrote:
    thanks for reply sb92075
    [root@localhost ~]# mpstat -P ALL 2
    Linux 2.6.18-164.el5 (localhost.localdomain)    09/12/12
    09:29:09     CPU   %user   %nice    %sys %iowait    %irq   %soft  %steal   %idle    intr/s
    09:29:11     all    0.01    0.00    1.27    0.01    0.00    0.01    0.00   98.69   1658.29
    09:29:11       0    0.50    0.00    0.00    0.00    0.00    0.50    0.00   98.99   1657.29
    09:29:11      73    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      74    0.00    0.00  100.00    0.00    0.00    0.00    0.00    0.00      0.00
    09:29:11      75    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00
    09:29:11      76    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00      0.00I think you don't understand what i mean .
    there just have ONLY ONE CORE %sys 100
    the top command show average of all cpu core sys% usage
    when the one core sys% is 100%
    the system are very slow .
    e.g: when I create a database instance used for a long time . over 2 hours
    but generally it will be done at most 1 hours or shorteris any type of OS virtualization involved in this environment?

Maybe you are looking for