CPU usages do not add up

Recently my G5 iMac is getting very slow.
I check the activity monitor and it shows that 75% of CPU is spent on user app and 25% is spent on system. Then I tried to analyze where the distribution of the usage. 15% is used by safari, and there are a few apps that take up 1% each. So I can see that the CPU should be only about 25% used by apps, definitely NOT 75%. Did I get a virus on my computer that is invisible to the activity monitor?
What could be the cause of such slow down?
Help!

What could be the cause of such slow down?
May have nothing to do with CPU usage:
[Mac OS X speed FAQ|http://www.macmaps.com/Macosxspeed.html] - general reference on performance in various Mac models
[Tips to optimize your Mac OS X experience|http://www.giantmike.com/speedX.html]
[Mac Tune-up: 34 Software Speedups|http://www.macworld.com/article/49489/2006/02/softwarespeed.html]
[52 Ways to Speed Up OS X|http://www.imafish.co.uk/articles/post/articles/130/52-ways-to-speed-up-os-x>
[Tuning Mac OS X Performance|http://www.thexlab.com/faqs/performance.html]
[11 Ways to Optimize Your Mac's Performance|http://lowendmac.com/eubanks/07/0312.html]
[The Top 7 Free Utilities To Maintain A Mac.|http://mac360.com/index.php/mac360/comments/thetop_7_free_utilities_to_maintain_amac>
[Mac OS X: System maintenance|http://discussions.apple.com/thread.jspa?messageID=607640]
[Macintosh OS X Routine Maintenance|http://www.macattorney.com/ts.html#Anchor-31774]
[Kappy's Personal Suggestions for OS X Maintenance|http://discussions.apple.com/message.jspa?messageID=8230024#8230024 ]
[a brody's Topic: Myths of required versus not required maintenance for Mac OS X|http://discussions.apple.com/thread.jspa?threadID=1772235]
[Are the desktops cluttered with files and folders?|http://discussions.apple.com/thread.jspa?messageID=7668937#7668937] and [related comment|http://discussions.apple.com/message.jspa?messageID=9168594#9168594]
[Problems from insufficient RAM and free hard disk space|http://www.thexlab.com/faqs/lackofram.html]

Similar Messages

  • Cpu usage while not doing anything

    hi all
    i have the latest update to leopard. and just now, without using big apps like photoshop or such, the cpu usage is almost at full tilt as if i were using a big app
    the fan is on all the time...
    help

    Look under activity monitor and choose all processes to see what is eating up your cpu processes. There is usually a rogue process that is causing this. Kill it and it should stop the fans running so hard.

  • CPU Usage High, Individual Apps Not using Total

    Hi everyone,
      I've got a 2007 white Macbook currently running the most up to date version of Snow Leopard and recently the fan has been on a lot more often than it usually is and when I check in Acitivity Monitor the CPU usage is extremely high.  Normally it's around 2-4% tops but several times over the last few months it's been at 50-60% sustained usage for a long time (upwards of 20 minutes, then I just reboot it).  Once or twice it waws higher than 100%.  I checked Activity Monitor and killed the normal culprits like Shockwave and Flash, then anything with Microsoft in the name.  I'm a big tabbed browser user so I closed off google Chrome.  Right now, running Adium, iCal, Powerpoint (small file size, only 5 slides), and Word, 45% of the CPU is currently in use.  I went through and systematically closed everything but the CPU usage is still around 45% after closing all active programs in the dock other than Finder and Activity Monitor.  The strange part for me is that the amount of CPU usage is not the sum of the CPU usage of all the programs currently running.  It's not even close (like 1% versus 45%)
      Does anyone know what might be wrong?  Rebooting it will usually fix this problem, but I'm worried I either have Malware, a Trojan that iAntivirus isn't detecting, and my computer is somehow being used without my knowledge or something is wrong with my Mac.
    Thanks in advance for any help!
    Specs are Macbook 3,1, Intel Core 2 Duo 2.2 GHz, 4GB ram

    hrishy wrote:
    Hi
    Why so much time is being spent in CPU ?
    Apologies the rich text editor is not working and i am unabel to format this code properly
    Rows  Operation
    ______0  NESTED LOOPS (cr=117469550 pr=444 pw=0 time=1670966102 us)
    (snip)
    ______0                    NESTED LOOPS (cr=117469550 pr=444 pw=0 time=1670965844 us)
    462,472                       NESTED LOOPS (cr=1389078 pr=196 pw=0 time=12429546 us)
    (snip)
    ______0                       TABLE ACCESS FULL CON (cr=116080472 pr=248 pw=0 time=1889064945 us)
    (snip)
    The execution plan shows a nested loop join between a row source containing 462,472 rows and a full table scan of the table CON - that means the table CON was full table scanned 462,472 times, resulting in 116,080,472 consistent gets in 9 executions. The consistent gets are the cause of the high CPU usage. You might work through the links provided by Narendra to find the cause of the nested loop joins. Maybe this indicates a problem with the object statistics, or possibly it is caused by an unfortunate set of parameters that affected the optimizer's decisions.
    Charles Hooper
    Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
    http://hoopercharles.wordpress.com/
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • High CPU usage while display is asleep

    This is a strange one, and I've noticed it on multiple distros, and Arch is no different.  When my system is sitting idle with the screen on my CPU usage hovers around 5%, which I would consider to be perfectly normal.  However, when the display goes to sleep (no screen saver, just DPMS sleep) the CPU jumps up to about 25% and stays there until I bump the mouse (or do whatever to wake the system up), and then it will drop back down to the normal 5% CPU usage. 
    I had always thought it had something to do with Firefox, but I had Firefox closed while I was away at work today, and yet when I come home and wake my computer up my CPU usage graph shows that it's been at a solid 25% all day long. 
    Anyone have any ideas what this might be, or recommend a way to hunt down exactly what process is eating my CPU cycles while the display is off?
    Thanks a lot, this has been puzzling me for some time now.
    EDIT: I should add that I am running KDE, and have been on the other distros as well (to the best of my recollection).  After realizing this it seems like this thread may be better suited for the Applications & DE forum, but I'm not sure... it could very well be something to do with the kernel or something to do with power saving.  Please move if you see fit.
    Last edited by hippieben (2014-09-07 00:17:46)

    The CPU usage is not accounted for in the system monitor app.  There's roughly 4% usage accounted for, yet there's a total of 29% being used.
    The script doesn't seem to find anything either.  High idle CPU usage kicks in maybe 3/4 of the way through, but the output doesn't seem to change from the beginning at all.
    ben@arch-desktop:~$ for i in $(seq 1 20); do sleep 10 && ps -eo pcpu,pid,user,args | sort -rk1 | head -6; done
    %CPU PID USER COMMAND
    6.0 428 root /usr/bin/Xorg.bin -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-biq1sc
    3.8 3690 ben /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 3231 plugin
    2.4 4910 ben /usr/bin/systemsettings -caption System Settings --icon preferences-system
    2.4 14853 ben clementine -t
    1.9 3231 ben /usr/bin/firefox
    %CPU PID USER COMMAND
    6.0 428 root /usr/bin/Xorg.bin -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-biq1sc
    3.8 3690 ben /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 3231 plugin
    2.4 4910 ben /usr/bin/systemsettings -caption System Settings --icon preferences-system
    2.4 14853 ben clementine -t
    1.9 3231 ben /usr/bin/firefox
    %CPU PID USER COMMAND
    6.0 428 root /usr/bin/Xorg.bin -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-biq1sc
    3.8 3690 ben /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 3231 plugin
    2.4 4910 ben /usr/bin/systemsettings -caption System Settings --icon preferences-system
    2.4 14853 ben clementine -t
    1.9 3231 ben /usr/bin/firefox
    %CPU PID USER COMMAND
    6.0 428 root /usr/bin/Xorg.bin -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-biq1sc
    3.8 3690 ben /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 3231 plugin
    2.4 4910 ben /usr/bin/systemsettings -caption System Settings --icon preferences-system
    2.4 14853 ben clementine -t
    1.9 3231 ben /usr/bin/firefox
    %CPU PID USER COMMAND
    6.0 428 root /usr/bin/Xorg.bin -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-biq1sc
    3.8 3690 ben /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 3231 plugin
    2.4 4910 ben /usr/bin/systemsettings -caption System Settings --icon preferences-system
    2.4 14853 ben clementine -t
    1.9 3231 ben /usr/bin/firefox
    %CPU PID USER COMMAND
    6.0 428 root /usr/bin/Xorg.bin -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-biq1sc
    3.8 3690 ben /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 3231 plugin
    2.4 4910 ben /usr/bin/systemsettings -caption System Settings --icon preferences-system
    2.4 14853 ben clementine -t
    1.9 3231 ben /usr/bin/firefox
    %CPU PID USER COMMAND
    6.0 428 root /usr/bin/Xorg.bin -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-biq1sc
    3.8 3690 ben /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 3231 plugin
    2.4 4910 ben /usr/bin/systemsettings -caption System Settings --icon preferences-system
    2.4 14853 ben clementine -t
    1.9 3231 ben /usr/bin/firefox
    %CPU PID USER COMMAND
    6.0 428 root /usr/bin/Xorg.bin -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-biq1sc
    3.8 3690 ben /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 3231 plugin
    2.4 4910 ben /usr/bin/systemsettings -caption System Settings --icon preferences-system
    2.4 14853 ben clementine -t
    1.9 3231 ben /usr/bin/firefox
    %CPU PID USER COMMAND
    6.0 428 root /usr/bin/Xorg.bin -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-biq1sc
    3.8 3690 ben /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 3231 plugin
    2.4 4910 ben /usr/bin/systemsettings -caption System Settings --icon preferences-system
    2.4 14853 ben clementine -t
    1.9 3231 ben /usr/bin/firefox
    %CPU PID USER COMMAND
    6.0 428 root /usr/bin/Xorg.bin -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-biq1sc
    3.8 3690 ben /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 3231 plugin
    2.4 4910 ben /usr/bin/systemsettings -caption System Settings --icon preferences-system
    2.4 14853 ben clementine -t
    1.9 3231 ben /usr/bin/firefox
    %CPU PID USER COMMAND
    6.0 428 root /usr/bin/Xorg.bin -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-biq1sc
    3.8 3690 ben /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 3231 plugin
    2.4 4910 ben /usr/bin/systemsettings -caption System Settings --icon preferences-system
    2.4 14853 ben clementine -t
    1.9 3231 ben /usr/bin/firefox
    %CPU PID USER COMMAND
    6.0 428 root /usr/bin/Xorg.bin -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-biq1sc
    3.8 3690 ben /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 3231 plugin
    2.4 4910 ben /usr/bin/systemsettings -caption System Settings --icon preferences-system
    2.4 14853 ben clementine -t
    1.9 3231 ben /usr/bin/firefox
    %CPU PID USER COMMAND
    6.0 428 root /usr/bin/Xorg.bin -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-biq1sc
    3.8 3690 ben /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 3231 plugin
    2.4 4910 ben /usr/bin/systemsettings -caption System Settings --icon preferences-system
    2.4 14853 ben clementine -t
    1.9 3231 ben /usr/bin/firefox
    %CPU PID USER COMMAND
    6.0 428 root /usr/bin/Xorg.bin -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-biq1sc
    3.8 3690 ben /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 3231 plugin
    2.4 4910 ben /usr/bin/systemsettings -caption System Settings --icon preferences-system
    2.4 14853 ben clementine -t
    1.9 3231 ben /usr/bin/firefox
    %CPU PID USER COMMAND
    6.0 428 root /usr/bin/Xorg.bin -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-biq1sc
    3.8 3690 ben /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 3231 plugin
    2.4 4910 ben /usr/bin/systemsettings -caption System Settings --icon preferences-system
    2.4 14853 ben clementine -t
    1.9 3231 ben /usr/bin/firefox
    %CPU PID USER COMMAND
    6.0 428 root /usr/bin/Xorg.bin -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-biq1sc
    3.8 3690 ben /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 3231 plugin
    2.4 4910 ben /usr/bin/systemsettings -caption System Settings --icon preferences-system
    2.4 14853 ben clementine -t
    1.9 3231 ben /usr/bin/firefox
    %CPU PID USER COMMAND
    6.0 428 root /usr/bin/Xorg.bin -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-biq1sc
    3.8 3690 ben /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 3231 plugin
    2.4 4910 ben /usr/bin/systemsettings -caption System Settings --icon preferences-system
    2.4 14853 ben clementine -t
    1.9 3231 ben /usr/bin/firefox
    %CPU PID USER COMMAND
    6.0 428 root /usr/bin/Xorg.bin -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-biq1sc
    3.8 3690 ben /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 3231 plugin
    2.4 4910 ben /usr/bin/systemsettings -caption System Settings --icon preferences-system
    2.4 14853 ben clementine -t
    1.9 3231 ben /usr/bin/firefox
    %CPU PID USER COMMAND
    6.0 428 root /usr/bin/Xorg.bin -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-biq1sc
    3.8 3690 ben /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 3231 plugin
    2.4 4910 ben /usr/bin/systemsettings -caption System Settings --icon preferences-system
    2.4 14853 ben clementine -t
    1.9 3231 ben /usr/bin/firefox
    %CPU PID USER COMMAND
    6.0 428 root /usr/bin/Xorg.bin -br -novtswitch -quiet :0 vt7 -nolisten tcp -auth /var/run/xauth/A:0-biq1sc
    3.8 3690 ben /usr/lib/firefox/plugin-container /usr/lib/mozilla/plugins/libflashplayer.so -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 3231 plugin
    2.4 4910 ben /usr/bin/systemsettings -caption System Settings --icon preferences-system
    2.4 14853 ben clementine -t
    1.9 3231 ben /usr/bin/firefox
    Also, the screen doesn't have to be asleep, the system just needs to sit idle for a few minutes.
    Last edited by hippieben (2014-09-20 19:10:58)

  • [10.1.2] Protected Mode causing 100% CPU Usage/Extra Processes on Win XP 32-bit?

    Hello,
    I'm not 100% sure if the two are related, but I have a client who was seeing 100% CPU usage using Adobe Acrobat Reader X 10.1.2 on Windows XP 32-bit and Firefox 11. The acrord32.exe process would hang around after closing the main window and eventually leading to tons of processes and his CPU at 100% use. I believe disabling Protected Mode may have solved this issue. I didn't see it documented anywhere so I figure I'd post about it here and see if anyone else was seeing this resolved as well.

    I noticed 'only' 50 % CPU usage. Not during Reader usage with ~ 20 %, but it started after closing main window.
    Two instances of acrord32.exe were created - the moment pdf was opened - of which one was using zero CPU.
    After opening another pdf, 2 more processes were created, so 4 in total. Have seen 2 of them using 100 %.
    Issue is easily recreated.
    This is all in 10.1.3, no fix from Adobe, only THE fix from you: turning of Protected Mode!
    After which now only one proces is created, with 1 to 3 pdf documents opened at same time.
    This instance is then nicely shutdown after the last pfd is closed.

  • Oracle 8.0.5 ---------   CPU Usage 99%

    I have installed oracle on a P4 machine with default parmaeters.
    now CPU usage of oracle80.exe is 99%.
    Can anyone help me to bring it to normal.
    Please help me out of it.
    Fawad

    the configuration of my system is
    P4 1.8
    RAM 256 PC 800
    SGA 128 Mb
    DB_Block_size = 2 k
    CPU Usage is not always 100%
    Till yesterday evening it was quite fine. but today when i started the machine, this was the situtaion. Keep in mind that there is no change in usage / resources / configuration till the last week.
    The situation remains the same even if
    1. No other application is running on the server
    2. No client is connected.
    The CPU usage is normal till the no-mount state but as i open the database it goes to 99%. (keep in mind that there is no session created / activated at this stage but the usage is 99%)
    i hope this explanation can better help you out to find a solution.
    Fawad

  • Maximize CPU usage

    environment
    Windows Server 2008 R2 standard with 24 cores (Intel Xeon CPU X5675; 2 physical processors)
    Weblogic 10.3.2
    Sun jdk 160_020
    Hello,
    I'd like to know whether they are any possibility to maximize CPU usage for a weblogic instance?
    Currently we have a windows server whit 24 cores dedicated to one Weblogic managed server.
    Our application faced bottlenecks the last 2 days for an hour.
    Looking at system metrics, CPU usage is not higher than 15%
    Looking at CPU usage for my weblogic instance, it's not highr than 5%
    Now If I look at some Weblo metrics:
    Default Thread Pool increased to 400 while number of idle thread was close to 0
    Number of pending user requests increased dramatically in correlation with the number of hogging threads while the throughput was quite stable.
    Therefore I'm wondering whether there's any CPU usage limitation or how to maximize CPU usage?
    I believe the slowness is due to the application, nevertheless I just want to make sure there isn't any weblogic setting that could optimize the throughput.
    Thanks for you advices.

    Well you are asking us to do the dev's job while you don't even know what the job is. If the dev needs help (a big if, it seems the dev knows what he/she is doing) then the dev can ask here with specific goals (e.g. what part of program can be paralleled
    to utilize idle CPUs), with details about the architecture of the program (which you don't have).
    Also such rewriting comes with risks of breaking stuff that are already working besides labor cost. The dev may decide it is not worth the rewriting if the cost is too high compared
    benefits to the user, just saying. 
    Visual C++ MVP

  • Cpu usage / loadaverage in windows

    Hi Everybody,
    To monitor CPU utilization, we can une the getSystemLoadAverage() method in OperatingSystemMXBean. But this doesn't work for windows platform. This method returns -1.
    Is there a way to get this information without using native code ? I'm looking for a cross-platform solution.
    Thanks.
    Youcef

    I am afraid a platform independent way to calculate CPU usage is not possible. I ran into the very same problem that you face right now. I had to manually calculate CPU usage using Win32 native API "GetProcessTime". The general formula for this on the windows platform is (total kernel time + total user time) / total number of processors. I don't have the code with me, as it was a long time ago. If I find it, I will post it here.
    Hope this helps.
    Regards,
    Parth Mehta.

  • Cpu usage high when loading cache group

    Hi,
    What are the possible reasons that results high cpu usage when loading read-only cache group with big root table (~ 1 million records)? I have tried setting Logging=0 (without cache agent), 1 or 2 but it doesn't help. Are there any other tuning configuration required to avoid high cpu consumption?
    ttVersion: TimesTen Release 6.0.2 (32 bit Solaris)
    Any help would be highly appreciated. Thanks in advance.

    High CPU usage is not necessarily a problem as long as the CPU is being used to do useful work. In that case high CPU usage shows that things are being processed taling maximum advantage of available CPU power. The single most common mistake is to not properly size the primary key hash index in TimesTen. Whenever you create a table with a PK in TimesTen (whetehr it is part of cache group or just a standalone table) myou must always specify the size of the PK hash index using the UNIQUE HASH ON (pk colukns) PAGES = n clause (see the documentation). n should be set to the maximum number of rows expected in the table / 256. The default is sized for a table of just 4000 rows! If you try and load 1M rows into this table we will be wasting a lot of CPU time serially scanning the (very long) hash chains in each bucket for every row inserted...

  • High CPU usage by Service Host & Services and Controller app

    Hi All,
    My CPU is running at a consistent 98-99% within moments after booting my machine. I have uploaded a ~30s ETL capture here:
    hxxps://www.dropbox.com/s/xznhkdyo5p2p7rn/highcpu.07-03-2014.10-46-16.zip
    I've been digging around, but I can't seem to find what the cause of this high CPU usage is. It appears to be affecting the explorer service as well as Chrome. CPU usage does NOT go down if I kill all chrome processes however.
    Any insight would be wonderful.

    Hi,
    According to your screenshot, it seems this is not related a particular service, it just like a memory leak issue.
    Can you check the event viewer to see if there is some error record?
    Or you can check if this issue happens in Clean Boot mode, this would eliminate software conflict:
    How to perform a clean boot in Windows
    http://support.microsoft.com/kb/929135/en-us
    Alex Zhao
    TechNet Community Support

  • High CPU usage caused by system interrupts [Satellite L50-B-1DG]

    Just installed 64bit versions of windows 8.1 & windows 7 on a brand new Satellite L50-B-1DG, and literally without any programs installed, the CPU usage does not fall below 45%.
    The windows 8.1 task manager suggests this is caused by system interrupts, so I tried the following without any luck:
    1. installed latest version of all drivers
    2. disabled all devices one by one to trace the root of the interrupts
    3. used latencymon to trace the driver behind the DPCs, and while the program suggests that it is caused by aspi, again I cannot trace which device causes the interrupts (I have already disabled them all)
    4. re-installed windows 8.1/7 multiple times, no difference
    So, is this normal? Is this caused by faulty hardware? People with same models notice anything similar?
    Cheers
    Model specs:
    http://www.toshiba.co.il/en/laptops/satellite/sate​llite-l50-b/satellite-l50-b-1dg/

    This is actually the forums for Toshiba USA. You may want to contact Toshiba in your region.
    Toshiba Europe forums
    - Peter

  • How to check the memory and CPU usage on NPU

    Hi expert ,
    Could you tell me how to check the memory and cpu usage on NPU?
    I think ASR1000 has this command (show platform hardware qfp active...) , but I coudn't find the same command on ASR9001.
    I checked " show controllers np counters all"  command, but I did not find it.
    Platform: ASR9001
    version: 4.3.2
    NP: Tyhoon
    Thanks,

    Hi Kanako,
    understand your question, but something like that doesnt exist for the trident/typhoon NPU's for the asr9k.
    in fact cpu usage is not really applicable for parallel/serialized hardware forwarders, but mainly the KPI is here
    the PPS it handles.
    The max pps it can handle is dependent on feature set.
    What you could do is measure the rates on the PARSE_FABRIC_RECEIVE count (packets received from fabric, so egress direction), PARSE_ENET_RECEIVE count (packets received from the interface to the fabric, so ingress) and the LOOPBACK count, that is packets that are recirculated for extra processing. The sum of these 3 gives an idea of the PPS rate the NPU is working on.
    Memory consumption is something tricky also, there are many memories attached to the NPU, notably:
    TCAM used for vlan matching, ACL and QOS matching
    Search memory for L2 and L3 (shared on Trident, separated on Typhoon)
    Frame memory for packet bufferin in QOS
    Stats memory, for all kinds of counters of QOS maps, interface stats etc
    their usage is rather dynamic also.
    The few things you want to verify on these are:
    - ACL usage (in terms of Tcam entries)
    - MAC table size (2M max on typhoon)
    - FIB size (4M max on typhoon)
    frame memory is dependent on the buffering, which is a sum of all the packets instant queue length and size of all pmaps attached to interfaces served by the same NPU. there is no good overview as to how much you have available of that, but it has a rather significant size 1G or 2G depending on the TR or SE cards (typhoon specific).
    regards
    xander
    Xander Thuijs CCIE #6775
    Principal Engineer 
    ASR9000, CRS, NCS6000 & IOS-XR

  • CPU usage displayed by top does not make sense.

    Here is the CPU usage displayed by top (while running VirtualBox with a guest Windows 7, the Archlinux machine is the host).
    top - 11:49:07 up 54 min, 3 users, load average: 1.80, 1.18, 0.74
    Tasks: 143 total, 1 running, 142 sleeping, 0 stopped, 0 zombie
    %Cpu0 : 2.2/7.7 10[|||||||||| ]
    %Cpu1 : 2.2/7.7 10[|||||||||| ]
    %Cpu2 : 1.8/8.2 10[|||||||||| ]
    %Cpu3 : 2.2/8.8 11[||||||||||| ]
    GiB Mem : 79.4/3.796 [ ]
    GiB Swap: 5.3/3.356 [ ]
    PID USER PR NI VIRT RES %CPU %MEM TIME+ S COMMAND
    3504 oesser 20 0 4209.1m 2.396g 173.3 63.1 5:11.05 S VirtualBox
    2688 oesser 20 0 997.1m 273.6m 0.0 7.0 0:27.96 S firefox
    3204 oesser 20 0 949.7m 64.3m 0.0 1.7 0:02.24 S VirtualBox
    2812 oesser 20 0 1015.5m 63.6m 0.0 1.6 0:02.10 S VirtualBox
    3068 oesser 20 0 882.8m 60.5m 0.0 1.6 0:01.66 S VirtualBox
    990 root 20 0 393.5m 40.3m 6.7 1.0 0:50.11 S Xorg
    2235 oesser 20 0 949.8m 22.2m 0.0 0.6 0:05.03 S VirtualBox
    1134 oesser 20 0 435.5m 16.4m 0.0 0.4 0:02.57 S xfce4-terminal
    318 ntp 20 0 105.3m 15.4m 0.0 0.4 0:00.14 S ntpd
    1029 oesser 20 0 208.0m 13.5m 0.0 0.3 0:05.94 S xfwm4
    2220 oesser 20 0 832.5m 12.8m 0.0 0.3 0:05.47 S VBoxSVC
    1038 oesser 20 0 612.8m 11.9m 0.0 0.3 0:00.68 S xfdesktop
    1033 oesser 20 0 385.2m 11.6m 0.0 0.3 0:01.47 S xfce4-panel
    1120 oesser 20 0 265.4m 8.3m 0.0 0.2 0:03.82 S panel-14-cpugra
    1119 oesser 20 0 196.3m 7.0m 0.0 0.2 0:00.03 S panel-4-systray
    1093 oesser 20 0 299.5m 4.4m 0.0 0.1 0:00.02 S gvfs-udisks2-vo
    1059 oesser 20 0 774.4m 4.3m 0.0 0.1 0:01.14 S AgentAntidote.b
    2778 oesser 20 0 16.7m 4.3m 0.0 0.1 0:00.02 S bash
    1019 oesser 20 0 357.8m 4.2m 0.0 0.1 0:00.05 S xfce4-session
    560 root 20 0 415.1m 4.1m 0.0 0.1 0:00.44 S udisksd
    1037 oesser 20 0 363.3m 3.7m 0.0 0.1 0:00.10 S xfsettingsd
    1380 oesser 20 0 16.7m 3.6m 0.0 0.1 0:00.09 S bash
    1064 oesser 20 0 214.3m 3.3m 0.0 0.1 0:00.01 S gvfsd
    3746 oesser 20 0 34.9m 3.3m 0.0 0.1 0:00.00 R top
    1121 oesser 20 0 489.4m 3.2m 0.0 0.1 0:00.08 S panel-2-mixer
    514 root 20 0 219.0m 3.2m 0.0 0.1 0:00.03 S upowerd
    1035 oesser 20 0 202.9m 3.1m 0.0 0.1 0:00.02 S Thunar
    2212 oesser 20 0 150.4m 3.0m 0.0 0.1 0:02.77 S VBoxXPCOMIPCD
    1022 oesser 20 0 34.6m 2.8m 0.0 0.1 0:00.02 S xfconfd
    1139 oesser 20 0 16.7m 2.7m 0.0 0.1 0:00.03 S bash
    1058 oesser 20 0 462.8m 2.6m 0.0 0.1 0:00.04 S xfce4-volumed
    1048 oesser 20 0 268.2m 2.6m 0.0 0.1 0:00.04 S xfce4-power-man
    1067 oesser 20 0 42.6m 2.5m 0.0 0.1 0:00.00 S gconfd-2
    1045 oesser 20 0 365.9m 2.4m 0.0 0.1 0:00.10 S polkit-gnome-au
    1 root 20 0 33.5m 2.3m 0.0 0.1 0:00.36 S systemd
    1012 oesser 20 0 30.7m 2.1m 0.0 0.1 0:00.09 S dbus-daemon
    1077 oesser 20 0 357.7m 2.0m 0.0 0.1 0:00.00 S gvfsd-fuse
    446 polkitd 20 0 505.5m 1.9m 0.0 0.1 0:00.04 S polkitd
    422 oesser 20 0 34.9m 1.9m 0.0 0.0 0:00.00 S systemd
    1073 oesser 20 0 30.3m 1.9m 0.0 0.0 0:00.05 S dbus-daemon
    266 dbus 20 0 30.6m 1.8m 0.0 0.0 0:00.03 S dbus-daemon
    999 root 20 0 72.4m 1.8m 0.0 0.0 0:00.00 S lxdm-session
    179 root 20 0 34.2m 1.8m 0.0 0.0 0:00.08 S systemd-udevd
    1106 oesser 20 0 366.8m 1.7m 0.0 0.0 0:00.00 S gvfsd-trash
    1086 oesser 20 0 120.2m 1.7m 0.0 0.0 0:00.17 S at-spi2-registr
    263 root 20 0 14.8m 1.7m 0.0 0.0 0:00.01 S systemd-logind
    297 root 20 0 20.1m 1.6m 0.0 0.0 0:00.30 S lxdm-binary
    1138 oesser 20 0 8.2m 1.3m 0.0 0.0 0:00.00 S gnome-pty-helpe
    1000 oesser 20 0 13.7m 1.3m 0.0 0.0 0:00.00 S sh
    144 root 20 0 29.7m 1.3m 0.0 0.0 0:00.09 S systemd-journal
    459 oesser 20 0 161.7m 1.2m 0.0 0.0 0:00.06 S gpg-agent
    307 root 20 0 4.4m 1.0m 0.0 0.0 0:00.10 S dhcpcd
    1062 oesser 20 0 255.6m 1.0m 0.0 0.0 0:00.00 S at-spi-bus-laun
    1011 oesser 20 0 17.6m 0.9m 0.0 0.0 0:00.00 S dbus-launch
    423 oesser 20 0 80.0m 0.0m 0.0 0.0 0:00.00 S (sd-pam)
    457 oesser 20 0 13.0m 0.0m 0.0 0.0 0:00.00 S ssh-agent
    1025 oesser 20 0 13.0m 0.0m 0.0 0.0 0:00.00 S ssh-agent
    2 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kthreadd
    3 root 20 0 0.0m 0.0m 0.0 0.0 0:02.94 S ksoftirqd/0
    5 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/0:0H
    7 root 20 0 0.0m 0.0m 0.0 0.0 0:02.39 S rcu_preempt
    8 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S rcu_sched
    9 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S rcu_bh
    10 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S migration/0
    11 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S watchdog/0
    12 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S watchdog/1
    13 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S migration/1
    14 root 20 0 0.0m 0.0m 0.0 0.0 0:02.55 S ksoftirqd/1
    16 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/1:0H
    17 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S watchdog/2
    18 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S migration/2
    19 root 20 0 0.0m 0.0m 0.0 0.0 0:01.28 S ksoftirqd/2
    21 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/2:0H
    22 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S watchdog/3
    23 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S migration/3
    24 root 20 0 0.0m 0.0m 0.0 0.0 0:00.47 S ksoftirqd/3
    26 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/3:0H
    27 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S khelper
    28 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kdevtmpfs
    29 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S netns
    30 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S perf
    31 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S khungtaskd
    32 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S writeback
    33 root 25 5 0.0m 0.0m 0.0 0.0 0:00.00 S ksmd
    34 root 39 19 0.0m 0.0m 0.0 0.0 0:00.27 S khugepaged
    35 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S crypto
    36 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kintegrityd
    37 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S bioset
    38 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kblockd
    39 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S devfreq_wq
    41 root 20 0 0.0m 0.0m 0.0 0.0 2:31.11 S kswapd0
    42 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S fsnotify_mark
    47 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kthrotld
    51 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S deferwq
    83 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S ata_sff
    84 root 20 0 0.0m 0.0m 0.0 0.0 0:00.38 S kworker/3:1
    85 root 20 0 0.0m 0.0m 0.0 0.0 0:00.48 S kworker/1:2
    86 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_eh_0
    87 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_tmf_0
    88 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_eh_1
    89 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_tmf_1
    90 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_eh_2
    91 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_tmf_2
    92 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_eh_3
    93 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_tmf_3
    94 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_eh_4
    95 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_tmf_4
    96 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_eh_5
    97 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_tmf_5
    100 root 20 0 0.0m 0.0m 0.0 0.0 0:02.53 S kworker/u8:4
    106 root 0 -20 0.0m 0.0m 0.0 0.0 0:01.39 S kworker/0:1H
    107 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.57 S kworker/1:1H
    108 root 0 -20 0.0m 0.0m 0.0 0.0 0:05.04 S kworker/2:1H
    111 root 20 0 0.0m 0.0m 0.0 0.0 0:00.16 S kworker/2:2
    120 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.80 S kworker/3:1H
    123 root 20 0 0.0m 0.0m 0.0 0.0 0:00.07 S jbd2/sda2-8
    124 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S ext4-rsv-conver
    152 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/3:3
    159 root 20 0 0.0m 0.0m 0.0 0.0 0:00.88 S kworker/0:2
    203 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S edac-poller
    204 root -51 0 0.0m 0.0m 0.0 0.0 0:00.00 S irq/27-mei_me
    212 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S acpi_thermal_pm
    238 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kpsmoused
    241 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S hd-audio1
    246 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S hd-audio0
    258 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S led_workqueue
    269 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kvm-irqfd-clean
    298 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S cfg80211
    301 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kfd_process_wq
    303 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S ttm_swap
    379 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S radeon-crtc
    380 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S radeon-crtc
    381 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S radeon-crtc
    382 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S radeon-crtc
    383 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S radeon-crtc
    384 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S radeon-crtc
    886 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S iprt
    1201 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/1:0
    1698 root 20 0 0.0m 0.0m 0.0 0.0 0:00.46 S kworker/2:1
    1922 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S dio/sda2
    1923 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/u8:0
    3098 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/0:1
    3722 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/0:0
    So VirtualBox is using 173% of my CPU time (how is this possible?), but I see only 1% or 2% on each logical CPU. My CPU is an "i3-3240 CPU @ 3.40GHz" (2 physical cores, 4 logical cores) and the kernel is 3.19.3-3-ARCH (latest official Archlinux kernel). How is this possible? What's happening here? Is it a bug or do I completely misunderstand what these stats mean?

    Top does add up your multicore usage. So if a process is using two cores at 100% it is using 200%.
    However something does not add up in correctly in your case.
    I've found top to be kind of unreliable in multicore (especially with hyper threading) systems.

  • CORBA connections not relinquished - CPU usage - 100%

    We have a session bean making a corba call, however after the call is susccessful,
    the connection doesn't relinquished. If We do a netstat , the number of established
    connections keep increasing as more calls are made to the CORBA server. We am
    facing issues of CPU usage goin upto 100% and never comes below 97% after a lot
    of such calls. Please suggest someway of fixing it.

    You should verify it within the product documentation.
    If you want to verify it by yourself, from wls, implementing the singleton pattern
    for your remote object, invoke a method on the remote object, implement a sleep
    in it (on the corba server), and after try to execute another method on the same
    remote object (singleton), which returns immediately (it is important that you
    run this test within the same wls instance, and the same ejb (ejb module) : the
    singleton is relative to the classloader).
    If the orb implementation does not multiplex the invokations, you will see the
    second call not returning until the first one has not returned (end of sleep time).
    (of course, I suppose the Corba server is multithreaded...)
    Sergi
    "Nishant" <[email protected]> wrote:
    >
    Perfect....thanks....but isnt using singleton going to harm the performance..coz
    this is old version of visibroker, and it prbably doesnt multiplex the
    threads??
    "Sergi Vaz" <[email protected]> wrote:
    Hello,
    use the ORB as a "singleton" object : do not invoke ORB.init many times,
    but only
    once, and after cache the corba object on a static variable.
    It's thread safe, the remote invocations will be multiplexed.
    So you will have only "one" reader thread for each corba object, and
    you will
    solve your problem.
    Some vendor are not fully compliant and do not implement the destroy
    method.
    So you do not release the ORB resources, but keep them (it's also more
    performant).
    At this point you will have a "dangling" reader thread only after aredeploy
    (unless
    you shut down the jvm).
    Sergi
    "Nishant" <[email protected]> wrote:
    Andy,
    I am using visibroker 3.2. , and WLS 7.0 , JSK 1.3.1_08 And I do not
    see a method
    called org.omg.CORBA.ORB.destroy.
    Is there an alternative way to achieve this??
    Unless I destroy the threads the connection with the CORBA server would
    remain,
    and this is driving up the CPU usage, for every new connection made.
    Thanks
    Nishant
    Andy Piper <[email protected]> wrote:
    "Nishant" <[email protected]> writes:
    We have a session bean making a corba call, however after the callis susccessful,
    the connection doesn't relinquished. If We do a netstat , the numberof established
    connections keep increasing as more calls are made to the CORBA
    server.
    We am
    facing issues of CPU usage goin upto 100% and never comes below
    97%
    after a lot
    of such calls. Please suggest someway of fixing it.This is most likely because you are using the JDK 1.3 ORB. It doesnot
    release threads until the system exits. This is one reason why using
    the BEA ORB in 8.1 is preferrable.
    If you are using WLS 7.0 then Sun did make a fix in JDK 1.3.1_09 which
    adds a special property to allow ORB.destroy() to release the
    threads. You would have to go through support to find out what this
    property is. If you are using 8.1 then you can use the BEA ORB or
    if
    you need to use the JDK ORB I think that calling ORB.destroy() will
    release the threads for you.
    Hope this helps.
    andy

  • HT4972 I have 2 not mac computers when I start itunes I see these two issues that I do not understand. my cpu usage goes to 100 percent and I can not connect to the I tunes store. or to the Update server to Update my phone.  how can I up date my phone?

    Please do not tell me to Buy a Mac computer.  I all ready have 23 in my family and they are all at least 1200 miles from me now.

    Try reinstalling iTunes. Or, if you already have iOS 5, you can update from the phone.
    About the CPU Usage: if you have an old computer, and you're running the latest version of iTunes, the CPU will go up.

Maybe you are looking for