Instruments: Average CPU Load over one minute

Hi everyone.
I've written some compositions in Quartz Composer and want to demonstrate how they tax the CPU in various conditions.
I've opened up Instruments and I can get it to give me a readout for the individual process (Quartz Composer) but I can't see any obvious way to average the CPU load... I can see the peaks, but I'd much rather know what the average is over 1 minute, in this instance (I want to compare different compositions - there's no variables within them as such...)
I found a little DTrace script in the apple docs, but couldn't really get it to work... it would quit with an error after about 45 seconds...
Anyone got any ideas?

OS X Snow Leopard introduced Grand Central, where the OS will distribute the load better to more cores, however it takes time for software to adapt to these changes and make a rewrite of the codebase and test it out, Apple's included.

Similar Messages

  • How do you spread CPU load over more cores?

    Hi
    I recently bought a macbook pro quadcore i7 because my 2007 macbook couldn't cope with the demands of Logic when using it rewired with Ableton Live, and had lots of CPU overload messages.
    I am really disappointed that having spent so much money to overcome this problem, it has only slightly improved the amount of overload messages. I read the article below about how to spread CPU power over the cores, now I have 8. I still can't figure out though how to control which channels are using which core and spreading the CPU load to cores 5-8 which don't seem to be being used. Any ideas?
    Can I rewire from ableton to different cores?
    In my project, the 2nd core keeps overloading whilst the others are down. Is it to do with aux channels, master channels, buses etc?
    Or should I upload my memory to 8GB RAM?
    Thanks
    Steve
    Here's the article:
    About core activity
    Logic breaks tasks down into threads that can be assigned to a single core for execution. It's not possible to split a single thread across multiple cores, although a single core may run multiple threads at the same time. This is one reason that you may sometimes see uneven load distributions across the available cores on your computer. If one thread is very processor-intensive, the core running that thread may show much more activity than the cores running less demanding tasks. This is the main reason that you may get "Core Audio Overload" warning messages even though some of the cores on your system may not show significant activity.
    To monitor Logic as it uses the cores on your system, double-click the CPU meter in the Transport area.
    A window displays a meter for each core.
    The same concept applies to channel strips as well. Each channel strip—and all plug-ins it contains—is processed by one core. If you are using many processor-intensive plug-ins on a single channel strip, the core running it may show heavier activity. This is especially true if you are working at high sample rates (88.2 kHz or higher).
    Redistributing core loads
    If you find that a single core has much higher activity, use these strategies to redistribute the load.
    In the example below, there is a single Software Instrument channel strip with plug-ins routed directly to Output 1-2. The channel strip for Output 1-2 has a large number of plug-ins.
    In this example there is activity on two cores:  the left core is handling the Software Instrument while the next core processes the Output 1-2 channel strip. You can use routing capabilities in Logic to distribute the load to more cores without changing the sound, as in the next image.
    The resulting signal chain is Inst 1 > Aux 1 > Aux 2 > Out 1-2, as shown in this table:
    Channel strip
    Input
    Output
    Inst 1
    Bus 1
    Aux 1
    Bus 1
    Bus 2
    Aux 2
    Bus 2
    Out 1-2
    Also, the first four plug-ins have moved from Output 1-2 to Aux 1 and the remaining four plug-ins to Aux 2.
    After adjusting the volumes to the respective channel strips appropriately, the result sounds identical, but now the load is distributed among four cores instead of two. You can use this concept to redistribute plug-ins from Audio channel strips, Software Instruments, Auxes, and Outputs (as in this example).
    In the image above, there is still a very heavy load on a single core, even though it's using the routing described above. Notice the Inst 1 channel strip is selected. When a Software Instrument track is selected in the Arrange window, Logic enters "Live Input Mode". In this mode, Logic turns on every plug-in in the channel strip's signal path so the channel strip can be played live from a MIDI controller. All of this must be handled by a single thread and therefore just one core. It's a good idea to keep a track that uses an Audio channel strip selected in the Arrange window, unless you're actively playing or recording to a Software Instrument.

    OS X Snow Leopard introduced Grand Central, where the OS will distribute the load better to more cores, however it takes time for software to adapt to these changes and make a rewrite of the codebase and test it out, Apple's included.

  • Memory and CPU load for one Oracle instance

    I need to design a database server with 5 oracle instances.
    Each instance have only 2 or 3 connected application users and the rate of transactions is about 10 transactions/hour.
    How can I estimate to total memory and CPU needed for my server ?
    The minimum esimation : 2x2Ghz and 2Go of RAM per instance is it pertinent ?
    Dominik

    Dominik wrote:
    I need to design a database server with 5 oracle instances.
    Each instance have only 2 or 3 connected application users and the rate of transactions is about 10 transactions/hour.
    How can I estimate to total memory and CPU needed for my server ?
    The minimum esimation : 2x2Ghz and 2Go of RAM per instance is it pertinent ?
    DominikThough the picked specs look okay but the better answer, as being mentioned already, would be "it depends" . At this moment, almost all the machines are coming with very good specs so 2gb probably would be the least . You can even have a 4gb RAM system with x86_64 architecture , leaving room for future growth if needed. About setting the memory for the SGA, if the release is 11g, setting the Memory_Target would take care of the the memory allocation for both SGA and PGA and you can start by the default that Oracle picks which I guess is about 40% of the total RAM. Afterwards, you can monitor the performance and can bring down the memory settings if you feel its overly allocated.
    That said, I think that this is a question better answered by the capacity planning and management people. I shall see if I can ask my friend, who is in this domain to comment on it.
    Just my 2 cents.
    Aman....

  • "A Scheduled Work To Do took over one minute to run." {Another solution}

    Hi there,
    I'm a complete newbie and ran across this error when our server {4.11}
    started giving it this morning. First it gave me all sorts of
    "terminating thread" errors and reporting collisions though the switch
    wasn't. Then I could only get 2/100 ping replies successfully into the
    office and vice versa. Ours was down to a dodgy PCI slot though, we
    have Intel Pro 100s using the CE100B driver as well <?> Coincidence?
    We swapped to a new slot, which solved the problem.
    That error message though, if referring to a problem with something
    surrounding an ethernet card, seems misleading. I wouldn't guess NIC
    unless I was having other network problems as well.
    Just throwing my newbie 2c in :D. I didn't see many other resources on
    this error around.
    Tiffany

    In article <[email protected] >, Spam
    only
    address wrote:
    > That error message though, if referring to a problem with something> surrounding an ethernet card, seems misleading. I wouldn't guess NIC
    > unless I was having other network problems as well.
    >
    That error means that the server was hung on some ill-behaved process.
    Could be hardware, but is usually related to some driver that needs a
    patch.
    Craig Johnson
    Novell Support Connection SysOp
    *** For a current patch list, tips, handy files and books on
    BorderManager, go to http://www.craigjconsulting.com ***

  • Firefox takes over one minute to start. Tooooooo long

    How can I get firefox to start up in less than 60-80 seconds

    Firefox takes a long time to start up
    https://support.mozilla.com/en-US/kb/firefox-takes-long-time-start-up
    Check and tell if its working.

  • How to Show Real CPU load, and not just Average Load on Server Performance or CPU metrics

    Hi There,
    we are currently using application insights for one of our customers, and they have raised the question with me, regarding CPU spikes. Is there anyway to show these when viewing the server performance or within the CPU metrics?
    The reason for the question is that for our particular application the average CPU load is 4%, however when viewing task manager real time, I can see spikes go anywhere from 20-60% for a second or two.
    Also do you know if the ability to grant user access to the likes of our customers so they can see the results so I don't have to send screen shots etc. on request.
    Any help on this would be greatly appreciated.
    Best Regards
    Antony

    Here is a good blog that shows how can you see CPU metric with Application Insights.
    http://blogs.msdn.com/b/visualstudioalm/archive/2014/12/11/updated-application-insights-status-monitor-to-support-12-and-later-application-insights-sdk.aspx
    And here is the explanation how to give access to other users:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/8025b455-5505-4037-beb1-6e216100aa9f/give-another-user-to-view-my-application-insights-data?forum=ApplicationInsights
    Mihail Smacinih

  • Safari and a strange high cpu load

    I have noticed that recently when i start Safari my cpu load starts to get crazy.
    CPU load on one core reaches 92%and falls to 10%, then another core gets 90% load and falls to normal. It is happening continuously. My MBPro get extremely hot and loud.
    Everything gets back to normal when I quit or force quit Safari.
    Any ideas what is going on?
    Other browsers like Firefox and Opera act normally.
    Safari Version 3.0.4 (5523.10.6), Mac OS X 10.5.1 all updates till today.
    EDIT: I've just done Empty Cache in the browser and the problem disappeared.
    Message was edited by: Bartosz

    Ok, I found out, why I had a high cpu utilization.
    It wasn't Safari 5's fault, but I had a big host file for blocking ads.
    After removing these ~15000 lines in /etc/hosts everything is fine again

  • Open in Compare Editor -- over a minute of CPU time

    I've got a 947-line MXML file that seems to require over a
    minute of CPU time to "Open in Compare Editor".
    Specifically, I'm using Flex Builder 3 as an Eclipse 3.3.2
    plug-in with Subclipse 1.2.4. If I synchronize with repository that
    runs in a few seconds. If I then try to view the diff for the file
    in question (main.mxml), the CPU goes to 100% and eclipse.exe piles
    up about 1:19 of CPU time.
    I tried a few experiments with chopping out parts of the
    file. Here are times to Open in Compare Editor single-line diffs
    with only the first N lines of the file in question:
    400 lines: 56 seconds
    200 lines: 15 seconds
    150 lines: 4 seconds
    100 lines: instantaneous
    Executive summary: OUCH!

    A sleeping thread uses no CPU. Try the following, both with and without the for loop. If you see a constant high CPU usage, even when the thread is sleeping, it's probably that the CPU usage is measured as an average over the last second or several seconds, so when the tasks you're performing are intense and take a significant fraction of the time you're sleeping, the average CPU usage doesn't go down that much.
    public class Sleeper {
        public static void main(String[] args) throws Exception {
            while(true) {
                for (int ix = 0; ix < 100000000; ix++) {
                    int jx = ix * 2;
                    ix = --jx;
                Thread.sleep(5 * 1000* 60);
    }

  • I can no longer get to Facebook Via firefox It comes up loading in the tab but does not get any further one minute it was working the next it was,nt should I try uninstalling firefox then reinstall or does anyone know what could of happened thanks

    # Question
    I can no longer get to Facebook Via firefox It comes up loading in the tab but does not get any further one minute it was working the next it was,nt should I try uninstalling firefox then reinstall or does anyone know what could of happened thanks

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Itunes taking over 1 minute to load

    Hi,
    I have over 1500 songs in my itunes library. It used to load really quickly, but it seems the more songs I put into the library the longer it takes to load now. It takes over 2 minutes from clickling on the icon to itunes loading. Is there something I can do to make this quicker. My PC is brand new. It has over 1gig of memory and dual processor, so it isn't the PC which is causing it to run slowly. Any help would be appreciated.
    Thanks DAWN

    hi Dawn!
    hmmmmm. first check to see if either your qttask.exe or ituneshelper.exe have been disabled on startup:
    Background processes installed with iTunes 6 for Windows
    to do so, head into your MSCONFIG, and make sure that the are both checked in your startup items tab.
    Using MSCONFIG to troubleshoot conflicts in Windows
    if they were unchecked, check them, restart the PC, and try launching itunes again.
    any improvement in itunes startup performance then?
    love, b

  • Fan RPM (rounds per minute) based on CPU load

    I did some small testings regarding when the fan's are starting. I'm experiencing the following:
    When running 3 times: yes > /dev/null the fans start to spin up after 1 minute full CPU load. They keep running till i kill those 3 processes. After 10 minutes full load the notebook is getting less hot because the fans are running at a good speed.
    What they should do is write a component in osx that will measure the temperature and based on that information let the fans run...
    With the current system the load is increasing all the time because you use it.. if the fans would start when its getting hotter the increasing temperature would stop and the case temp would be stable.
    Therefor i dont think bringing in your laptop will help. I think they should be able to fix the problem thru software. Just like the whine issue... just the wrong amount of voltage are send thru the cpu.
    The problem is... apple doesnt confirm this.. i hope OSX 1.4.7 will have such a tooling within it.
    What do you think?

    My completely unscientific experiences with my own MBP seems to support this, and I do believe that it begun happening after the last SMC update. I also believe that heat does in fact have an effect on the fans, but it is additive and that is why you mostly experience the fan activity generated by the CPU load.
    I can hear my fans quite clearly on low RPM because of a strange, plastic whirring sound (oddly enough, they become more quiet on higher RPMs).

  • During restore my 3GS has been stuck in Apps loading for over 30 minutes now.. Any suggestions? Thanks

    During restore my 3GS has been stuck in Apps loading for over 30 minutes now.. Any suggestions? Thanks ps.. I am holding off buying 4S until bugs worked out..

    The problem is twenty three people leaving or twenty three thousand leaving has zero impact on a carrier with over 100 million customers. And they have the lowest churn rate. So if 10,000 or 20,000 or more churn out it means little to the carrier.
    If you have a real lawyer he/she will advise you that you have no case. The device was not lost or stolen by the carrier, you were not eligible for a new device, and like any business who employs large numbers of poorly trained personnel who make low wages what was told to you is not in writing. So a verbal exchange does not hold up.
    In fact in Verizon's customer agreement it has such a disclaimer against any verbal exchanges so if you have that agreement in writing, go get them.
    The posting on public forums and places like Face Book, Linkin, Google+ or a personal web site can open you up to a lawsuit for Dilution of Trade Name, and other offences. However if you have proof then go for it.
    Unfortunately that is how big business works today. A pity

  • Maverick has been completing the update with less than one minute remaining now for well over an hour.  Where do I go from here?

    Maverick has been completing the update with less than one minute remaining now for well over an hour.  Where do I go from here?

    try this
    Reboot device by pressing both the home button and sleep/wake (power) buttons at the same time for 10-15 seconds until the apple logo appears on the screen, then let go.
    if that doesn't work then connect to a computer and try to open the device in itunes

  • Which will cause a higher cpu load, the sampler instrument or the original audio tracks?

    I have some piano that I wanted to loop. I had no problem using the convert track to sampler instrument.  My question is about CPU performance. Which will cause a higher cpu load, the sampler instrument or the original audio tracks?

    Hi Mesaboogiewes,
    Welcome to Apple Discussions
    Ableton.com recommends disabling Energy Saver, fullscreen mode, and Exposé. I would recommend putting the 1Gb of RAM, you will find a better result. I suggest going to the Ableton.com website and looking for more troubleshooting issues.
    I hope that helps,
    Jon

  • IWeb takes over 10 minutes to load

    When I try to load iWeb it take over 10 minutes to load. Anyone else have this problem? Can I stop it from loading iPhoto along side >?

    Backup and launch iPhoto with the Command+Option keys depressed to rebuild the library. Select the last three options.
    Click to view full size
    Launch iWeb and see if you can add photos from iPhoto now. What iWeb uses to see the photos in iPhoto is the AlbumData.xml file that is created in the iPhoto Library package. If the above doesn't work try the following:
    1 - close iPhoto.
    2 - go to your Pictures folder, select your library package and open it as shown in this screenshot:
    Click to view full size
    3 - locate the AlbumData.xml and AlbumData2.xml file and move them to the desktop.
    4 - launch iPhoto which will recreate those files.
    5 - launch iWeb and try again.
    A last suggestion is to reapply the iLife Media Browser Update and the iLife Support 9.0.3 update.

Maybe you are looking for