What the different of zone.cpu-cap & zone.cpu-shares?

Hi folks,
anyone who can explain the different of zone.cpu-cap & zone.cpu-shares? I'll be thank for the response.
Thanks

In a nutshell, caps set an upper bound and shares set a lower-bound for the amount of CPU that a zone gets.
zone.capped-cpu
As stated in zonecfg(1M):
         Sets a limit on the amount of CPU time that can be  used
         by a zone. The unit used translates to the percentage of
         a single CPU that can be used by all user threads  in  a
         zone,  expressed  as  a fraction (for example, .75) or a
         mixed number (whole number and  fraction,  for  example,
         1.25).  An  ncpu value of 1 means 100% of a CPU, a value
         of 1.25 means 125%, .75 mean 75%,  and  so  forth.  When
         projects  within  a capped zone have their own caps, the
         minimum value takes precedence.
         The capped-cpu property is  an  alias  for  zone.cpu-cap
         resource  control  and  is  related  to the zone.cpu-cap
         resource control. See resource_controls(5).If you set a capped-cpu to 2 on a 16 processor machine, the zone will never get to use more than the equivalent of two CPUs. That is, it could end up with lots of things in the run queue while the system has idle processors because the zone has hit its CPU cap.
zone.cpu-shares
zone.cpu-shares interacts with the fair share scheduler. It goes with the idea that a CPU is a terrible thing to waste. By setting the CPU shares for a particular zone to a value, it makes the zone get a minimum of a calculated percent of CPU if it is needed. The percentage that the zone gets is based on:
(this zone's zone.cpu-shares) / sum(zone.cpu-shares across all zones)
So, if z1, z2, and z3 are zones with 10 50 and 40 CPU shares, z1 would get at least 10% (10 / (10 + 50 + 40)) of the CPU time, z2 would get 50%, and z3 would get 40%. However, if z2 and z3 are idle, z1 could use 100% of the system's CPU resources.

Similar Messages

  • Whats the different between regular strems and buffered streams?

    Hum , Hey.
    Whats the different between regular streams(un buffered) and buffered streams?
    When should I use buffered streams and when should I use buffered streams?
    Thanks in advance !

    Gonen wrote:
    CeciNEstPasUnProgrammeur wrote:
    Heck, I often asked myself that, too. If only there were any documentation for those classes one could read...
    The buffer allows the stream to read a whole chunk of data, even though your program requests it one byte at a time. Reading larger chunks from a file e.g. is much faster than trying to read single bytes. Especially considering that usually, a whole cluster is read and you'd discard all but one byte, and then repeat the same...so if the buffered is faster . why there is un buffered streams?Lots of reasons. Maybe you're sure you're going to send or receive all the data in one transaction, so you don't want to waste memory on another buffer. Maybe you're sending data to a device that requires real-time input, like a robotic arm.

  • Whats the differe

    Hey
    I have just upgradede my micro zen to the version 2.00.2 firmware! and its working fine! no problems But now there is a beta version 2.0.05
    What does the beta version fix? whats the different between 2.00.2 and 2.0.05 ?

    Teh new beta firmware inables Napster-to-go, and thats all, so if you aren't using NTG, i wouldn't recommend upgrading to it, since it is non-downgradable if you have problems.

  • Whats the different between iphone 5s and 5c

    whats the different between iphone 5s and 5c

    Primary differences are:
    Aperture, flash, stabilisation and shutter speed of the camera.
    Processor type and the inclusion of a 'co-processor' for movement sensors.
    Materials used for the frame and outer shell.

  • Whats the different in VGA Vs DVI ?

    Hey.
    Anybody who can tell me the different from VGA to DVI ?
    I know DVI is digital and VGA is Analog. But what is the different in quality ?
    Is there any big differents ?
    I ask because my new 22" screen have a non working DVI port. So i can only
    use the DVI port on my Macbook Pro with a DVI to VGA adaptor.
    If anyone know if it shows that mutch.
    Thanks

    One thing to note about making a VGA connection to a digital display like an LCD monitor is that you have to go through a tuning procedure to get the image to look its best. You only have to do this once, or maybe check it monthly or something like that, so it's not too big a nuisance. But if you never do it or forget to do it, the picture quality difference between VGA and DVI can be more than it should be.

  • What is the different with the NLS setting in installation

    I mean,
    1.when I install the Oracle, set the native LANG to one(call it A), and client access it with the NLS set to another(call it B), what the different between if I install it with B directly? the client can get same result, isn't it?
    2.For I upgrade a Oracle7 to oracle8i, the NLS keep unchanged(ASCII), both the server and the Client(developed with developer2000) runs OK. But I need exchange data with another Oracle8, whose NLS is different(ZHKGB2312,I forget it). when I upgraded the server(change to the same one,zhkgb2312), the original table size changed from 6 to 12, so the client can not run correctly.
    Did anybody meet the same thing? and any advice for me to solve this problem?

    >>when I install the Oracle, set the native LANG to one(call it A),
    You mean your database was created using character set A ?
    >>and client access it with the NLS set to another(call it B)
    You mean your client NLS_LANG character set is B ?
    what the different between if I install it with B directly? the client can get same result, isn't it?
    From reading your 2nd question, I am guessing that you have Chinese data in both of your USA7ASCII and ZHKGB2312 database, and you want to exchange data between them. I am sure that this is working for all your English ASCII data, but not for the Chinese 2 byte data. This is because Oracle handles the character set conversions between the databases (character set conversion occurs only when the 2 character sets are different),the real problem is that you are using the wrong database character set to store your chinese data; US7ASCII can not process Chinese data correctly, they got into your database because you set the client character set to be the same as the database character set, hence you are fooling Oracle that you are feeding in US7ASCII data.
    When you try to exchange data between databases, Oracle does not know how to receive or send these Chinese character from inside an US7ASCII database, it does not know what character set these 8 bit characters are encoded in, US7ASCII should contain 128 characters only.
    Please refer to the Globalization Support FAQ - on the Globalization Support website http://technet.oracle.com/tech/globalization/content.html
    for more information on Database character set and NLS_LANG client character set.

  • When syncing my phone the different categories that things are saved under appears at the bottom of the screen. what is "other"?

    I only have 8G's of memory on my phone so I'm trying to weed out everything I don't need on it but I can't figure out what is being saved in the "other" category. Does anyone have any ideas?

    Hello dernd1,
    Thanks for using Apple Support Communities.
    I see you're wondering what the different categories of storage are when viewing your iPhone in iTunes, specifically "Other."  Below you can find out what those categories encapsulate.
    When you connect your device and select it in iTunes, you'll see your usage by content type:
    Audio: Songs, audio podcasts, audiobooks, voice memos, and ringtones
    Video: Movies, music videos, and TV shows
    Photos: Camera Roll contents, Photo Stream, and Photo Library
    Apps: Installed apps
    Books: iBooks books and PDF files
    Documents & Data: App content such as contacts, calendars, messages, emails, and their attachments, Safari Offline Reading List, and files that you've created in your apps
    Other: Settings, Siri voices, and other system data
    Hover your mouse over the content type for more information about usage.
    See how much storage you've used on your iPhone, iPad, and iPod touch - Apple Support
    Have a good one,
    Alex H.

  • What is the different endpoint/binding-WSDLs?

    Hi All.
    Could you explin what the different is endpoint/binding-WSDLs?
    The endpoint wsdl seem to be working.(Tested in WS Navigatror) but binding-wsdl is not existing.
    Is it possible situation?
    I want to import binding-wsdl in caf to modify existing my webservice.
    Do I should do somthing for this? such as building the binding-wsdl..?
    And What is the different endpoint/binding-WSDLs?

    Hi, Viboth
    Answer to your question depends on what do you actually mean by "what is the difference"
    Speaking generally, those words represents 2 different IOS commands and 2 different concepts.
    Service instance is the way of logical mapping of traffic (based on VLAN tag let's say) to L2 or L3 instance. Also this approach helps us use single physical port as combination of logical L2 and L3 services.
    Xconnect in general can refer to any connection between two network points where low-level traffic (e.g. L2) goes via high-level infrastructure (e.g. L3). But usually we mean using of L2TPv3 or AToM.
    Using xconnect, you can bring together 2 service instances configured on different network endpoints.
    If you could lay out the specifics of your question, maybe I can provide you more useful information.
    BR,
    Nataliya

  • Set CPU Cap: failed: Exception: failed: Exception: ['xm', 'sched-credit', '

    Hi what does this warning mean ?
    its OV 2.2 and OVM 2.2
    the server has 8 cpu and 24GB Ram
    from OVM ,
    I create the vm with example 1 or 2 cpu.
    then i start the vm, its starts.
    after then if i shut down the vm and starts again. i see bellow warning
    Configure CPU Cap
    Set CPU Cap: failed:<Exception: failed:<Exception: ['xm', 'sched-credit', '-d', '30_tdebian', '-c', '0'] => Error: Domain '30_tdebian' does not exist.
    >
    and from OVM, Console button will be grayed ..
    can any one advise me please
    thanks

    hi thanks
    I understand.
    debian is not supported.. but i need to do some test
    i have realised few things
    When i am trying debian from iso .. this problem starts
    but when i installed debian from fully virtualized Ethernet type then it giving the problem..
    so i have done is :
    i created the vm with fully vertualized Ethernet type. then i change it to paravertualize then complete the installation .. after that it did not give any trouble ..
    may be i was just lucky!! but i will try again..
    in one forum it was saying, installation from iso gives this trouble ...
    is that true ??

  • Virtual Machine startup problem: Set CPU Cap: failed

    Hi,
    Recently, I have installed Oracle VM Server 2.2.2 on two servers having common Repository. I've configured 3 disks as repository.
    [root@ec-vs01 ~]# /opt/ovs-agent-2.3/utils/repos.py -l
    [   ] 692dbfde-9af4-49ef-9889-f02cb2e371e5 => /dev/sdc1
    [ * ] 0e06a940-cd25-4e4d-a4a0-93afc3832a00 => /dev/sda1
    [   ] 19101310-406a-4090-89ef-1be439e531dc => /dev/sdb1
    Intallation of VM Machine also ended up without any issues. (O/S OEL 5.5).
    When I restart the Virtual Machine after o/s installation, It runs for few minutes and stopped with the following error. ( Also, the console button is not active).
    Start - /OVS/running_pool/250_ec-vptst01
    PowerOn successfully.
    Update server -10.10.140.181
    Update Port - 0.0
    Update VM Status - Running
    Configure CPU Cap
    Set CPU Cap: failed:<Exception: failed:<Exception: ['xm', 'sched-credit', '-d', '250_ec-vptst01', '-c', '0'] => Error: Domain '250_ec-vptst01' does not exist.
    >
    StackTrace:
    File "/opt/ovs-agent-2.3/OVSXXenVMConfig.py", line 2531, in xen_set_cpu_cap
    run_cmd(args=['xm',
    File "/opt/ovs-agent-2.3/OVSCommons.py", line 92, in run_cmd
    raise Exception('%s => %s' % (args, err))
    >
    StackTrace:
    File "/opt/ovs-agent-2.3/OVSSiteVMConfig.py", line 1108, in set_vm_cpu_cap
    if not rs.startswith("success"): raise Exception(rs)
    if anybody resolved this issue, kindly help me.

    Also, I've found the below.
    Even though the repos.py -l script shows 2 repositories, df -h is not showing any repository mounted on /OVS folder
    [root@ec-vs01 running_pool]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/cciss/c0d0p2 3.4G 982M 2.2G 31% /
    /dev/cciss/c0d0p1 99M 46M 48M 50% /boot
    tmpfs 291M 0 291M 0% /dev/shm
    none 291M 80K 291M 1% /var/lib/xenstored
    /dev/sda1 391G 8.4G 383G 3% /var/ovs/mount/0E06A940CD254E4DA4A093AFC3832A00
    /dev/sdc1 196G 2.1G 194G 2% /var/ovs/mount/692DBFDE9AF449EF9889F02CB2E371E5
    /dev/sdb1 391G 2.1G 389G 1% /var/ovs/mount/19101310406A409089EF1BE439E531DC
    The Guest VM is created under /var/ovs/mount/0E06A940CD254E4DA4A093AFC3832A00/running_pool , whereas /OVS/running_pool contains nothing.
    ls -l /OVS/running_pool/ shows nothing.
    How to mount repository on /OVS folder ?

  • What's different between CUVC and MeetingPlace ?

    I'm a new guy for Video solution of Cisco and i would like to know what the different between cisco unified video conferencing and MeetingPlace.
    Please help me to clear about both solution thx a lot.

    No one can answer T^T so saddd . wait some one

  • The different versions, regions (confused)

    Hi all.
    I have been checking around some for Web Premium CS4 software on the net and I'm honestly confused about all the different versions.
    I am not talking about the pricedifferences here.
    Can someone tell me what the different versions are of any given CS4 product and what the difference are between them?
    I know the actual software is probably exactly the same but what about support, license etc? If a person buys an US version will he be able to upgrade it later on from his home in Germany?
    I've heard that there are two versions, US English and US international. But what is this "UK Version" that people are selling on ebay, is that US International?
    I hope you understand what I mean and hope someone can explain this *scratches head*

    My only advice to you is buy from a reputable AUTHORIZED dealer. Anything else is a crapshoot and that hold especially true for eBay where a majority of software sold is illegal.
    Bob

  • I'd like to know what is different between iPad air with wifi, and with cellular

    I'd like to know what the different between iPad air with wifi and with cellular

    With the wifi only one you can only get internet via wifi.
    With the cellular one you can also access the internet via cellular (with appropriate data plan)
    beyond that, and the price, they're the same

  • May i Now the Different between C549 and C542

    Hi All,
    I have a AS5300 with C542 chip, but the new one is C549. So i would like to know what the different? Will there be any effect when running with C542 chip for 4E1 voip?
    Thanks with regards
    Chan

    The following link should answer your question. http://www.cisco.com/warp/public/788/products/dsps.html

  • What is the trick in adding a "secondary zone" to my DNS server

    Hello,
    I am having a hard time adding a secondary zone to my dns server. I followed the instructions carefully but I still get the "refuse" on my zone transfer.  Do I need to go to the "NIC" of my interface card and make the primary DNS
    as the server itself and the secondary DNS the IP of the  "remote" DNS server? 
    Also, do  I need to start configuring the "reverse Lookup zone" (before even starting to add a "secondary zone" and perform a -ZONE -TRANSFER), and add first the "a" record of the other (remote)  DNS server?
    Thanks,
    Teapaq Long.   
    Event Type: Error
    Event Source: DNS
    Event Category: None
    Event ID: 6525
    Date:  11/10/2014
    Time:  2:07:21 PM
    User:  N/A
    Computer: REM-LAB-2K3.leftremote.com
    Description:
    A zone transfer request for the secondary zone localright.com was refused by
    the master DNS server at 192.168.77.92. Check the zone at the master server
    192.168.77.92 to verify that zone transfer is enabled to this server.  To do
    so, use the DNS console, and select master server 192.168.77.92  as the appli
    cable server, then in secondary zone localright.com Properties,view the set-
    tings on the Zone Transfers tab.  Based on the settings you choose, make any
    configuration adjustments there (or possibly in the Name Servers tab) so that
    a zone transfer can be made to this server.
    For more information, see Help and Support Center at
    http://go.microsoft.com/
    fwlink/events.asp.
    Event Type: Error
    Event Source: DNS
    Event Category: None
    Event ID: 6525
    Date:  11/10/2014
    Time:  12:03:18 PM
    User:  N/A
    Computer: LOC-LAB-2K8.localright.com
    Description:
    A zone transfer request for the secondary zone leftremote.com was refused by
    the master DNS server at 192.168.95.92. Check the zone at the master server
    192.168.95.92 to verify that zone transfer is enabled to this server. To do
    so, use the DNS console, and select master server 192.168.95.92 as the appli
    cable server, then in secondary zone leftremote.com Properties,view the set-
    tings on the Zone Transfers tab.  Based on the settings you choose, make any
    configuration adjustments there (or possibly in the Name Servers tab) so that
    a zone transfer can be made to this server.
    For more information, see Help and Support Center at
    http://go.microsoft.com/
    fwlink/events.asp.

    Hi,
    According to the event ID 6525, this may be caused by a refuse of zone transfer request.
    In normal, the secondary DNS server just configured with a preferred DNS server as itself, the alternate DNS server is optional, it depends on your needs.
    When you fill the master DNS server’s IP address when you add secondary zone in the secondary DNS server, it will prompt a warming information if you do not add a PTR record in the master DNS server in the reverse lookup zone, but this won’t affect the zone
    transfer process.
    Have you followed the description of event log and check to see if the master server has enabled zone transfer(Properties
    of zone->Zone Transfer tab->Allow zone transfer)?
    Besides, verify that the master server of the secondary zone is authoritative for the zone. Reference steps below:
    1. On the secondary DNS server, open DNS manager.
    2. Right-click zone, select the General tab, note the IP address of the server that is listed in
    Master Servers.
    3. In the console tree, right-click DNS, and then click
    Connect to DNS Server.
    4. Click The following computer, type the IP address of the master DNS server, and then click
    OK.
    5. In the console tree, expand the master DNS server, and then expand the folder that contains the zone.
    Note: If the zone is not in the folder, the server is not authoritative for the zone. In this case, you must configure the secondary server to transfer the zone from the correct master server.
    6. Right-click the zone, click Properties, and then click the
    Name Servers tab.
    7. Confirm that the secondary server is listed with the correct IP address. To correct the list, do one of the following:
    If the secondary server is not in the list, click Add.
    If the IP address of the secondary server is incorrect, click the server in the list, and then click
    Edit.
    If this problem still exits, from the event log I notice that there are 2 secondary DNS server, REM-LAB-2K3.leftremote.com and LOC-LAB-2K8.localright.com. Are they belong to different domain(leftremote.com and localrght.com) ? what the relationship between
    them?
    It would be helpful if you could provide the network topology. And describe the IP configuration of master DNS server and secondary DNS server.
    Best Regards,           
    Eve Wang

Maybe you are looking for

  • Multiple instances of Web Analysis

    Is it possible to have 2 instances of Web Analysis (seperate physical servers) point to a single respository and a single instance of Shared Services. We would like to dedicate one server to internal (LAN/WAN) users and one for external (Internet) ac

  • OSX 10.5 Does not Recognize Login Password-  Please Help!! This is insane!!

    Ok, so this problem is incredibly annoying and has got me perplexed. I recently re-installed Mac OSX 10.5 for various reasons.I am running a Macbook Pro that is 2 years old apprx. I did the following steps: 1. Booted from Install DVD (authentic) 2. E

  • [JS CS3] Variable Function Name

    Hello everyone, Does anyone know if you can put a variable into a function name? Bellow is a function that I am working on to avoid using an if statement with 33 possiblilites. It does work but I get a "undefined is not an object error". function myF

  • Can't edit text in a client's file... Wisdom appreciated!

    A client has sent me a file (PDF) that contains various elements: typography that's editable, illustrations that are editable, and some typography that does not seem to be editable in Illustrator. The apparently non-editable type shows up each charac

  • HT1277 (off line)

    when setting up my email account on my MacBook Pro.. the "Outgoing Mail Server (SMTP) always reverts to " comcast mail (offline)  any ideas