CPU Capping for whole system

Hello!
I am test running Solaris on one of the CloudServer service providers. I am in a situation where I only subscribe for 1Ghz CPU. There is not a hard limit so overuse is charged extra for.
I found out that I could use CPU capping like this:
$ prctl -t privileged -n zone.cpu-cap -v 50 -i zone global
(only use 50% of one CPU)
But my installation has multiple zones and setting capping for global zone do not limit the other zones of the system.
So my question is:
Is it possible to set capping for the whole system (like 50% of one CPU) including all zones? And then have the zones competing for CPU time using Fair Share Scheduling?
Best regards,
- Morten Green Hermansen
Edited by: 900653 on 2011-12-05 12:46

mortengh wrote:
Hello!
I am test running Solaris on one of the CloudServer service providers. I am in a situation where I only subscribe for 1Ghz CPU. There is not a hard limit so overuse is charged extra for.
I found out that I could use CPU capping like this:
$ prctl -t privileged -n zone.cpu-cap -v 50 -i zone global
(only use 50% of one CPU)
But my installation has multiple zones and setting capping for global zone do not limit the other zones of the system.
So my question is:
Is it possible to set capping for the whole system (like 50% of one CPU) including all zones? And then have the zones competing for CPU time using Fair Share Scheduling?
Best regards,
- Morten Green Hermansen
Edited by: 900653 on 2011-12-05 12:461) Be very careful if you mean Virtual CPU (aka thread), core, or chip/module.
2) If you allocate the cpu's you dont want to a resource pool via a processor, and dont run anything associated with that pool, that might achieve the effect if i understand you correctly, which i may not.

Similar Messages

  • Turn off case sensitive for whole system

    Hello,
    I am looking for the feasibility to turn off the case sensitive functionality for the whole system. Is it ever possible?
    Thank you in advance.
    Dmitri

    Dmitri, at this time it is not possible to turn off the case sensitive functionality. I would recommend that you submit a enhancement request to CRM On Demand customer care.

  • My MacBook has been "moving to trash" 4 items for a LONG time now.  I can't force quit this or stop it in any way. Does anyone know how I can get this to stop, I'm pretty sure its slowing my whole system down because it is constantly working on this.

    "Moving Items to Trash" has been up on my desktop for days now. I don't know who to get rid of this and believe its slowing my WHOLE system down.  Does anyone know how I can get rid of this, cancel it, forece quit, or anything? HELP!

    Try force quitting
    Press Command + Option + Esc

  • When I try to read my rss-feed through yandex service, the browser and the whole system freeze for a significant amount of time. This started with Firefor 5 and is very unpleasant. Thank you in advance.

    When I try to download (and especially renew) a page with my rss-feed that I read with Yandex service, the browser freezes, and then the whole system freezes. It typically takes about 5-7 minutes to load a very minimalistic page, and I can't use my browser or my system during that time.
    This started with the release of Firefox 5. I use it on Ubuntu. I haven't experienced similar problems with any other websites.
    I have already contacted the Yandex team about the matter.
    I guess it's just a little weird that one of the Yandex services won't work in Firefox, as Firefox comes with a built-in yandex-bar in many cases. And it sure is frustrating.
    Thank you very much and I am looking forward to your reply.

    Firefox Hangs
    https://support.mozilla.com/en-US/kb/Firefox%20hangs
    Check and tell if its working.

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

  • Photoshop CS5.1 64-bit crashes whole system when using Wacom Cintiq 13HD

    Hello,
    I've got a big problem and Wacom Support/Forum wasn't really that helpful at all, so I hope someone here has the answer.
    I'm using:
    - Windows 7 Premium 64-bit with Service Pack 1
    - Intel i7-267OQM 2,2 Ghz CPU
    - Nvidia GeForce GT 635M 2GB
    - 8GB RAM
    - Adobe Photoshop CS5.1 64-bit
    - on an ASUS N55S Laptop
    My new Wacom Cintiq 13HD runs just fine while just browsing on the internet, with Adobe Illustrator (so far...) and Easy Paint Tool SAI.
    But everytime I open my Photoshop it's just some minutes before my system freezes for a second, than blue screen appears und my whole
    System crashes down. Every. damn. Time.
    I read in the Wacom Forum that more people have this problem, but all suggested solutions by Wacom just don't work.
    Here's the link: http://forum.wacom.eu/viewtopic.php?f=3&t=14060
    The one thing I didn't try is using the USB Extensions, so I will buy some tomorow and try that too.
    But maybe someone has an other idea that could help?
    I tried all drivers Wacom has avaible but it still happens. I updated my Adobe Softwares, my BIOS, my graphic card, I restarted countless times,
    but nothing seems to work.
    Help me, please!

    A problem has been detected and windows has been shut down to prevent damage to your computer
    REFERENCE_BY_POINTER
    If this is the first time you’ve seen this Stop error screen, restart your computer. If this screen appears again, follow these steps:
    Check to make sure any new hardware or software is properly installed.
    If this is a new installation, ask your hardware or software manufacturer for any windows updates you might need.
    If problems continue, disable or remove any new installed hardware or software. Disable BIOS memory options such as caching or shadowing. If you need to use Safe Mode to remove or disable components, restart your computer, press F8 to select Advanced Startup Options, and then select Safe Mode.
    Technical Information:
    *** STOP: 0x00000018 (0x0000000000000000, 0xFFFFFA800D767920, 0x0000000000000002, 0xFFFFFFFFFFFFFFFF
    Collecting data for crash dump…
    Initializing disk for crash dump…
    Beginning dump of physical memory.
    Dumping Physical memory to disk: 35
    And I saw that the problem occurs with Asus Laptops and Dell Precision Laptops.
    So when I've got time (-> weekend ) I'll set up my desktop pc again and try it there. Maybe it's one of the Asus drivers?

  • Please read the following diagnostics of hardware monitor for my system Macbook Pro

    Following report was generated through "HARDWARE MONITOR" software run on my Macbook Pro:
    CPU A temperature diode 43 degree
    CPU core 1 45 degree
    CPU  core 2 -44 degress
    enclosure bottom side -33 degre
    enclosure bottom side 2  -32
    degre
    enclosure bottom side pos 3 -33 degre
    main heat sink  -37
    northbridge position- 40
    degrees
    smart disk hitachi - 32  deghgress
    smart battery- 33 degrees
    CPU A temperature during system check was 75 degrees.
    please suggest me if it is ok for my new system and whether it would be advisible to use software like "Hardware monitor" to generate such reports intermittantly or there is any other alternative

    Welcome to Apple Support Communities
    Temperatures are normal, so your MacBook Pro is working correctly. Fans will turn on automatically when temperature is high, so don't worry about that. If you see that fans don't turn on, reply back because it would be a hardware problem

  • IMovie has frozen up on me. I've tried rebooting and reinstalling the apps- no help. I can play some of the files- but I can't get into the libraries.Even when I can get something to play the whole system crashes after a few minutes. What can I do?

    I desperately need your help. I was working on iMovie last night when the thing froze up on me. I've tried rebooting. I've tried reinstalling the apps. No change. I can play some of the files- although I can't tell which ones will play until they magically appear. I can't get into the project library or the event library. The bar that lets me scroll through the clips is gone. Even when I can get something to play the whole system crashes after a couple of minutes and generates a "problem report" that says "iMovie Quit Unexpectedly". This all started when I was adding cutaways- and one clip just would not load. After I tried several times everything froze up. Have you ever heard of something like this? Maybe I pushed a button or somehow changed a setting? Maybe some of the video is corrupt? What do you recommend?
    Thanks for any advice you can offer!

    I have tried all the above and nothing seems to work. Any other suggestions?

  • Any way to get CPU-seconds for process or a thread from within my app?

    I'm trying to guage the work by different processes within our application. I'd like to be able to get the number of CPU-seconds before a long task and then again after the task finishes and compute the difference. I'm sure I could poll the % CPU every second and try estimate the value, but I don't think it would be very accurate.
    Is there a MBean or some other way to access the CPU-seconds for the process?
    It would even be better if I could get this at the thread level (which seems possible since JRA recordings can show the 'running' time on a graph drawn in milliseconds).
    Thanks
    -Bill

    We are considering making this available through a MBean in our upcoming R28 release.Do you have a program I can participate in to get beta or pre-releases of new JRockit versions? The purpose would be to do preliminary performance testing so we can get official releases to our development team more quickly once they are formally released.
    I'm also hoping to find cumulative disk i/o bytes and cumulative network i/o bytes on a thread or even at the JVM levelI don't think we have that in JRockit today... What would you use it for?The use would be for performance monitoring. In a large system or a busy system, the effect of code changes can be hard to measure just based on clock time or traditional measurements like % CPU or bytes/sec at a specific instant. Knowing how much 'work' is getting done (together with the clock time) gives a better picture.
    I like cumulative numbers like cpu-sec and # of bytes because I only need two measures (before and after) instead of continuous polling and summing. Some of my processes get created on their own threads, so I could potentially get these measures of work on my customer's production systems with a lot of other activity going on. By comparing samples over time, we can tell if processes are running longer due to 'more work' or due to resource bottlenecks.
    I think it could be useful on shared threads too even though i don't know yet if I can see which threads specific requests are using.
    -Bill

  • My Mac keeps crashing (whole system) when I'm watching videos with Firefox, any idea why?

    Ok so I got a new mac and as usual install firefox which is my favorite browser, suddenly my computer started crashing, not just firefox the whole system froze and I had to reboot to make it work again, I didn't know what was happening until I noticed that said crashes happen when I was watching videos on firefox, I tried to use chrome and the issue was gone. So anyone has any idea why this is happening? I really would love to start using firefox again!

    Some problems with Flash video playback can be resolved by disabling hardware acceleration in your Flash Player settings. (See [[Flash Plugin - Keep it up to date and troubleshoot problems|this article]] for more information on using the Flash plugin in Firefox).
    To disable hardware acceleration in Flash Player:
    #Go to this [http://helpx.adobe.com/flash-player/kb/video-playback-issues.html#main_Solve_video_playback_issues Adobe Flash Player Help page].
    #Right-click on the Flash Player logo on that page.
    #Click on '''Settings''' in the context menu. The Adobe Flash Player Settings screen will open.
    # Click on the icon at the bottom-left of the Adobe Flash Player Settings window to open the Display panel. <br/> <br/>[[Image:fpSettings1.PNG]] <br/>
    # Remove the check mark from '''Enable hardware acceleration'''.
    # Click '''Close''' to close the Adobe Flash Player Settings Window.
    # Restart Firefox.
    This [http://www.macromedia.com/support/documentation/en/flashplayer/help/help01.html Flash Player Help - Display Settings page] has more information on Flash Player hardware acceleration, if you're interested.
    Does this solve the problem? Let us know.
    If this does not fix the issue, you may need to reinstall Adobe Flash Player on your computer.

  • Report Painter Drilldown on Cost Element for Project Systems

    I am currently working on a report for Project Systems. I am trying to copy the functionality of the Internal Order summary (60I2-001) into report group 6P3. I was able to copy the whole layout and also the values of 6oI2-001 into a copy of 6PP4-001 but when I double click on "Balance" it is bringin up the ALV report that 6PP4-001 is using. I would like to call another report which looks like 6LS0-001 but contains Project System info made in report painter when I double click on Balance. Is this possible? Please let me know how.

    Hi Avinash,
    See my replies below.
    1 a & B: You are planning Qty on NWA and capturing costs - labor & Equipment on NWA elements.
    When  you are having elaborated to NWA-Element level, split your total work on each NWA-element and post labor cost. Thus you will have planned Vs actual costs at one place.
    coming to equipment cost - are you capturing using PO through GR?.
    2.a : Option1- create a separate WBS elements for materials and plan cost at WBS level. That value would be your total planned cost of material procurement as estimated. Under this WBS elements create NWAs and assign the materials. With this set up you can assign material and procure so that will have actual costs coming from GR.
    Option 2: Create a one General Cost activity and assign the total planned cost of material on this NWA.
    When you assign the material components, diligently you have to reduce the equivalent amount from the general costs activity. Also note that on component screen, you have to check box "Cost relevant" so that material cost will add to Cost NWA. Let the different materials  have their own valuation class and have default CEs accordingly. that would not be big issue.
    Please discuss with your MM team to get more information. Also my suggestion is to leave blank CE field in configuration.
    The option2 is very cumbersome and high risk but one have to be very cautious to reduce the value from Cost NWA in order to sustain the planned material costs whenever they added.
    3. I have answered the relevance of Cost relevance check box in above.
    Hope above makes sense.
    Thanks,
    Sudhakar

  • Best practice on Oracle VM for Sparc System

    Dear All,
    I want to test Oracle VM for Sparc System but I don't have new model Server to test it. What is the best practice of Oracle VM for Sparc System?
    I have a Dell laptop which has spec as below:
    -Intel® CoreTM i7-2640M
    (2.8GHz, 4MB cache)
    - Ram: 8GB DDR3
    - HDD: 750GB
    -1GB AMD Radeon
    I want to install Oracle VM VirtualBox on my laptop and then install Oracle VM for Sparc System in Virtual Box, is it possible?
    Please kindly give advice,
    Thanks and regards,
    Heng

    Heng Horn wrote:
    How about computer desktop or computer workstation with the latest version has CPU supports Oracle VM or SPARC?Nope. The only place you find SPARC T4 processors is in Sun Servers (and some Fujitsu servers, I think).

  • Adobe Bridge CS4 Hangs and whole system goes down.

    Adobe Bridge CS4 Hangs and whole system goes down.
    This is happening when I just finished edition RAW files in ACR and hit DONE, right after that a Bridge hangs, Cannot open Explorer, PC functions are down, cannot start anything, cannot stop Bridge process, cannot properly restart. Only holding power button shuts donw PC forcefylly.
    I happens once per 10 edits of RAW files and super annoying.
    Pleeeeease help!

    No wonder I think this is Bridge.
    That is indeed a tempting thought, have you already tried the refresh preferences for Bridge using ctrl key pressed down while restarting Bridge?
    But Bridge is very critical in reacting on odd system behavior, so also keep the advice of Station-Two in mind. On a Mac repairing permissions often solves problems, don't know the PC equivalent of this.

  • How could i get the kernel and user cpu usage for each process

    Hi all,
    In order to monitor the system CPU usage, I would like write a script to gather the kernel and user CPU usage for each process, like the prstat or top does. As always missing the shortlived kernel usage, prstat or top cann't get the precise CPU usage. I checked with the dtrace syscall, proc and fbt provider, but don't get which one is useful.
    Please provide your comments and suggestion.
    Thanks in adv

    mail2sleepy wrote:
    As I've studied the "dtrace" for a while, and seems Sun gives a pretty high score on this new feature.....I do want to know whether there's some probe can work for it, like writing a "dtrace" version prstat.You can write a prstat without dtrace. Because that's just polling at specific intervals and reading some process structures from /proc. You could have dtrace fire a probe every 5 seconds and read the same thing, but it wouldn't really be using any features of dtrace. Trhying to write it "in dtrace" doesn't make much sense.
    What you could do that would be harder via other methods is to fire a probe at process exit that displayed the process information including total CPU time. They could print exactly when processes exited. Doing that without dtrace would be very difficult.
    Darren

  • How to set Fonts size in X (whole system)

    Hi,
    I just bought a 19" monitor, and finally, got my resolution up from 800x600 to find out that i cant get to increse the xterm, Eterm, Firefox, Thunderbird, Gaim and everything to have an acceptable font size...
    I mean, is there a way to set the whole system font to some minimal size?
    I know how to change in almost every app (have to see if they can remember it, but thats just checking) but there are some i dont... xterm for example...ive looked at the man page, but there are so many options (just with the font subject, i do use several of the other flags) that i couldnt find the one i wanted, just to increase the font size... in Eterm there are 4 pre-set sizes, although i would like to increse it a bit more...
    I use Enlightenment, so i dont have any Gnome/KDE control center to do anything...
    As usual, any tips are welcome!
    Thanks!

    I can't provide much help but I can give you a hint: change the DPI globally with... one sec... xfce has some sort of script for settings the DPI globally...
    This is the part where the DPI is set
    # Those are my settings, change them as appropriate...
    # Xft DPI: 96
    # Xft.hintstyle: hintnone/hintslight/hintmedium/hintfull
    # Xft hinting: 1/0
    xrdb -nocpp -merge - << EOF
    Xft.dpi: 96
    Xft.hinting: 1
    Xft.hintstyle: hintmedium
    EOF
    You might run the command with another DPI setting...
    xrdb can be found in /usr/X11R6/bin.
    Once again, this is just a thought, I don't know how successful this change will be. Good luck.
    You might want to have a look on Google.
    IceRAM

Maybe you are looking for