Cause of high CPU consumption

I created the following test setting:
CREATE TABLE test_p (
        id           NUMBER
      , rand         NUMBER
      , id_pad         VARCHAR2(100)
      , vc_pad          VARCHAR2(50)
) NOLOGGING;
INSERT /*+ APPEND */ INTO test_p (
      id
    , rand
    , id_pad
    , vc_pad
SELECT rownum
     , trunc(dbms_random.value(0,5000))
     , rpad(rownum, 100)
     , rpad('x', 50)
FROM dual
CONNECT BY LEVEL <= 10000000;
CREATE INDEX idx_p_p1 ON test_p (id);
ALTER TABLE test_p ADD CONSTRAINT pk_p PRIMARY KEY (id) USING INDEX idx_p_p1;Now I executed the following statement on several servers (10.2.0.4; most of the servers Solaris 10)
SELECT count(p.rand)
FROM test_p p;One server showed an execution time of 16sec with 13sec "CPU used by this session" and 10sec "db file scattered read". Several retests showed about the same pattern: high CPU usage though there was a low load on the system (24 CPUs and run queue of around 10). I ran the same test on other systems (with less CPUs if this does matter) - the percentage of CPU time / execution time was muuuuch lower on all other systems.
What can be the cause of the high percentage of CPU time?
- because the CPUs are slower on the system with 24CPUs???
- because there might be swaping / Paging???
- because context switches might be more expensive on systems with more CPUs???

Server       execution   CPU     scattered reads
                time    time     time    
Server A     16,2862     13,917     10,2995      
Server b     57,7479     8,4802     52,9839      
Server c     21,2614     3,4114     19,2308       
Server d     41,0842     17,6861     35,039      
Server e     23,6073     5,8746     15,2809      
Server f     46,2391     15,1703     39,9993      

Similar Messages

  • 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

  • High cpu consumption with GRE over IPSEC

    Hi all,
         After applying a gre over ipsec tunnel on one of our branch office, we get high cpu consumption (average 90%).
    Tunnel is applied between Cisco 2851 (C2800NM-ADVIPSERVICESK9-M), Version 12.4(24)T2, (fc2) and
    Cisco CISCO2921/K9 Version 15.0(1)M3.
    Config of the tunnet is as follow :
    - authentication pre-share
    - encryption aes 256
    - hash : sha
    - transform set : esp-aes esp-sha-hmac mode transport
    Routing process is eigrp.
    Could anyone please help me on solving this issue?

    Cool, good start.
    Check "show ip traffic" on both sides, it would be interesting to see what's going on.
    BTW the CPU usage of top process doesn't add up to 90%, there's a possibility it's traffic rate/pattern + features (IP input and pool manager would suggest that).

  • What does com.apple.cts.plugin do? It seems to be causing high CPU consumption by UserEventAgent

    I have been having some trouble over the last couple of days with UserEventAgent process. It constantly consumes over 100% CPU. This of course results in obvious problems of the unit getting really hot, high CPU fan speed and faster battery drain.
    While investigating the root cause, I removed each of the plugins (located at /System/Library/UserEventPlugins/) one by one and restarted the UserEventAgent process (if you force quit the process, it restarts) and each time, observed the impact on CPU consumption.
    After a while, I was able to zero down on "com.apple.cts.plugin". If I removed this file from the plugins folder and forced UserEventAgent to restart, my CPU usage went back to normal with no excess heat or high-speed fan.
    While it seems to solve my problem, I am left wondering what this plugin really does and if by not having it I am putting my system at risk.
    Any help would be appreciated.

    I learnt this the hard-way as well. I am not too sure but probably it has something to do with cerification authority or something like that. BTW I am looking for the answer as well.

  • XML select query causing very high CPU usage.

    Hi All,
    In our Oracle 10.2.0.4 Two node RAC we are facing very high CPU usage....and all of the top CPU consuming processes are executing this below sql...also these statements are waiting for some gc wiat events as shown below.
    SELECT B.PACKET_ID FROM CM_PACKET_ALT_KEY B, CM_ALT_KEY_TYPE C, TABLE(XMLSEQUENCE ( EXTRACT (:B1 , '/AlternateKeys/AlternateKey') )) T
    WHERE B.ALT_KEY_TYPE_ID = C.ALT_KEY_TYPE_ID AND C.ALT_KEY_TYPE_NAME = EXTRACTVALUE (VALUE (T), '/AlternateKey/@keyType')
    AND B.ALT_KEY_VALUE = EXTRACTVALUE (VALUE (T), '/AlternateKey')
    AND NVL (B.CHILD_BROKER_CODE, '6209870F57C254D6E04400306E4A78B0') =
    NVL (EXTRACTVALUE (VALUE (T), '/AlternateKey/@broker'), '6209870F57C254D6E04400306E4A78B0')
    SQL> select sid,event,state from gv$session where state='WAITING' and event not like '%SQL*Net%';
           SID EVENT                                                            STATE
            66 jobq slave wait                                                  WAITING
           124 gc buffer busy                                                   WAITING
           143 gc buffer busy                                                   WAITING
           147 db file sequential read                                          WAITING
           222 Streams AQ: qmn slave idle wait                                  WAITING
           266 gc buffer busy                                                   WAITING
           280 gc buffer busy                                                   WAITING
           314 gc cr request                                                    WAITING
           317 gc buffer busy                                                   WAITING
           392 gc buffer busy                                                   WAITING
           428 gc buffer busy                                                   WAITING
           471 gc buffer busy                                                   WAITING
           518 Streams AQ: waiting for time management or cleanup tasks         WAITING
           524 Streams AQ: qmn coordinator idle wait                            WAITING
           527 rdbms ipc message                                                WAITING
           528 rdbms ipc message                                                WAITING
           532 rdbms ipc message                                                WAITING
           537 rdbms ipc message                                                WAITING
           538 rdbms ipc message                                                WAITING
           539 rdbms ipc message                                                WAITING
           540 rdbms ipc message                                                WAITING
           541 smon timer                                                       WAITING
           542 rdbms ipc message                                                WAITING
           543 rdbms ipc message                                                WAITING
           544 rdbms ipc message                                                WAITING
           545 rdbms ipc message                                                WAITING
           546 rdbms ipc message                                                WAITING
           547 gcs remote message                                               WAITING
           548 gcs remote message                                               WAITING
           549 gcs remote message                                               WAITING
           550 gcs remote message                                               WAITING
           551 ges remote message                                               WAITING
           552 rdbms ipc message                                                WAITING
           553 rdbms ipc message                                                WAITING
           554 DIAG idle wait                                                   WAITING
           555 pmon timer                                                       WAITING
            79 jobq slave wait                                                  WAITING
           117 gc buffer busy                                                   WAITING
           163 PX Deq: Execute Reply                                            WAITING
           205 db file parallel read                                            WAITING
           247 gc current request                                               WAITING
           279 jobq slave wait                                                  WAITING
           319 LNS ASYNC end of log                                             WAITING
           343 jobq slave wait                                                  WAITING
           348 direct path read                                                 WAITING
           372 db file scattered read                                           WAITING
           475 jobq slave wait                                                  WAITING
           494 gc cr request                                                    WAITING
           516 Streams AQ: qmn slave idle wait                                  WAITING
           518 Streams AQ: waiting for time management or cleanup tasks         WAITING
           523 Streams AQ: qmn coordinator idle wait                            WAITING
           528 rdbms ipc message                                                WAITING
           529 rdbms ipc message                                                WAITING
           530 Streams AQ: waiting for messages in the queue                    WAITING
           532 rdbms ipc message                                                WAITING
           537 rdbms ipc message                                                WAITING
           538 rdbms ipc message                                                WAITING
           539 rdbms ipc message                                                WAITING
           540 rdbms ipc message                                                WAITING
           541 smon timer                                                       WAITING
           542 rdbms ipc message                                                WAITING
           543 rdbms ipc message                                                WAITING
           544 rdbms ipc message                                                WAITING
           545 rdbms ipc message                                                WAITING
           546 rdbms ipc message                                                WAITING
           547 gcs remote message                                               WAITING
           548 gcs remote message                                               WAITING
           549 gcs remote message                                               WAITING
           550 gcs remote message                                               WAITING
           551 ges remote message                                               WAITING
           552 rdbms ipc message                                                WAITING
           553 rdbms ipc message                                                WAITING
           554 DIAG idle wait                                                   WAITING
           555 pmon timer                                                       WAITINGI am not at all able to understand what this SQL is...i think its related to some XML datatype.
    Also not able to generate execution plan for this sql using explain plan- getting error(ORA-00932: inconsistent datatypes: expected - got -)
    Please help me in this issue...
    How can i generate execution plan?
    Does this type of XML based query will cause high GC wiat events and buffer busy wait events?
    How can i tune this query?
    How can i find that this is the only query causing High CPU usage?
    Our servers are having 64 GB RAM and 16 CPU's..
    OS is Solaris 5.10 with UDP as protocol for interconnect..
    -Yasser

    I found some more xml queries as shown below.
    SELECT XMLELEMENT("Resource", XMLATTRIBUTES(RAWTOHEX(RMR.RESOURCE_ID) AS "resourceID", RMO.OWNER_CODE AS "ownerCode", RMR.MIME_TYPE AS "mimeType",RMR.FILE_SIZE AS "fileSize", RMR.RESOURCE_STATUS AS "status"), (SELECT XMLAGG(XMLELEMENT("ResourceLocation", XMLATTRIBUTES(RAWTOHEX(RMRP.REPOSITORY_ID) AS "repositoryID", RAWTOHEX(DIRECTORY_ID) AS "directoryID", RESOURCE_STATE AS "state", RMRO.RETRIEVAL_SEQ AS "sequence"), XMLFOREST(FULL_PATH AS "RemotePath"))ORDER BY RMRO.RETRIEVAL_SEQ) FROM RM_RESOURCE_PATH RMRP, RM_RETRIEVAL_ORDER RMRO, RM_LOCATION RML WHERE RMRP.RESOURCE_ID = RMR.RESOURCE_ID AND RMRP.REPOSITORY_ID = RMRO.REPOSITORY_ID AND RMRO.LOCATION_ID = RML.LOCATION_ID AND RML.LOCATION_CODE = :B2 ) AS "Locations") FROM RM_RESOURCE RMR, RM_OWNER RMO WHERE RMR.OWNER_ID = RMO.OWNER_ID AND RMR.RESOURCE_ID = HEXTORAW(:B1 )
    SELECT XMLELEMENT ( "Resources", XMLAGG(XMLELEMENT ( "Resource", XMLATTRIBUTES (B.RESOURCE_ID AS "id"), XMLELEMENT ("ContentType", C.CONTENT_TYPE_CODE), XMLELEMENT ("TextExtractStatus", B.TEXT_EXTRACTED_STATUS), XMLELEMENT ("MimeType", B.MIME_TYPE), XMLELEMENT ("NumberPages", TO_CHAR (B.NUM_PAGES)), XMLELEMENT ("FileSize", TO_CHAR (B.FILE_SIZE)), XMLELEMENT ("Status", B.STATUS), XMLELEMENT ("ContentFormat", D.CONTENT_FORMAT_CODE), G.ALTKEY )) ) FROM CM_PACKET A, CM_RESOURCE B, CM_REF_CONTENT_TYPE C, CM_REF_CONTENT_FORMAT D, ( SELECT XMLELEMENT ( "AlternateKeys", XMLAGG(XMLELEMENT ( "AlternateKey", XMLATTRIBUTES ( H.ALT_KEY_TYPE_NAME AS "keyType", E.CHILD_BROKER_CODE AS "broker", E.VERSION AS "version" ), E.ALT_KEY_VALUE )) ) ALTKEY, E.RESOURCE_ID RES_ID FROM CM_RESOURCE_ALT_KEY E, CM_RESOURCE F, CM_ALT_KEY_TYPE H WHERE E.RESOURCE_ID = F.RESOURCE_ID(+) AND F.PACKET_ID = HEXTORAW (:B1 ) AN
    D E.ALT_KEY_TYPE_ID = H.ALT_KEY_TYPE_ID GROUP BY E.RESOURCE_ID) G WHERE A.PACKET_ID = HEXTORAW (:B1
    SELECT XMLELEMENT ("Tagging", XMLAGG (GROUPEDCAT)) FROM ( SELECT XMLELEMENT ( "TaggingCategory", XMLATTRIBUTES (CATEGORY1 AS "categoryType"), XMLAGG (LISTVALUES) ) GROUPEDCAT FROM (SELECT EXTRACTVALUE ( VALUE (T), '/TaggingCategory/@categoryType' ) CATEGORY1, XMLCONCAT(EXTRACT ( VALUE (T), '/TaggingCategory/TaggingValue' )) LISTVALUES FROM TABLE(XMLSEQUENCE(EXTRACT ( :B1 , '/Tagging/TaggingCategory' ))) T) GROUP BY CATEGORY1)
    SELECT XMLCONCAT ( :B2 , DI_CONTENT_PKG.GET_ENUM_TAGGING_FN (:B1 ) ) FROM DUAL
    SELECT XMLCONCAT (:B2 , :B1 ) FROM DUAL
    SELECT * FROM EQ_RAW_TAG_ERROR A WHERE TAG_LIST_ID = :B2 AND EXTRACTVALUE (A.RAW_TAG_XML, '/TaggingValues/TaggingValue/Value' ) = :B1 AND A.STATUS = '
    NR'
    SELECT RAWTOHEX (S.PACKET_ID) AS PACKET_ID, PS.PACKET_STATUS_DESC, S.LAST_UPDATE AS LAST_UPDATE, S.USER_ID, S.USER_COMMENT, MAX (T.ALT_KEY_VALUE) AS ALTKEY, 'Y' AS IS_PACKET FROM EQ_PACKET S, CM_PACKET_ALT_KEY T, CM_REF_PACKET_STATUS PS WHERE S.STATUS_ID = PS.PACKET_STATUS_ID AND S.PACKET_ID = T.PACKET_ID AND NOT EXISTS (SELECT 1 FROM CM_RESOURCE RES WHERE RES.PACKET_ID = S.PACKET_ID AND EXISTS (SELECT 1 FROM CM_REF_CONTENT_FORMAT CF WHERE CF.CONTENT_FORMAT_ID = RES.CONTENT_FORMAT AND CF.CONTENT_FORMAT_CODE = 'I_FILE')) GROUP BY RAWTOHEX (S.PACKET_ID), PS.PACKET_STATUS_DESC, S.LAST_UPDATE, S.USER_ID, S.USER_COMMENT UNION SELECT RAWTOHEX (A.FATAL_ERROR_ID) AS PACKET_ID, C.PACKET_STATUS_DESC, A.OCCURRENCE_DATE AS LAST_UPDATE, '' AS USER_ID, '' AS USER_COMMENT, RAWTOHEX (A.FATAL_ERROR_ID) AS ALTKEY, 'N' AS IS_PACKET FROM EQ_FATAL_ERROR A, EQ_ERROR_MSG B, CM_REF_PACKET_STATUS C, EQ_SEVERITYD WHERE A.PACKET_ID IS NULL AND A.STATUS = 'NR' AND A.ERROR_MSG_ID = B.ERROR_MSG_ID AND B.SEVERITY_I
    SELECT /*+ INDEX(e) INDEX(a) INDEX(c)*/ XMLAGG(XMLELEMENT ( "TaggingCategory", XMLATTRIBUTES ( G.TAG_CATEGORY_CODE AS "categoryType" ), XMLELEMENT ("TaggingValue", XMLATTRIBUTES (C.IS_PRIMARY AS "primary", H.ORIGIN_CODE AS "origin"), XMLAGG(XMLELEMENT ( "Value", XMLATTRIBUTES ( F.TAG_LIST_CODE AS "listType" ), E.TAG_VALUE )) ) )) FROM TABLE (CAST (:B1 AS T_TAG_MAP_HIERARCHY_TAB)) A, TABLE (CAST (:B2 AS T_ENUM_TAG_TAB)) C, REM_TAG_VALUE E, REM_TAG_LIST F, REM_TAG_CATEGORY G, CM_ORIGIN H WHERE E.TAG_VALUE_ID = C.TAG_VALUE_ID AND F.TAG_LIST_ID = E.TAG_LIST_ID AND G.TAGGING_CATEGORY_ID = F.TAGGING_CATEGORY_ID AND H.ORIGIN_ID = C.ORIGIN_ID AND C.ENUM_TAG_ID = A.MAPPED_ENUM_TAG_ID GROUP BY C.IS_PRIMARY, H.ORIGIN_CODE, G.TAG_CATEGORY_CODE START WITH A.MAPPED_ENUM_TAG_ID = HEXTORAW (:B3 ) CONNECT BY PRIOR A.MAPPED_ENUM_TAG_ID = A.ENUM_TAG_ID
    SELECT /*+  INDEX(e) */ XMLAGG(XMLELEMENT ( "TaggingCategory", XMLATTRIBUTES ( G.TAG_CATEGORY_CODE AS "categoryType" ), XMLELEMENT ( "TaggingValue", XMLATTRIBUTES (C.IS_PRIMARY AS "primary", H.ORIGIN_CODE AS "origin"), XMLAGG(XMLCONCAT ( XMLELEMENT ( "Value", XMLATTRIBUTES ( F.TAG_LIST_CODE AS "listType" ), E.TAG_VALUE ), CASE WHEN LEVEL = 1 THEN :B4 ELSE NULL END )) ) )) FROM TABLE (CAST (:B1 AS T_TAG_MAP_HIERARCHY_TAB)) A, TABLE (CAST (:B2 AS T_ENUM_TAG_TAB)) C, REM_TAG_VALUE E, REM_TAG_LIST F, REM_TAG_CATEGORY G, CM_ORIGIN H WHERE E.TAG_VALUE_ID = C.TAG_VALUE_ID AND F.TAG_LIST_ID = E.TAG_LIST_ID AND G.TAGGING_CATEGORY_ID = F.TAGGING_CATEGORY_ID AND H.ORIGIN_ID = C.ORIGIN_ID AND C.ENUM_TAG_ID = A.MAPPED_ENUM_TAG_ID GROUP BY G.TAG_CATEGORY_CODE, C.IS_PRIMARY, H.ORIGIN_CODE START WITH A.MAPPED_ENUM_TAG_ID = HEXTORAW (:B3 ) CONNECT BY PRIOR A.MAPPED_ENUM_TAG_ID = A.ENUM_TAG_IDBy observing above sql queries i found some hints forcing for index usage..
    I think xml schema is created already...and its progressing as you stated above. Please correct if i am wrong.
    I found all these sql from AWR report and all of these are very high resource consuming queries.
    And i am really sorry if i am irritating you by asking all stupid questions related to xml.
    -Yasser
    Edited by: YasserRACDBA on Nov 17, 2009 3:39 PM
    Did syntax allignment.

  • Xorg causes extrem high cpu load

    Hello,
    from time to time xorg causes a extrem high cpu load on my system.
    http://imageshack.us/f/38/xorgload.png
    After a reboot it should looks like that
    http://imageshack.us/f/16/xorgnormal.png/
    Is there any possibility the figure out why this happens sometimes?
    Thanks for your help!

    cerbie wrote:And, do I know you from somewhere--a little more Windows-centric--or are there many ElkMonsters, out here?
    Hehe, I'm also wondering how many Cerbies are out there...
    Really funny. The internet is a small place, obviously. Us meeting in a Linux forum also explains why nobody writes to the LSML anymore.

  • Flash causes very high CPU load (including high Xorg load)

    Hello everybody,
    this is my first message. I'm an Arch user since a few months, and I'm pretty sure this is the distribution I'll stick to - I pratically love everything about it, especially its simpleness. It's the first Linux that doesn't scare me away with tons of configuration files scattered around dozens of different locations. I've already gotten quite a number of things fixed by myself without even looking at the forum or wiki.
    Well, it seems most of these statements can be found in most first forum posts, so I'll stop to bore you...
    The problem: Playing flash videos or animations causes incredible processor load: Even youtube takes a whole CPU core (or even a little more), top shows around 80% for Xorg and around 20-30% for Firefox (a little less with Opera). I'm on Arch64 with XFCE, Athlon X2 4600+, NVidia 8200 chipset (which has severe driver problems anyway; I'm using the latest NVidia beta driver). I'd try the open source nvidia driver, but (it seems that) there's no support for my chipset yet.
    Currently I'm using Adobe's Flash64 alpha, before that I used various versions fo the nspluginwrapper. 32-bit Flash also caused high CPU load, but it wasn't that much and it may have been related to nspluginwrapper rather than anything else; however I have got the impression that things became even worse with the switch to the x64 alpha (performance-wise; on the other hand, it at least loads faster and doesn't crash anymore). Like said before, youtube takes one core, but it mostly works ok then, but videos with higher resolutions that youtube's are practically impossible to watch (except when there is very little movement in the film). Neither Flash hardware acceleration on nor off makes any difference.
    I've already read half of the web, searched in forums, wikis, etc., but didn't find anybody with the same problem. When Flash64 was released and people were reporting good improvements, I was hoping it would be the same for me...
    What I'm looking for is suggestions of things to try... I'm out of ideas what to try and where to look. It just seems strange that I seem to have problems that others don't...
    Thanks for reading and for any comments.

    cerbie wrote:And, do I know you from somewhere--a little more Windows-centric--or are there many ElkMonsters, out here?
    Hehe, I'm also wondering how many Cerbies are out there...
    Really funny. The internet is a small place, obviously. Us meeting in a Linux forum also explains why nobody writes to the LSML anymore.

  • High cpu consumption

    Hello,
    in a Confluence installation, running on cluster of WebLogic Servers 8.1.4, HP-UX, Java 1.4.2, we observe very often the app server processes keeping quite high levels of CPU consumption.
    Each process can fully steadily occupy two/three CPUs or more.
    We managed to isolate the threads that seem to be responsible for this, the thread stacks look like the following:
    "ReplicatedCache" daemon prio=10 tid=018e5a30 nid=163 lwp_id=9303762 runnable [8ce00000..8ce00dc0]
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.validatePollArray(Service.CDB:15)
    - waiting to lock <a8964a20> (a com.tangosol.coherence.component.util.WindowedArray)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.onNotify(Service.CDB:22)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.ReplicatedCache.onNotify(ReplicatedCache.CDB:3)
    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:35)
    at java.lang.Thread.run(Thread.java:534)
    These threads seem to be waiting to lock an object, but they are constantly in "runnable" state.
    Waiting AND Runnable at the same time. Not surprisingly, the eat up CPU clocks.
    Any help is appreciated.
    Thanks
    F.Costa

    Unfortunately I don't have the full dump anymore.
    Anyway, this is another case (Runnable AND waiting for a lock)
    "PacketReceiver" daemon prio=2 tid=0126a3e8 nid=154 lwp_id=1009037 runnable [13b00000..13b00530]
    at com.tangosol.util.SafeLinkedList.add(SafeLinkedList.java:91)
    - waiting to lock <2e8a4288> (a com.tangosol.util.RecyclingLinkedList)
    at com.tangosol.coherence.component.util.queue.ConcurrentQueue.add(ConcurrentQueue.CDB:6)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketReceiver.onMessage(PacketReceiver.CDB:7)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketReceiver.checkReadyMessages(PacketReceiver.CDB:33)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketReceiver.onPacketDirected(PacketReceiver.CDB:63)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketReceiver.onPacket(PacketReceiver.CDB:44)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.packetProcessor.PacketReceiver.onNotify(PacketReceiver.CDB:31)
    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:35)
    at java.lang.Thread.run(Thread.java:534)
    Thanks
    Franco

  • Firefox 6 has high cpu consumption

    Hi,
    I have just upgraded from Firefox 5.x to 6.0. I am using Windows 7 32-bit on a Dell Laptop, Core 2 duo, 4 GB RAM.
    I have observed that FF seems to consume a lot more CPU than before.
    Also, the memory footprint keeps changing rapidly. I don't have a physical memory issue.
    The worrying factor is intermittent but unpredictable recurrence of high cpu usage when i open a new site, etc.
    Adobe plugin does work but it is a bug CPU hog.
    Please help provide a resolution as it seems like going back to 5.x is a better option at the moment since i didn't have much of an issue with FF 5.x.
    Thanks,
    Anand

    Same symptoms as well. Have tried starting in safemode, disabling addons etc. as detailed in solutions elsewhere on this site, but the problem remains. Have completely uninstalled and reinstalled Firfox as well, but no good.
    The problem happens instantly whenever I open a link in a new tab or have multiple tabs. The high load (95-100%) does not reduce from this point on and the only solution is to kill Firefox. I'm running XP SP3 on AMD 64 platform.

  • High CPU Consumption when Displaying Animated GIFs

    Hi -
    Within our application we utilize a lot of the standard AJAX loading icons to indiciate that data is downloading/loading. What we've noticed, however, is that when animated GIFs are being displayed they are consuming between 5 and 8 percent of the CPU. I've confirmed it's definitely the GIF that is causing the CPU usage to increase so dramatically.
    Has anyone else experienced this? Do you have work arounds? Does anyone have any idea why performance is so bad on this?
    Does using an SWF instead help?
    Thanks.

    Hello Steve.
    Although I'm not really sure what you mean by "content plugins dialogue", you may be having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not coming from one of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] and select ''Disable all add-ons''. If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and theme. You can troubleshoot plugins the same way.
    If you want support for one of your add-ons, you'll need to contact its author.

  • [SOLVED] External USB mouse causes very high CPU load

    Hello,
    this is far from a scientific test, but if I launch a cpu load monitor and wiggle the mouse cursor over it with the built-in touchpad, the CPU load goes up by 3-4%. When I do the same with a USB mouse, it's 30-40%. Also, in a 3D game, moving the camera around with the touchpad drops the FPS from 35 to 25, while doing the same with the USB mouse drops it to about 5-10 FPS, so something is definetely wrong here.
    If I don't touch the mouse, it doesn't produce any load.
    The CPU load comes from both X and the window over which I am wiggling the cursor, whether it is a terminal, browser or whatever, with the window contributing about 2/3 of it. If I don't do it over a window, the excessive load comes only from X and is much smaller (but still several times bigger than the load the touchpad produces).
    I have no idea how to even tackle the issue.
    I run Arch 64, on an Asus 1201N laptop. The mouse is Logitech G5 (laser mouse).
    Last edited by Porost (2011-09-23 19:36:04)

    Have you tried with a different mouse, to check if it is specific to this mouse /driver? Does lowering the polling rate help? (https://wiki.archlinux.org/index.php/Mouse_Polling_Rate) .I remember vaguely that laptop mode caused this too.. search the forums for mouse and cpu.
    Last edited by rwd (2011-09-23 19:24:30)

  • Flash causing abnormally high CPU usage and overheating when browsing internet

    Hello,
    Flash Player (Safari Internet plug-in) spikes to 110-120% of my CPU usage while browsing the internet. This also causes my computer to overheat. (This also occurs when using Firefox)
    I am running OSX 10.8.4 and I am using Adobe Flash Player 11.8.800.94
    I have tried uninstalling through the Adobe uninstaller and resetting Safari and my computer.
    I contacted apple care and they said it was a problem with Adobe and I needed to contact you guys.
    Thank you for your help.
    Justin

    The link you posted is fine. its only around 9%
    Here is an example of a page that causes my CPU to freak out
    http://forums.prosportsdaily.com/forumdisplay.php?143-Soccer

  • How can I identify the cause of high CPU usage

    Just recently, my Mac Book Pro CPU usage has gone through the roof, and the temperature quickly rises to around 80ºC, with the fans are working pretty hard to keep it there.
    I've looked in Activity Monitor, but there's nothing unusual as far as I can tell in the list of processes, but it does show that the system is continually using between 30% and 40% of the CPU all the time, even if I have no applications running. From a cold start, it starts using that much CPU as soon as OSX loads.
    Here's a screen grab of the activity monitor window
    One thing I thought was strange is the amount of Virtual Memory that Growl uses (37gb) but according to the growl website, that's not unusual. I've also tried quitting Growl, but it makes no difference.
    I have 30GB of free space left on my HD.
    Any ideas? I'm worried my Mac Book might be on it's last legs, so I'm hoping and praying that this is something simple-ish.
    thanks
    -t

    Your fellow MacBook Pro users would be found here:
    http://discussions.apple.com/category.jspa?categoryID=190
    http://www.apple.com/support/macbookpro/
    Might also want to check out the Mac OS X Snow Leopard discussions.

  • High CPU consumption with repaint while dragging

    Hi! I certainly hope someone can help me with this. I am building a graphical user interface for a graph with custom nodes and edges, the nodes being draggable. I have tried making each network component (node or edge) a JComponent. Now, I'm trying using only one JPanel to paint all the components. Either way, I find that dragging takes up too much CPU % especially when using full screen graphics, usually around 92%. And that is on a machine with >1.9GHz.
    It does not really make much of a difference when I paint outlines of the components while dragging. Any ideas about this? Thanks.
    My runnable test code is rather long so I've uploaded it to : http://web.mit.edu/jabos/www/SyncTest/GUILoad2.java.
    -Bosun

    Comments about changes to your code:
    1 - trouble in rendering with setOpaque(false). Set this to true and add super.paintComponent(g) in paintComponent to take care of background paint updates
    2 - had to doctor your ConnComp class; the constructor was under construction...
    3 - I'm using j2se 1.4 so I converted your:
    ArrayList generics to the old Object casts and
    the JFrame setPreferredSize to setSize
    This runs okay now. The highest cpu usage numbers I saw were 52% in full screen and 37% in regular mode (2.6 GHz).
    The painting part seems okay; I think the trouble is in excessive data storage and manipulation. I would re&#8211;design your program to eliminate all the type checking with the instanceof operator. Specifically I would try to use only one ArrayList for the node objects and draw the connection lines between them inside paintComponent depending on how a boolean is set, eg if(showLines). As an aside, GradientPaint is for fill operations and will not benefit your line display.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.util.ArrayList;
    * This demo paints all network components in a single JComponent
    * @author jabos
    public class DragTest extends JPanel {
         * all components
        public ArrayList comps;
        public ArrayList compsDragged; // actually only RectComps
         * arraylist of all connection components
        public ArrayList conncomps;
        public boolean dragging = false, repaintWhileDragging = true;
        Point2D initp = null;
        public JLabel repaintDrag;
        public DragTest() {
            repaintDrag = new JLabel("repaintWhileDragging : " + repaintWhileDragging);
            repaintDrag.setForeground(Color.MAGENTA);
            add(repaintDrag);
            add(new JLabel("Press \"R\" to change repaint protocols during dragging"));
            comps = new ArrayList();
            compsDragged = new ArrayList();
            conncomps = new ArrayList();
            addMouseMotionListener(new MouseMotionAdapter() {
                public void mouseDragged(MouseEvent e) {
                    //* // Remove initial slash to disable repainting while dragging
                    if (repaintWhileDragging) {
                        Point2D pp = e.getPoint();
                        AffineTransform t = AffineTransform.getTranslateInstance(
                                                    pp.getX() - initp.getX(),
                                                    pp.getY() - initp.getY());
                        initp = pp; // reset initp
                        for (int j = 0; j < compsDragged.size(); j++) {
                            Comp comp = (Comp)compsDragged.get(j);
                            if (comp instanceof RectComp)
                                comp.updateCompLocation(t);
                        // and again to update ConnComps
                        for (int j = 0; j < conncomps.size(); j++) {
                            Comp comp = (Comp)conncomps.get(j);
                            if (comp instanceof ConnComp)
                                comp.updateCompLocation(t);
                        dragging = true;
                        repaint();
                    dragging = true;
            addMouseListener(new MouseAdapter() {
                // does final repaint if dragging just finished
                public void mouseReleased(MouseEvent e) {
                    if (dragging) {
                        Point2D pp = e.getPoint();
                        AffineTransform t = AffineTransform.getTranslateInstance(
                                                    pp.getX() - initp.getX(),
                                                    pp.getY() - initp.getY());
                        for (int j = 0; j < compsDragged.size(); j++) {
                            Comp comp = (Comp)compsDragged.get(j);
                            if (comp instanceof RectComp)
                                comp.updateCompLocation(t);
                        // and again to update ConnComps
                        for (int j = 0; j < conncomps.size(); j++) {
                            Comp comp = (Comp)conncomps.get(j);
                            if (comp instanceof ConnComp)
                                comp.updateCompLocation(t);
                    repaint();
                    dragging = false;
                    setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
                // Updates list of components being dragged
                public void mousePressed(MouseEvent e) {
                    compsDragged.clear();
                    initp = e.getPoint();
                    for (int j = 0; j < comps.size(); j++) {
                        Comp comp = (Comp)comps.get(j);
                        if (comp.graphic.contains(initp))
                            compsDragged.add(comp);
                    setCursor(Cursor.getPredefinedCursor(Cursor.MOVE_CURSOR));
            addKeyListener(new KeyAdapter() {
                public void keyReleased(KeyEvent e) {
                    if(e.getKeyCode() == KeyEvent.VK_R) {
                        repaintWhileDragging = !repaintWhileDragging;
                        repaintDrag.setText("repaintWhileDragging : " +
                                             repaintWhileDragging);
    //        setOpaque(false);
            setFocusable(true);
            requestFocusInWindow();
        public static void main(String[] args) {
            GraphicsDevice device =
                GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();
            JFrame f = new JFrame("GUILOAD2", device.getDefaultConfiguration());
            //* // remove initial slash to disable full screen
            device.setFullScreenWindow(SwingUtilities.getWindowAncestor(f));
            //needs to be set AFTER fullscreenmode so that the toolbar is NOT draggable!
            f.setExtendedState(JFrame.MAXIMIZED_BOTH);
                // enable use of Look and Feel
                f.setUndecorated(true);    // Set false, EE is still minimizable
                f.getRootPane().setWindowDecorationStyle(JRootPane.FRAME);
            f.setBounds(GraphicsEnvironment.getLocalGraphicsEnvironment().
                                getMaximumWindowBounds());
            DragTest p = new DragTest();
            p.setBackground(Color.WHITE);
            RectComp[] rc = new RectComp[100];
            int n = -1, x = 30, y = 30, b = 100, inc = 40;
            // add REctComps
            for (int i = 0; i < 10; i++) {
                p.add(rc[++n] = new RectComp(new Point2D.Double(x += inc, y += inc),
                                             new Color(x % 255, y % 255, (b += 10) % 255)));
            x = 34; y = 32; b = 32;
            // add ConnComps
            while (n > 0) {
                p.add(new ConnComp(rc[n--], rc[n],
                                   new Color((x += inc) % 255, (y += inc) % 255,
                                             (b += inc) % 255),
                                   new Color((x += inc) % 255, (y += inc) % 255,
                                             (b += inc) % 255)));
            f.setContentPane(p);
            f.setSize(700, 700);
            makeFramex(f, false);
            /* // remove initial slash to disable full screen; Also, uncomment above
            f.setResizable(false);
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.setIgnoreRepaint(true);
            f.setVisible(true);
        public static void makeFramex(JFrame frame, boolean resizable) {
            frame.setSize(frame.getSize());
    //        frame.setResizable(resizable);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    //        frame.pack();
            frame.setVisible(true);
         * Adds network component c to this simulation
         * @param c
        public void add(Comp c) {
            comps.add(c);
            if (c instanceof ConnComp) {
                conncomps.add((ConnComp)c);
        public void paintComponent(Graphics g) {
            super.paintComponent(g);
            Graphics2D g2D = (Graphics2D) g;
            g2D.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                 RenderingHints.VALUE_ANTIALIAS_ON);
            for (int j = 0; j < comps.size(); j++) {
                Comp comp = (Comp)comps.get(j);
                //for (Comp i : dragging ? compsDragged : comps) {
                try {
                    g2D.setPaint(comp.color);
                    if (comp instanceof ConnComp) {
                        g2D.setStroke(((ConnComp) comp).compStroke);
                        g2D.draw(comp.graphic);
                    if (comp instanceof RectComp)
                        g2D.fill(comp.graphic);
                } catch (Exception e) {
                    e.printStackTrace();  //To change body of catch statement
                                          // use File | Settings | File Templates.
         * A network component that simulates a node
        private static class RectComp extends Comp {
            RectComp(Point2D centero, Paint c) {
                super(c);
                center = centero;
                graphic = new Ellipse2D.Double(center.getX() - radius,
                                  center.getY() - radius, radius * 2 - 2, radius * 2 - 2);
            public void updateCompLocation(AffineTransform t) {
                graphic = t.createTransformedShape(graphic);
                Rectangle2D r = graphic.getBounds2D();
                center = new Point2D.Double(r.getCenterX(), r.getCenterY());
                //System.out.println("newCenterX=" + r.getCenterX());
         * A network component that simulates a connection between two nodes
        private static class ConnComp extends Comp {
            Stroke compStroke;
            RectComp origin, destination;
            Paint color;
            ConnComp(RectComp origino, RectComp desto, Color c1, Color c2) {
                super(c1);
                if (c2 != null)
                    color = new GradientPaint(origino.center, c1, desto.center, c2);
                else
                    color = c1;
                graphic = new Line2D.Double(origino.center, desto.center);
                this.origin = origino;
                this.destination = desto;
                compStroke = new BasicStroke(3);
    //            updateCompLocation(new AffineTransform());
            public void updateCompLocation(AffineTransform t) {
                ((Line2D)graphic).setLine(origin.center, destination.center);
                if(color instanceof GradientPaint)
                    color = new GradientPaint(((Line2D)graphic).getP1(),
                                              ((GradientPaint)color).getColor1(),
                                              ((Line2D)graphic).getP2(),
                                              ((GradientPaint)color).getColor2());
                //System.out.println("newLineX:" + ((Line2D) graphic).getX1() +
                //                     "---" + ((Line2D) graphic).getX2());
         * demo Superclass for all network components
        private abstract static class Comp {
            Point2D center;
            Shape graphic;
            int radius = 20;
            Paint color;
            Comp(Paint c) {
                color = c;
             * Updates internal parameters of Comp necessary for correct repaint
             * @param t
            public abstract void updateCompLocation(AffineTransform t);
    }

  • High CPU consumption with Pre 8

    Why does Pre 8 continue to run after I close it?  Running Vista Home Premium OS.  Each time I shut down Pre, I notice that my CPU usage meter stays at nearly 50%.  I have waited overnight and the usage does not go down even though the computer is not being used.  I have disconneced from the internet and that does not help.  The only way I can get the usage back to the normal, idle, 1-2 % is to open Task Manager and shut down Premier Elements.
    I have also uninstalled Pre, defraged my drives and then re-installed it.  No change.
    All other applications close down when I tell them to.

    Thanks again Steve.  I reloaded everything two more times and still have the same problem.  It seems that once I start Premiere the CPU will not come back to its normal rest value, no matter what I do.  Task manager still shows that Premiere is still running even though there is no other evidence that it is running. Once I stop the application with task manager, things seem to be ok.
    BTW I did update to the rev suggested by Adobe and that didnt seem to make any difference.
    Many thanks for your efforts.  I guess tech support will be my next avenue.
    John

Maybe you are looking for