CPU usage for Image acquiring by using Imaq1411

Hello,
Running the IMAQ program makes the CPU usage almost 100%. I tested it out with my own program and the example program you provided. So far I haven't have any clue about this.
I've tried to set the ROI as the help said (Left, Top, Right, Bottom), but failed. I had to set that in the order of Left, Bottom, Right and Top on my program.
With the Snap.vi, I set up the ROI and step x, y. The original image size is 640X480. But I just want to see the center part (160X120) of whole image depending on the Zoom (1:1, 1:2, 1:4). To do that, I programmtically set the ROI and Step (x, y) to be like the followings, which I think makes the same image size (160X120) but a different zoom.
(0, 480, 640,0) and (4, 4) for ZoomX1
(1:1)
(160, 360, 480, 120) and (2, 2) for ZoomX2 (1:2)
(240, 300, 400, 180) and (1, 1) for ZoomX4 (1:4)
Does it make sense?
Thanks, GraceSun"

Hello.
After looking into your question a little more carefully, it seems that you are essentially trying to zoom in on the center of your image. To do this, you should not need to use the Step X, Step Y inputs at all, you should simply have to setup the ROI descriptor to get the selected part of the image. If you would like all images to be the same size, despite the zoom, you should use the horizontal and vertical scaling parameters. See the following KnowledgeBase for more info on these parameters.
Again, I would like to reiterate that the correct order for the ROI should be Left, Top, Right, Bottom. That being said, however, 'If it aint broke, don't fix it
You are definitely on the right track to getting the zooming feature you want down.
Regards,
Colin C.
Applications Engineering
Colin Christofferson
Community Web Marketing
Blog

Similar Messages

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

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

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

  • How do I tap into "CPU" usage for a FP indicator

    I have built a realy effective database cruncher...With exeptionally easy graphing functionality. The problem is the opperators will not let the dbase read / filter before they start doing the elevator button thing. I currently have the clocks set to use aprox 60~75% CPU during the read and/or filter. How do I tap into the pc cpu usage for an indicator. I think it will lower there pain if they can see that the pc is working hard.
    Message Edited by MHarrington on 04-30-2007 10:12 PM

    Open your example finder and look for the example "SimpleTaskMonitor.vi". (search for .NET)
    LabVIEW Champion . Do more with less code and in less time .

  • HP Load Runner: CPU usage for this load generator has exceeded 80%

    Recently I have downloaded LR 12.1 and installed.   Observed error  CPU usage for this load generator has exceeded 80% when executing the test with 5 user load using AJAX Trulcient IE script. For each virtual user in the script one TcWebIELauncher.exe hads been initiated and running during the test execution. Each TcWebIELauncher.exe instance is taking min 14% CPU utilization and CPU utilization for 5 users is around 75% at the time of test execution.  What is the reason behind this high CPU utilization for this less user load?. Please suggest how to handle and fix the issue.
    regards,
    Sreekanth

    You can download Trail version of Loadrunner from HP site.  That's true. all HP testing tools products are license based.
    i) If you want to use for SAP applications, you need to have SAP protocals (SAP GUI and SAP WEB). So how this licenses works is, if you want to buy 50 Vusers for SAP it cost you around $ 32k and it depends on company discount. so you need to work with HP Sales team to get the quotation then based on no of Vusers and you can procure it.
    ii) As for as i know, there is no  HP LR integration with Solution Manager.
    let me know if you have any questions.

  • Sar CPU usage for each processor

    In Linux, mpstat allows you to specify a specific processor or all processors when getting CPU % usage. In OS X, sar looks pretty limited as I can only get CPU usage for all processors. I'm trying determine how many cores are in use (basically for figuring out how many single cores are available for jobs if im submitting 1 handbrake job per core)

    hello,
    I sugget to create a time series chart with the following SQL:
    with p as (select target_guid,property_value cpucount from mgmt$target_properties where property_name='CPUCount' and property_type='INSTANCE')
    select h.target_name,
    h.rollup_timestamp,
    h.average/p.cpucount pct_cpu
    from mgmt$metric_hourly h,p
    where h.metric_name='instance_efficiency'
    and h.metric_column='cpuusage_ps' and h.target_guid in (select target_guid from mgmt$db_dbninstanceinfo where target_type='oracle_database' and host=??EMIP_BIND_TARGET_GUID?? )
    and h.rollup_timestamp between ??EMIP_BIND_START_DATE?? and ??EMIP_BIND_END_DATE??
    and p.target_guid=h.target_guid
    order by 1,2
    You have to select the host target in the report and period is customizable.
    I hope this is correct and answers your question.
    Regards,
    Noel

  • High CPU usage for webservd

    we are seeing a very high CPU usage for webservd. looking at the java stack it seems to be threads communicating to sun one LDAP server.
    Anyone experienced this? is there a know issue in Java LDAP SDK?
    Sun ONE Web Server 6.1SP4 B12/16/2004
    17393 root 3741M 1655M cpu0 10 0 59:30:33 8.8% webservd/6235
    17393 root 3741M 1655M cpu16 10 0 223:58:38 8.7% webservd/5043
    17393 root 3741M 1655M cpu17 10 0 545:54:49 8.7% webservd/2902
    17393 root 3741M 1655M run 10 0 379:07:26 8.3% webservd/3996
    17393 root 3741M 1655M cpu1 30 0 213:54:52 8.3% webservd/5115
    17393 root 3741M 1655M run 20 0 56:03:44 8.2% webservd/6265
    17393 root 3741M 1655M cpu18 30 0 556:18:29 8.2% webservd/2830
    17393 root 3741M 1655M cpu3 30 0 548:09:11 8.2% webservd/2890
    17393 root 3741M 1655M run 20 0 328:18:42 8.1% webservd/4359
    17393 root 3741M 1655M cpu2 30 0 5:11:16 8.1% webservd/6722
    17393 root 3741M 1655M run 20 0 181:49:48 8.1% webservd/5322
    17393 root 3741M 1655M run 20 0 251:44:35 7.8% webservd/4857
    [02/Aug/2006:15:06:16] warning (17393): CORE3283: stderr: "BlockedThread" daemon prio=1
    0 tid=0x01110650 nid=0xb56 runnable [0x1714f000..0x1714fc10]
    [02/Aug/2006:15:06:16] warning (17393): CORE3283: stderr: at netscape.ldap.LDAPSe
    archListener.nextMessage(LDAPSearchListener.java:86)
    [02/Aug/2006:15:06:16] warning (17393): CORE3283: stderr: at netscape.ldap.LDAPSe
    archListener.getResponse(LDAPSearchListener.java:77)
    [02/Aug/2006:15:06:16] warning (17393): CORE3283: stderr: at com.iplanet.services
    .ldap.event.BlockedThread.run(BlockedThread.java:121)
    [02/Aug/2006:15:06:16] warning (17393): CORE3283: stderr: at java.lang.Thread.run
    (Thread.java:595)

    forgot to mention: OS is solaris 9

  • Methods to reduce the CPU Usage for painting the image

    Hi,
    I have developed an application to view images from an IP camera. By this I can simualtaneously view images from about 25 cameras. The problem is that the CPU Usage increases as the no of player increases. My Player is JPanel. which continuously paints the images from camera. The method 'paintImage' is called from another thread's run method. This thread is responsible for taking jpeg images from IP camera.
    Here is the code for this.
    public void paintImage(Image image, int fps) {
    try {
      int width = this.getWidth();
      addToBuffer(image);
      currentImage = image;
      Graphics graphics = this.getGraphics();
      if (isRunning && graphics != null) {
       graphics.drawImage(image, 0, 0, getWidth(), getHeight(), this);
       if(border ==true){
        graphics.setColor(Color.RED);
                          graphics.drawRect(0,0,getWidth()-1, getHeight()-1);
       graphics.setColor(Color.white);
       graphics.setFont(new Font("verdana", Font.ITALIC, 12));
       graphics.drawString("FPS : " + fps, width-60, 13);
       this.fps = fps;
       if (isRandomRecord) {
        graphics.setColor(new Color(0, 255, 0));
        graphics.fillArc((getWidth() - 10), 5, 10, 10, 0, 360);
    } catch (Exception e) {
      e.printStackTrace();
    Can someone please help me to solve this problem so that the CPU usage can be reduced.

    Can you give me more detail information about how to use
    an automated profiling tool You run it and excercise your app. Then it presents stats on number of times each method was called and time spent in each method, plus other stuff. Using those two stats you can zero in on the areas that are most likely to yield resullts.

  • Question about CPU usage for video playback

    I've asked a related question already on the Safari forum, but would like some clarification, please.
    The speed of this iMac is 400 MHZ and whenever I go to YouTube or almost any other site that requires video I see that the CPU usage can peak way up at 80% or more. I have Flash 9 installed which has a minimum of 500 MHZ, so I get pretty choppy video, but that's not the issue here. I can live with that. I keep any other applications closed. I'm often running a small fan over the top of the iMac to help vent the buildup of heat. I can monitor the temperature at the Hard Drive and I suppose that gives me an idea, of sorts, about general temperature conditions inside.
    The answer I got was that this kind of CPU usage could be detrimental to the processor as it builds up excessive heat and to keep this kind of video to a minimum.
    My question is can anyone roughly suggest what a maximum time on YouTube, for example, would be, 2 minutes, 5 minutes, is 10 minutes too long? I have plenty of RAM at 768. Some guidelines?
    Thanks.

    Hey WZZZ,
    Thanks for the star and kind words.
    I'm the de facto Mac guy at my kids' school and we have around 25 iMac Slot Loaders working there. You can imagine they get abused quite a bit. There are 10 running Garage Band in the Music Department. That puts a tremendous strain on the CPU and I'm actually surprised that they run it so well. My son had a 600 iMac running GarageBand, he was complaining that it was getting jumpy and when I looked at it he was running 10 unlocked tracks simultaneously! So now he has an eMac G4 800 and that of course runs a lot better.
    So to sum up, with all the abuse of those machines in terms of the CPUs the problems I have with them have nothing to do with that. The problems have more to do with parts of the OS that they toss, headphone jacks abused, CDs jammed in the slots, and the like.
    A couple of other related things. I've got Hardware Monitor, demo, installed and I think it reported it could only find the hard drive sensor, if I'm not mistaken - nothing else on this Mac with a sensor. Is that right?
    I see references to CPU sensors on 400 iMacs but on the 400 I have here for repair Temperature Monitor reports no sensors. Perhaps there were different versions of the 400.
    But very good to hear that the fan is a good idea for CRT related things. Should I keep the fan running-mostly for that hard core CRT stuff- even if the computer is sleeping and the room temp. is only around 62-64 F.? (We need to put on warm clothes to sit in front of this thing now, but worth it to keep this old machine happy).
    On the one I did the fan pushed the airflow in the direction of the passive flow of the iMac - in at the bottom and out the grill by the handle.
    One more question, more out of curiosity than anything else: If I move this small clip-on fan close to the case - right now it's about 3 feet away and the image is stable - the screen begins to flicker and flutter quite a lot. My theory is that that's happening not necessarily because of electro-magnetic interference from the fan motor, but rather, because the back of the tube is getting cooled unevenly. What do you think?
    Well the classic failures that I see in the iMac are in this order:
    1) Dielectric breakdown of the flyback transformers internal insulation. This is heat/age related and a common problem with CRTs in general.
    2) Breakdown of high voltage electolytic capacitors and regular high voltage capacitors on the neck board and PAV supply.
    3) Solder problems with the flyback itself. This is diagnosed by the upside down boot technique.
    I used to repair these problems but now it's easier for me to swap the Firewire boards into working 350s. I've got 12 of those in the basement currently.
    Richard

  • High CPU usage during 15 acquiring analog input and write to file (suggestion needed)

    Helllo everybody,
          I have a problem about the usage of CPU now i am using a realtime target (PXI-8186) with Daq (PXI-6259) to get 15 analog signals at the rate of 10kHz
    at first i try to get signal at different rate but i found out that all of the channels share the same clock so i get the highest frequency that i desired  after that i do 
    some data manipulation with displaying charts  and use shift register to stack data in array of string  finally i write the data to spreadsheet every  5 second, by doing this the CPU usage
    is always 100% and reduce by the time the file is recordedto 71% or so and then start to increase to 100% again. I think  the things that make CPU usage too high are
    1. Time loop: because i set the period to be 10ms maybe this is too low.
    2. The shift registered: may be it use too much overhead memory but i do not know other method to stack data before writing to a file 
    3. RAM too low: The RAM of PXI is only 256mb
    4. Poor program arrangement: Because i am new to labview the program is not arranging correctly or i may use some inappropriate structure.
    My program is very messy sorry about it because i avoid using SubVI and i am new to labview. Please help any suggestion is apperciated. Thanks in advance.
    Best regard
    Wuttikrai
    Attachments:
    target save.vi ‏328 KB

    It looks like you are writing your data to disk every so often.  For that reason, I recommend making it based on the number of samples you have instead of the time.  With that you can preallocate your arrays with constants going into the shift registers.  You then use Replace Array Subset to update your arrays.  When you write to the file, make sure you go back to overwriting the beginning of your array.  This will greatly reduce the amount of time you spend reallocating memory and will reduce your memory usage.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • High cpu usage for garbage collection (uptime vs total gc time)

    Hi Team,
    We have a very high cpu usage issue in the production.
    When we restart the server, the cpu idle time would be around 95% and it comes down as days goes by. Today idle cpu is 30% and it is just 6th day after the server restart.
    Environemnt details:
    Jrockit version:
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
    BEA WebLogic JRockit(TM) 1.4.2_05 JVM R24.4.0-1 (build ari-38120-20041118-1131-linux-ia32, Native Threads, GC strategy: parallel)
    Gc Algorithm: JRockit Garbage Collection System currently running strategy: Single generational, parallel mark, parallel sweep
    Number Of Processors: 4
    Max Heap Size: 1073741824
    Total Garbage Collection Time: 21:43:56.5
    Uptime: 114:33:4.1
    Total Garbage Collection Count: 420872
    Total Number Of Threads: 198
    Number Of Daemon Threads: 191
    Can you guys please tell me what would be problem in the server which causing the high cpu usage?
    One more thing I would like to know is that why the total number of threads is 198 when we specified the Executor pool size as 25? I agree that weblogic would create some threads for its maintenance but around 160 threads!!! something is wrong I guess.
    Santhosh.
    [email protected]

    Hi,
    I'm having a similar problem, but haven't been able to resolve it yet. Troubleshooting is made even harder by the fact that this is only happening on our production server, and I've been unable to reproduce it in the lab.
    I'll post whatever findings I have and hopefully we'll be able to find a solution with the help of BEA engineers.
    In my case, I have a stand-alone Tomcat server that runs fine for about 1-2 days, and then the JVM suddenly starts using more CPU, and as a result, the server load shoots up (normal CPU utilization is ~5% but eventually goes up to ~95%; load goes from 0.1 to 4+).
    What I have found so far is that this corresponds to increased GC activity.
    Let me list my environment specs before I proceed, though:
    CPU: Dual Xeon 3.06GHz
    RAM: 2GB
    OS: RHEL4.4 (2.6.9-42.0.2.ELsmp)
    JVM build 1.5.0_03-b07 (BEA JRockit(R) (build dra-45238-20050523-2008-linux-ia32, R25.2.0-28))
    Tomcat version 5.5.12
    JAVA_OPTS="-Xms768m -Xmx768m -XXtlasize16k -XXlargeobjectlimit16k -Xverbose:memory,cpuinfo -Xverboselog:/var/log/tomcat5/jvm.log -Xverbosetimestamp"
    Here are excerpts from my verbose log (I'm getting some HT warning, not sure if that's a problem):
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Detected SMP with 2 CPUs that support HT.
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Trying to determine if HT is enabled.
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Trying to read from /dev/cpu/0/cpuid
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Warning: Failed to read from /dev/cpu/0/cpuid
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Trying to read from /dev/cpu/1/cpuid
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Warning: Failed to read from /dev/cpu/1/cpuid
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] HT is: supported by the CPU, not enabled by the OS, enabled in JRockit.
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Warning: HT enabled even though OS does not seem to support it.
    [Fri Oct 20 15:54:55 2006][22855][memory ] GC strategy: System optimized over throughput (initial strategy singleparpar)
    [Fri Oct 20 15:54:55 2006][22855][memory ] heap size: 786432K, maximal heap size: 786432K
    [Fri Oct 20 16:07:30 2006][22855][memory ] Changing GC strategy to generational, parallel mark and parallel sweep
    [Fri Oct 20 16:07:30 2006][22855][memory ] 791.642-791.874: GC 786432K->266892K (786432K), 232.000 ms
    [Fri Oct 20 16:08:02 2006][22855][memory ] 824.122: nursery GC 291998K->274164K (786432K), 175.873 ms
    [Fri Oct 20 16:09:51 2006][22855][memory ] 932.526: nursery GC 299321K->281775K (786432K), 110.879 ms
    [Fri Oct 20 16:10:24 2006][22855][memory ] 965.844: nursery GC 308151K->292222K (786432K), 174.609 ms
    [Fri Oct 20 16:11:54 2006][22855][memory ] 1056.368: nursery GC 314718K->300068K (786432K), 66.032 ms
    [Sat Oct 21 23:21:09 2006][22855][memory ] 113210.427: nursery GC 734274K->676137K (786432K), 188.985 ms
    [Sat Oct 21 23:30:41 2006][22855][memory ] 113783.140: nursery GC 766601K->708592K (786432K), 96.007 ms
    [Sat Oct 21 23:36:15 2006][22855][memory ] 114116.332-114116.576: GC 756832K->86835K (786432K), 243.333 ms
    [Sat Oct 21 23:48:20 2006][22855][memory ] 114841.653: nursery GC 182299K->122396K (786432K), 175.252 ms
    [Sat Oct 21 23:48:52 2006][22855][memory ] 114873.851: nursery GC 195060K->130483K (786432K), 142.122 ms
    [Sun Oct 22 00:01:31 2006][22855][memory ] 115632.706: nursery GC 224096K->166618K (786432K), 327.264 ms
    [Sun Oct 22 00:16:37 2006][22855][memory ] 116539.368: nursery GC 246564K->186328K (786432K), 173.888 ms
    [Sun Oct 22 00:26:21 2006][22855][memory ] 117122.577: nursery GC 279056K->221543K (786432K), 170.367 ms
    [Sun Oct 22 00:26:21 2006][22855][memory ] 117123.041: nursery GC 290439K->225833K (786432K), 69.170 ms
    [Sun Oct 22 00:29:10 2006][22855][memory ] 117291.795: nursery GC 298947K->238083K (786432K), 207.200 ms
    [Sun Oct 22 00:39:05 2006][22855][memory ] 117886.478: nursery GC 326956K->263441K (786432K), 87.009 ms
    [Sun Oct 22 00:55:22 2006][22855][memory ] 118863.947: nursery GC 357229K->298971K (786432K), 246.643 ms
    [Sun Oct 22 01:08:17 2006][22855][memory ] 119638.750: nursery GC 381744K->322332K (786432K), 147.996 ms
    [Sun Oct 22 01:11:22 2006][22855][memory ] 119824.249: nursery GC 398678K->336478K (786432K), 93.046 ms
    [Sun Oct 22 01:21:35 2006][22855][memory ] 120436.740: nursery GC 409150K->345186K (786432K), 81.304 ms
    [Sun Oct 22 01:21:38 2006][22855][memory ] 120439.582: nursery GC 409986K->345832K (786432K), 153.534 ms
    [Sun Oct 22 01:21:42 2006][22855][memory ] 120443.544: nursery GC 410632K->346473K (786432K), 121.371 ms
    [Sun Oct 22 01:21:44 2006][22855][memory ] 120445.508: nursery GC 411273K->347591K (786432K), 60.688 ms
    [Sun Oct 22 01:21:44 2006][22855][memory ] 120445.623: nursery GC 412391K->347785K (786432K), 68.935 ms
    [Sun Oct 22 01:21:45 2006][22855][memory ] 120446.576: nursery GC 412585K->348897K (786432K), 152.333 ms
    [Sun Oct 22 01:21:45 2006][22855][memory ] 120446.783: nursery GC 413697K->349080K (786432K), 70.456 ms
    [Sun Oct 22 01:34:16 2006][22855][memory ] 121197.612: nursery GC 437378K->383392K (786432K), 165.771 ms
    [Sun Oct 22 01:37:37 2006][22855][memory ] 121398.496: nursery GC 469709K->409076K (786432K), 78.257 ms
    [Sun Oct 22 01:37:37 2006][22855][memory ] 121398.730: nursery GC 502490K->437713K (786432K), 65.747 ms
    [Sun Oct 22 01:44:03 2006][22855][memory ] 121785.259: nursery GC 536605K->478156K (786432K), 132.293 ms
    [Sun Oct 22 01:44:04 2006][22855][memory ] 121785.603: nursery GC 568408K->503635K (786432K), 71.751 ms
    [Sun Oct 22 01:50:39 2006][22855][memory ] 122180.985: nursery GC 591332K->530811K (786432K), 131.831 ms
    [Sun Oct 22 02:13:52 2006][22855][memory ] 123573.719: nursery GC 655566K->595257K (786432K), 117.311 ms
    [Sun Oct 22 02:36:04 2006][22855][memory ] 124905.507: nursery GC 688896K->632129K (786432K), 346.990 ms
    [Sun Oct 22 02:50:24 2006][22855][memory ] 125765.715-125765.904: GC 786032K->143954K (786432K), 189.000 ms
    [Sun Oct 22 02:50:26 2006][22855][memory ] 125767.535-125767.761: GC 723232K->70948K (786432K), 225.000 ms
    vvvvv
    [Sun Oct 22 02:50:27 2006][22855][memory ] 125768.751-125768.817: GC 712032K->71390K (786432K), 64.919 ms
    [Sun Oct 22 02:50:28 2006][22855][memory ] 125769.516-125769.698: GC 711632K->61175K (786432K), 182.000 ms
    [Sun Oct 22 02:50:29 2006][22855][memory ] 125770.753-125770.880: GC 709632K->81558K (786432K), 126.000 ms
    [Sun Oct 22 02:50:30 2006][22855][memory ] 125771.699-125771.878: GC 708432K->61368K (786432K), 179.000 ms
    So, I'm running with the default GC strategy which lets the GC pick the most suitable approach (single space or generational). It seems to switch to generational almost immediately and runs well - most GC runs are in the nursery, and only once in a while it goes through the older space.
    Now, if you look at [Sun Oct 22 02:50:27 2006], that's when everything changes. GC starts running every second (later on it's running 3 times a second) doing huge sweeps. It never goes through the nursery again, although the strategy is still generational.
    It's all downhill from this point on, and it's a matter of hours (maybe a day) before we restart the server.
    I guess my only question is: What would cause such GC behavior?
    I would appreciate your ideas/comments!
    Thanks,
    Tenyo

  • Setting Max CPU usage for individual apps.

    Is there a way to set a maximum CPU usage (percentage) for individual applications so when they run they will never go above the limit?

    As Thomas pointed out, there is no way to do exactly what you want. You can have some influence over appliccation priorities using Peek-a-Boo.
    Mac Mini; B&W G3/300    

  • MBP 2.16 occasional 52% CPU usage for user account

    Every few days, my MacBook Pro, 2.16, 4 GB Ram, will run very hot at 70 degrees Celsius. Activity Monitor show high user CPU usage, usually at about 52%. I quit all non-essential services without being able to reduce user CPU usage at all. Bare minimum startup apps. A reboot always brings usage down to normal, as well as the temperature. For the life of me, I can't figure this out. This has been going on for over a year, and none of the OS updates have changed the situation. Any ideas? What am I missing?

    First, 70º C isn't all that hot. Normal range of temperatures is 30-85ºC depending upon usage. Second, total processor usage is meaningless. You need to determine what process is demanding the CPU to determine what is causing the problem if indeed there is a problem.
    Open Activity Monitor, select All Processes from the Processes drop down menu. Click twice on the CPU column heading to display in descending order. Look for the process that is consuming so much CPU time. That is the process or application that is having a problem unless it's an mds or mdworker process that may be using time because it's indexing or doing other Spotlight related work. In this case it may go on for a while but eventually it will return to normal activity.

  • High CPU usage for simple tasks?

    Hello,
    In iTunes, various tasks take 3-4 seconds to happen/start  (rating a song, scrolling up and down within a list of songs, etc.), and I get either rainbow wheel or lag/nothing happening (or both) in the meantime. I did not notice this problem before the new (11) version of iTunes, and no other apps/programs are having issues of any kind. I checked CPU usage while changing the rating of a song and it went to about 55% for 5 seconds or so. That can't be right... it just can't. Is this some kind of bug in iTunes or is there something (simple!) I can do to fix it?
    I'm pretty sure I have Genius turned off, but I've never used it so I really don't even know much about it.
    iMac 24" w/3.06 GHz processor, 4GB memory, the computer's about 4 or 5 years old but still runs very well everywhere else. Currently  running 10.6.8 and my external backup died on me a few months ago, so  updating the OS, if there's ANY chance of losing anything, isn't an option right now.
    I use iTunes a lot so this is driving me insane. Please help!
    Message was edited by: earthimmigrant (clarifying the issue a bit better)

    forgot to mention: OS is solaris 9

  • 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 for no reason

    Recently, my MBP becomes hot and its battery life becomes shorter, so I checked the Activity Monitor. The CPU is reported as ~37% User and ~22% System when it's idle. But I am not running anything besides Activity Monitor and all processes show normal CPU usage in Activity Monitor.
    I also heard the harddisk keeping reading/writing. The Disk Activity persistently reported 0 Reads in/sec and ~30 Writes out/sec when the computer is idle.
    I have repaired permissions, and reset the PRAM, but nothing changed.
    Any help would be appreciated!

    Workaround and Solution!
    In a nutshell: The long and short of it is that many websites today are very resource intensive. The workaround is to share the load among two to four different browsers. This workaround works every time. The browser-builders will have to make the final fixes.
    I urge all of you to duplicate my results!
    I've been troubleshooting this with Apple for well over 2 weeks and just discovered the root cause and workaround a couple of hours ago. Here's what I sent to Apple:
    Subject:
    Root Cause Identified for Case 20244XXXX!
    Body:
    Insufficient Stress Testing and No Load Shedding!
    Hello Annette, Jim and Steve,
    Please see the attached screenshots.
    Engineering, especially test engineering, needs to look at this! When this is resolved Steve can go on stage and show another Safari feature that is superior to Camino, Chrome and Firefox, etc. (I was able to replicate part of this using several boxes at a local Apple Store about a week ago!)
    Here’s the deal:
    I was blaming Safari because I rarely use other browsers.
    1. Open Activity Monitor to All Processes and order by %CPU descending.
    2. Launch a browser and go to http://streamingradioguide.com/streaming-radio.php?format=1&radio-format=News/Ta lk&includeAM=on&includeFM=on&includeHD=&includeLPFM=
    or http://radiotime.com/channel/c_57922/News.aspx, open a few streams and watch the %CPU skyrocket. (I often channel-flip between several streams.)
    3. Document the results.
    4. Repeat steps 2 and 3 for a second, third and fourth browser.
    5. Repeat steps as needed on other test boxes. Repeat everything as needed.
    6. Send the documentation of these tests to engineering.
    7. Engineering: Replicate results and review all documentation.
    8. Make Safari much more resource efficient than any other browser.
    Steve can then demo this to the world and everyone will have another insanely great day!
    Thanks for another great demo today Steve.
    John
    The long and short of it is that many websites today are very resource intensive. The workaround is to share the load among two to four different browsers. This workaround works every time. The browser-builders will have to make the final fixes.
    Thanks,
    John

Maybe you are looking for

  • Carbon X120A7 not rebooting -hissing sound and blinking tool bar and keys

    I have a one month old Carbox X1 that has suddenly working. It starts and gives a message of error and the screen goes blank leaving the tool bar and keyboard blinking with a hissing sound. What is going on?? I have an urgent project due I need it to

  • Just got my iPhone 5 and when I connect to iTunes it just says iPhone 5

    iTunes shows the name of my phone however it only shows a screen that says iPhone 5 where it should give me details on my phone.  I have tried stoping and restarting apple mobile, re-downloading iTunes , and checking settings on my phone.     Help th

  • Include Movement Type into FBL3N and NA into MB51 (SAP report).

    Hi SAP Gurus, 1.Is this possible to Include Movement Type into FBL3N, if You guys know that pls let me, what are the steps require. 2.Enhancement to existing SAP report, t-code:KOB1 to include standard cost,  std quantity, actual cost, actual quantit

  • Sizing Issues with Illustrator CS4

    When I drag the ellipse/rectangle tool in Illustrator CS4 on Windows XP, instead of just resizing the object when I drag, it creates multiple ellipses/rectangles until I have reached the size I want. How do I get this to stop so that there is only 1

  • Current weekend date

    Hi I have a table with all the weekend dates, i would like to get the current weekend date from the table. Would you please help me in writing this SQL to achieve the above requirement. Thanks