Indefinite CPU Utilization while no IO movement

Env: SQL Server 2008R2.
RAM: 32GB
Processors: 4
Schema:
TableA (ACC int, TimePartOnly varchar, Office varchar, Store Varchar,EUNum int, sales int)
TableA has a million records.
TableB (TimePartOnly)
TableB has only 200 records.
Statistics updated, Indexes defragged. Very less concurrent work load.
SELECT
A.Acc,
B.[TimePartOnly],
EUNum,
Office,
Store,
SUM(A.Sales) AS AMOUNT
from
TableA A
CROSS JOIN TableB B
WHERE A.TimePartOnly <= B.TimePartOnly
Group by A.Acc,
B.TimePartOnly,
EUNum,
Office,
Store
having sum(SALES) <> 0
Issue: The above query runs for ever (more than 4 hours and then I cancelled it).
I see in sys.dm_exec_request or sp_who2 the CPU is increasing but the IO almost gets stalled after 5-6 seconds of running.
If I use the default 0 as maxdop, the query remains in the CXPacket but when I use the maxdop of 1 it is not even reflected in sys.dm_exec_request where as in sp_who2 its status is runnabel not running.
So my understand is that it goes in the processing mode for ever.
I then further did a change and from tableA which has a million records, I removed all records except 50K records and the results came back in 35 seconds.
I saw the execution plan and the most strage thing was the 'Hash Join' operator was showing 52% of the over all cost.
Now I pumped the data back in and again the same issue.
As per my understanding (may be incorrect), the following part makes it worse.
WHERE A.TimePartOnly <= B.TimePartOnly
This means A will do the processing for every match from tableB where the value of A is less than or equal to the value in B.
However, I am not sure if there is a way to fix it as it looks to be a business requirement.
Please advice if there can be something else done with the above query.

Hi Aanya,
This is a interesting issue and I'm sure others will be able to contribute better than me.
However let me make few comments
- The syntax that I would have preferred would be
FROM TableA A INNER JOIN TableB B ON A.TimePartOnly < B.TimePartOnly
although the syntax that you used (Cross Join with where clause) should result in same optimization. But you can give this a try. See if execution plan changes.
- You can add another where condition WHERE A.Sales <> 0.  The condition in HAVING clause will also be required as sum of positive/negative number might again results in 0.
- Are there any indexes at play here? Are those being utilized ?
I suppose after a while there would be no I/O activity as it must have read all the rows from both the tables and you are not writing output to any other table.  It must be generating the combinations of the rows in the memory and showing it in your
SSMS window (there should be network activity for that).
Cheers
liquidloop[at]live[dot]co[dot]uk

Similar Messages

  • NUMA node zero at 100% CPU utilization while others are around 50% - why?

    Questions:
    How can I tell which processes are maxing out one of my eight NUMA nodes' CPU?  i.e. what tool would give me that insight?  I've poked around procmon.exe and don't think it has this, but am not sure yet.
    Any thoughts on what's going wrong overall, given the description below?
    Symptoms:
    Task Manager shows one NUMA node at 100% CPU (and in processors view, shows all 8 CPUs in that node at 100%), while other nodes range from 0-90% depending on load
    SQL Server, which is the only significant CPU user on this box, is running regular jobs 2x slower than it did last week.  Last week it was running Windows and SQL 2008 R2 SP1, and this week it has been rebuilt (from scratch - not upgraded) with Windows
    and SQL 2012.
    Environment:
    HP DL980 G7, 64 cores, 1TB RAM, 50TB fast disk for SQL use, 120TB slow disk for file storage
    Hyperthreading enabled - last week, it was not (since it's not supported well in Windows 2008 R2 with the Hyper-V role and 64 cores)
    Windows Server 2012 Standard, installer we got via Software Assurance (and yes, I have an MS support case, ID 112110854959943, but I often lose days before my case escalates to the right person, so I'm hoping someone knowledgeable sees this first,
    as I have some very unhappy users!).  Last week was Windows 2008 R2 SP1 Enterprise.
    SQL Server 2012 RTM Enterprise Core.  Will update to latest CU as soon as I get a maintenance window.  Last week was SQL 2008 R2 SP1 Enterprise.
    Max d.o.p. on six SQL instances is set to 8, on the seventh it is set to 16.  No CPU affinity set by us for SQL or anything else.
    Hyper-V role installed.  Had this role last week too.
    Domain controller.  Had this role last week too.
    Also running DFS (with replication turned off this week, though it was on last week), not much going on there right now so I don't think it's related to the problem.
    Task Manager and Resource Monitor show Memory is fine (100GB free), Disk is fine (<500 MB/s I/O, compared to regularly running at 1-2 GB/s in the past).  perfmon won't open for me, possibly due to an unrelated problem (port exhausting with DNS Client,
    another MS support case we have ongoing)
    Planned next steps:
    I have removed the Hyper-V role and am awaiting user permission to reboot for that to complete.  Will see if that fixes it.
    If it doesn't, I'll reboot again and remove hyperthreading.
    And in the meantime, via MS support and this post, I'm trying to understand what is going on, what is wrong.  I would love your help!

    To follow-up on Ethan's post (he works with me) - this is what it looks like in Task Manager.
    Normally, all 64 CPUs would be at/near 100%. But SQL jobs look they are being bottlenecked on NUMA node 0 (despite no affinity being set - everything is default/automatic). Another symptom (other than very slow SQL jobs) is that various management tools
    in the host partition are very unresponsive.
    The significant changes are:
    * WS2012 vs WS2008R2 SP1
    * SQL2012 vs. SQL2008R2
    * Hyperthreading enabled in BIOS to give 128 logical processors to the hypervisor. 64 logical processors are made available to the host partition (the limit in WS2012)
    All SQL instances are  running in the host partition. There is no significant network or other activity on this box. No VMs are running. CPU-Z shows 8 sockets, 8 cores/socket, 8 thread/socket in the host partition. So despite hyperthreading/SMT being
    turned on, it looks like all 64 real cores are being exposed to the host partition.
    See also here, where Microsoft recommends leaving SMT/hyperthreading on in all cases with WS2012:
    http://blogs.technet.com/b/matthts/archive/2012/10/14/windows-server-sockets-logical-processors-symmetric-multi-threading.aspx

  • Windows 7 Gadgets slow to respond, 50% CPU utilisation with gadgets that "move"

    I have a fresh installation of Windows 7 RC and everything was fine. I have no idea what may have caused this, but on day 2 of using Windows 7 RC, any desktop gadgets that move (like the CPU meter or the clock with its second hand enabled) cause the sidebar.exe process to go to 50% CPU utilisation (which is 100% of one core on my dual core CPU).
    These gadgets then just become unresponsive and I have to close them. I can only keep the Weather gadget on because it doesn't have any animations. I have all Windows updates and the latest NVIDIA driver from Windows Update and even their own website doesn't help. There is something wrong with my gadgets. I have never installed any extra gadgets.
    What could it be?

    Same issue, but after Vista x64 Home Prem upgrade to Win7 Home Prem x64.  ATI Radeon HD 4850 graphics card, Quad Core & can't even change the settings of the Clock if I set the seconds hand.  The clock takes up a continuous full core (25% of overall CPU) while the seconds hand is running; if the seconds hand is off then CPU utilization is 0% between minute updates.  Other gadgets are similar, but many such as Calendar, Weather, and some non-MS gadgets work perfectly fine.  Must be some kind of javascript issue.  I have Avira Antivir before & after upgrade to Win7, so AVG isn't the issue for me - I even tried with Antivir and Comodo Firewall turned off. UAC on. 
    This machine is FAST & it can't handle a little gadget.  (7.2/7.3 Windows Experience subscores on all but hard disk, which is 5.9)  Didn't have this issue in Vista x64 Home Prem.
    edit:
    Checked the Win7 Resource Monitor CPU tab:
    sidebar.exe - While not under heavy CPU load, "Analyze Wait Chain..." from context menu continually shows "One or more threads of sidebar.exe are waiting to finish network I/O", and indicates thread 4140 which is WinInet.dll (Internet Extensions for Win32 application extension.)  Under heavy CPU load, several other threads starting from sidebar.exe were indicated from the same message from "Analyze Wait Chain..." as well.
    All other non-sidebar processes indicate "running normally" from "Analyze Wait Chain..."
    Another clue:  If I login using the "Administrator" account, there is *** no performance problem ***!  The sidebar.exe shows as "running normally" from "Analyze Wait Chain..." 
    So I also tried:
    - w/UAC turned off on the normal user (administrator rights) account (no fix)
    - tried creating a *new* normal user (administrator rights) account; still sloooowwww (also try this one w/o UAC, still bad)
    -Problem Status:  normal User Accounts have the sidebar performance problem, Administrator account runs fine.
    Edit: 12/31/09
    SOLVED!!!!
    After digging into the sidebar.exe output from Sysinternals Process Monitor, I noticed a peculiar difference between the output for the properly functioning Administrator account & my User accounts.  The admin acct showed the monitor profile for a good number of operations, while the User accts showed the wsRGB.cdmp value for the same operations, which was peculiar because I had my User accounts configured to use the system defaults, the same way I had the admin acct configured.
    Going into the Windows Color Management, Advanced tab, I found that if I chose either of the "virtual device model profile" choices for the "Device Profile" setting, the performance hit was instant.  If I used any of the "normal" icm profiles, performance was good.  So I changed my system default Device Profile from "sRGB virtual device model profile" to the std sRGB.icm profile & everything is working great!
    Note: In addition to the Gadgets, this also impacted the Windows Media Center Internet TV listings performance, which was also back to good performance after this WCM setting change.  I'd expect there are numerous other apps that could be affected by the "virtual device model profile" handling.  Googling "virtual device model profile" seems to bear that out, as I see others who ran into app problems when using that in the WCM applet.

  • AHCI cpu utilization skyrockets

    This issue is a bit new to me--have done RAID and IDE setups for decades, but thought I'd tinker with AHCI.  Motherboard is MSI 970a-G46.  Enabling and disabling AHCI with an established Win7x64 installation is not a problem for me.
    Problem is that after enabling AHCI properly, cpu usage soars to 25%-30%+ with the Windows AHCI drivers, and jumps to as high as 40% with the latest AMD chipset drivers.  OK--this is what HD Tach reports, anyway.  IDE settings for the same drives measure 1-2% cpu utilization.  According to HD Tach, too, the performance of AHCI & IDE is identical.  Ergo: I see no advantage for my client system running in AHCI and will return to IDE.
    Agree--disagree? Suggestions?  Thanks.

    Quote from: Panther57 on 30-June-12, 01:01:20
    This is an interesting post... With my new build I was set Raid0 / IDE. I had an unhappy line in device manager and changed to AHCI. Then it downloaded the driver.
    I have not seen a jump in CPU usage. But I also have not been watching it like a hawk. Hmmm
    I am going to watch my AMD System Monitor for results. In a post of mine..earlier.. I was told, and did some tests of AHCI vs: IDE. I ran IDE on my other PC (listed below, HTPC) and am now AHCI on my main 990FXA-GD80. The difference between the 2 ways tested on my 790FX actually did show an advantage IDE, using Bench32.
    Not a huge advantage.. but a little over AHCI. I don't know if the difference is really worth much inspection.
    I am looking forward to the results you get WaltC
    Thanks, Panther57...;)  My "results" are really more of an opinion, but ...
    Right now I'm not really sure what hard drive benchmark I should be using or trusting!...;)  HD Tach's last release in 2004 is now confirmed on the company's site as the last version of the bench it will make--as it is, I have to set the compatibility tab for WinXP just to run the darn thing in Win7x64!  But...I installed the free version of HD Tune (and the 15-day trial for the "Pro" version of the program, too), and the results are very similar--except that HD Tune seems to be measuring my burst speeds incorrectly:  HD Tach consistently puts them north of 200mb/s; HD Tune, well south of  200mb/s.  (A strike against HD Tune--the free version does not measure cpu dependency--grrr-r-r-r.  You have to pay for the "Pro" version to see that particular number, or install the Pro trial version which reveals those numbers for 15 days.)
    OK, between the two benchmarks, and after several tests, cpu utilization seems high *both* in IDE and in AHCI modes.  Like you, it has been quite awhile since I actually *looked* at cpu utilization of any kind for hard drives.  I guess I wasn't prepared to see how cpu dependent things have become again.  Certainly, we are nowhere near the point of decades ago when cpu utilization approached 100% and our programs would literally freeze while loading from the IDE disk, until the load was finished.  The "good old days," right?  NOT, hardly...;)  I suppose, though, that with multicore cpus being the rule these days instead of the exception, cpu dependency is just not as big a deal as it was in the "old days" when we dealt with single-core cpus exclusively and searching an IDE drive could literally stop the whole show.
    Again, when running these read tests to see the degree of cpu utilization, I found that while the tests were all uniform and basically just repeats of each other, done a couple of dozen times, the results for cpu utilization in each test were *all over the map*--from 0% to 40% cpu dependency!  And the same was true whether I was testing in IDE mode or AHCI mode.  That was kind of surprising--and yet, it still leaves open the question of how accurate and reliable the two HD benchmarks that I used actually are.   Besides that, I did find a direct correlation between the size of the files being moved/copied and the degree of cpu dependency--the smaller the files copied and moved the higher the cpu involvement--the larger the files, the lower the cpu overhead in copying and moving, etc.  Much as we'd expect.
    So after all was said and done--it does seem to me that AHCI is actually more of a performer than IDE, albeit not by much.  I think maybe it demands a tad less cpu dependency, too, which is another mark in its favor.  In one group of tests I ran on a single drive (I also tested a pair of Windows-spanned hard drives in RAID 0 (software RAID) in AHCI and in IDE mode, just for the heck of it...;)),  I found the *average* read speed of the AHCI drive some ~15mb/s faster than the same drive tested in IDE.  That was with HD Tune tests.  But as I've stated, how reliable or accurate are these benchmarks?  Heh...;)  Anybody's guess, I suppose.
    My take in general on the subject (for anyone interested) is that going to AHCI won't hurt if a person decides to go that route, but it also won't help that much, either. You definitely can easily and very quickly move from an installed Win7 IDE installation to an AHCI installation, no problem (some sources swear it can't be done without a reformat and a reinstall--just not true!  They just haven't discovered how easy and simple it is to move from IDE to AHCI and back again.)   Current cpu dependencies whether in AHCI or in IDE surprise me they seem so high.  However, the last time I paid close attention to such numbers was back when I ran a single-core cpu, and back then cpu dependency numbers for a hard drive meant quite a lot.  Today's cpus have both the raw computational power and the number of cores to take that particular concern and put it on its ear, with a large grain of salt!...;)
    I have three drives total at current:
    Boot drive:
    ST332062 OAS Sata, boot drive
    then,
    (2) ST350041 8AS Satas, spanned in software RAID 0, making two ~500GB RAID 0 partitions. 
    Total disk space ~1.32 terabytes, all drives including RAID 0 partitions running in AHCI mode. (Software RAID is just as happy with IDE, btw.)
    My Friday "project" is complete...:]  Hope I haven't confused anyone more than myself...;)

  • Safari 4 - 102% CPU utilization!?

    ever since safari 4 and its update were made available i noticed that my macmini (early 09) with 4GB ram slows down when i have a few opened pages with safari.
    I've checked the system monitor as well as on unix command (e.g. top) and discovered that when browsing, safari tops 100% CPU utilization and often goes way above the hundred mark.
    Navigating the web pages becomes a joke. everything is terribly slow and i often have to quit safari and re-open it to get acceptable performance. I put emphasis on "ACCEPTABLE"

    HI,
    *"I happen to be using SL and safari 4 is best "optimized" for the later OS X release."*
    You are correct. Not only that, 10.6 includes malware and anti-virus protection that no previous Mac OS X has... read here.
    http://www.apple.com/macosx/security/
    Sorry to hear you are having problems with Safari. Let's see if we can get you going in the right direction as Safari 4.0.4 on 10.6.2 is running fine for me and many other Safari users.
    If Safari unexpectedly quits, it could be a 3rd party plugins causing the problem. Go to ~/Library/Internet Plugins. Move any 3rd party plugins to the Trash and restart your Mac.
    Also, if you are running Safari in 64 bit mode, try running in 32-bit mode instead. Right or control click the Safari icon in the Applications folder, then click: Get Info In the Get Info window click the black disclosure triangle next to General so it faces down. Select 32 bit mode. While you have the Get Info window open, make sure the boxes is Unchecked next to: Open using Rosetta
    Quit Safari then relaunch.
    The 10.6.2 combo update might help also.
    http://support.apple.com/kb/DL959
    You can download and install the Snow Leopard Cache Cleaner here if you like.
    http://www.apple.com/downloads/macosx/systemdiskutilities/snowleopardcachecleaner.html
    Carolyn

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

  • IWS 6.0 100% CPU utilization hanging- very urgent

    Hi,
    We are using Iplanet Web server 6.0 on windows-2000 SP2.The problem we are facing is after 10 concurrent users have logged in the CPU utilization shoots up to 100% and we have to reboot the systesm
    Our billing Application is affected very much due to this.
    Can anybody throw some light on this?
    Thanks in advance.

    Hi,
    Are you using any plugin with iWS. Please let me know your config file. Mean while please check tunning parameters of solaris for Performance bench mark.
    http://docs.iplanet.com/docs/manuals/enterprise/50/tuning/perf6.htm#17580
    Regards,
    Dakshin.

  • How to reduce CPU utilization time in Java Application

    Hi,
    I have created a Java Application. It is a 3-tier architecture. While running my Java application, the CPU utilization percentage shots up to 100 %. I feel that it will affect the system performance and it will hang up the system also.
    If any body know the solution to reduce the CPU utilization or links, please post it.
    Thanks in advance.
    Kennedy

    I know Java class file must be interpreted by VM. but
    Visual Basic is also a language to be interpreted. Why
    it run faster than Java? As Java running speed is
    concerned, it's unwise to apply to the
    enterprise-level application. Now I can't endure Java
    running speed. I wander to know whether it is
    associated with operating system or not.1. Java is nto interpreted in modern (since 1997 or earlier) JVM's - it is compiled into machine code as it is executed via a JIT or a Dynamic compiler (like HotSpot).
    2. VB (5 and later) is also not truely interpreted - in fact it uses the same excellent native code generator used by Visual C++.
    3. Java is principally used these days for enterprise server-based systems where it performs extremely well - or extremely poorly as does C++ in the hands of people who don't know how to use it.
    4. Different JVM's (and in some cases the same JVM hosted on different OS's) perform at different speeds - your mileage will vary. The OS has little influence on the computational speed of java but can highly influence its network, disk and graphics performance, as does hardware configuration (local console versus X terminal - Swing sucks on X Term).
    Chuck

  • Cpu high while installing delegated admin 2nd instance.

    Hi,
    I am using Sun JES 2005Q1 on Solaris9 sparc platform.
    AM, Delegated Admin & MEM are running on 1 host which is working perfectly.
    I have installed another instance of AM on another host which is also working perfect.
    Whenever I try to install 2nd instance of Delegated Admin, the cpu utilization of my ldap server goes very high (98%) and installation doesnt proceed.
    I have increased the nsslapd-allidthreshold value from 4000 to 15000.
    Also indexing of attributes are already done.
    But still no luck for me.
    I am getting error logs on ldap server "search is not indexed".
    Can anyone help me out ?
    Regards,
    Shujaat Nazir Khan
    Senior System Engineer
    Cyber Internet Services (Pvt.) Ltd.

    The access manager has the same "oversight" but it was easy enough to fix by adding WS_ADMINHOST=admin.dom.tld to the amsamplesilent, and sed -i 's/--host=$WS_HOST/--host=$WS_ADMINHOST/g' to amws70config and amconfigupdate, and things actually worked when I did this (with a little more hackery, like manually editing mime.types and server.policy). This DA configurator is less straight forward, and when I fixed up the files and reran the failed scripts, things didn't work.
    Does it make sense to run the administration server in its own zone/machine from an architectural standpoint? There has to be at least one admin server, so is the point AM/DA makes "it may as well be running on the node that _requires_ it to be running" versus "separate services into logical partitions?" It seems to me the first option is "good enough" while the second makes sense, but I'm looking for confirmation or further input.

  • Total cpu utilization percentage diagnostic removed from Windows 2008 MP?

    SCOM 2012 SP1 environment running the Windows Server 2008 Operating System Management Pack, version 6.0.7026.0
    http://www.microsoft.com/en-us/download/details.aspx?id=9296
    We had a server that had high CPU utilization.  We were able to figure out what process was causing the high CPU using some remote commands, but I am used to seeing this in the health explorer state change events view.
    I looked into health explorer but there is no data.
    http://i.imgur.com/eArmCM2.jpg
    I then notice that in this MP, there are 2 CPU monitors
    http://i.imgur.com/I9eBN4G.jpg
    The first monitor shown is disabled by default, but it is this monitor that contains the diagnostic to list the top CPU consuming processes
    http://i.imgur.com/tLgq9at.jpg
    The CPU monitor that is enabled by default has no diagnostic tasks associated to it
    http://i.imgur.com/AKAKOP9.jpg
    While I have the ability to create my own diagnostic task, I would rather not, as it requires me to enter my own command or script.
    I liked the fact that the CPU monitor would list the top consuming processes, as this was useful troubleshooting information.
    Does anyone know why this diagnostic is not included in the new version of this monitor?  I cannot find any information in the release notes.
    Is there any reason I should think twice about disabling the default monitor, and setting an override to enable to “legacy” monitor that has the diagnostic task built in?

    I can confirm that the other OS versions have the single CPU monitor with diagnostics set to run by default. For Windows Server 2008 R2 I have created a sample management pack which enables this functionality which is available at:
    http://www.systemcentercentral.com/download/re-enable-processor-diagnostic-windows-2008-management-pack/.
    Cameron

  • Can't get the CPU utilization above 52%

    Hi all,
    I have an Intel i7 950 CPU based PC with Windows 10 TP on it which, no matter what, I cannot bring to 100% CPU utilization. While taking the attached screenshot, I was running prime95.exe.
    I have tested the same scenario on the same computer running Windows 8/8.1 and got the same result. However, when doing the same thing under Windows 7, CPU utilization went up to 100%.
    Anybody has any idea why this happens? Is it a different default setting somewhere (probably in registry)?
    Since I have this fast machine I would like to be able to use it at its full strength - the way things are now, my old Quad core 2 GHz PC is MUCH faster than this 8 core 3 GHz one (as I measured in several tests consisting of transcoding videos).
    Thanks for any pointers!

    Hi VikTak-9b,
    How did you get the CPU utilization information ?Are you getting the information from the task manager ?
    "I have tested the same scenario on the same computer running Windows 8/8.1 and got the same result. However, when doing the same thing under Windows 7, CPU utilization went up to 100%.
    Anybody has any idea why this happens? Is it a different default setting somewhere (probably in registry)?"
    I am a little confused here .According to my understanding ,the number is smaller the performance of the machine is higher when the other conditions are the same .
    Here is a link may be useful for us to understand the CPU Utilization for Performance Analysis
    Interpreting CPU Utilization for Performance Analysis
    http://blogs.technet.com/b/winserverperformance/archive/2009/08/06/interpreting-cpu-utilization-for-performance-analysis.aspx
    Best regards
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Hd tach - cpu utilization

    I just wanted to share my findings in case anyone else is having this problem.
    I've been running WinXP Pro for months, but last night while trying to figure out my freezing/rebooting problem I figured I'd run a Hard Drive benchmark to see my CPU Utilization.
    http://www.tcdlabs.com/hdtach.htm
    Hd Tach 2.61
    After running it I found that my CPU utilization was 54% !!!! That's crazy.
    I have MSI KT333 Ultra....newest via 4in1 drivers.
    I looked and it was running at DMA 5, bus mastering was enabled in the bios. At this point I was confused, I tried switching cables...reinstalling drivers...looking for tweaks....no go.
    Finally I noticed on Via's page:
    http://www.viaarena.com/?PageID=66
    They have "IDE Miniport Driver".....figured what the heck....installed it, rebooted, and BAM! my CPU Utilization is down to 9%....much better.
    Thanks for reading my rant. I encourage some of you to try out this benchmark and see what you get.
    Adios!

    I don't think Speedfan gives you CPU Utilization during peak HD usage. That is something different.

  • LR 1.1 High (~60%) CPU utilization when LR is idle

    When I startup LR without doing anything, in the LIBRARY module LR idles at just under 60% CPU utilization (dual processors, 4GB mem) and has been for the last 20 minutes. The LR catalog and preview files have all been defragmented. The LR catalog has been optimized. This situation seems to happen about 3/4ths the time that I run LR. It does not prevent other LR activities.
    A) Is there anyway to discover what LR is doing?
    B) Any ideas on how to fix?

    I haven't done an import, nor asked it to build previews, and there is nothing showing in the upper left where it shows long running tasks. I haven't done an import in a while. It could be building XMP files, if those weren't built at conversion time. I asked this time around to have XMP files built. I am hoping that XMP files might make it easier to work with DxO.
    After about 20 minutes it stops the high utilization.
    Just strange behavior, not a problem in itself, but maybe related to some problem.
    Thanks,

  • Seeing ASA 5540 with High CPU Utilization

    I have a remote site customer with a Cisco ASA 5540 running SSLVPN (Anyconnect)(8.03). It currently only serves about 450 SSLVPN clients. Since last friday, they've seen the CPU utilization go up to high 90% while only serving 400+ remote users. Please help us troubleshoot the root cause of the CPU high utilization on Cisco ASA 5540.

    This doc is a good starting point:
    http://www.cisco.com/en/US/products/hw/vpndevc/ps2030/products_tech_note09186a008009491c.shtml

  • Load testing and 100% CPU Utilization - Multiple JVMs?

    Hi,
    Problem:
    While stress testing the application with 20 simultaneous users, unix is 100% utilized and there is degradation in response times.
    One component of the application is invoking a unix script which is executing a java program after setting CLASSPATH, PATH etc. I guess thus each execution will be invoking a jvm. At the end of the program it will do a System.Exit(). This java program generates around 15-60 barcode images. It takes 2 secs normally.
    When, 5 and 10 concurrent users executing this unix script for a steady state time of 30 minutes is also working fine even through response time degrades to 4 secs.
    With 20 concurrent users, unix box with 4 CPUs is 100% utilized and response time degrades to 11 secs or so.
    We need to do this through unix script only because it is executed from database tier (oracle reports - rdfs) and java stored procs doesn't allow awt operations (image file creation).
    I repeated this testing using a java class which just loops for 2 secs. With 20 concurrent users, it was also degrading to 6 secs or so and fluctuating between 100% CPU utilization.
    Any pointers on what we should be analyzing more and how should we try to solve this issue.
    Thanks,
    Ayyappa

    Stupid forums made me change the ``screen name.'' Whatever...
    Anyway, it is resource intensive to invoke a new JVM per request. You can do several things but it comes down to the fact you will want to keep ONE JVM running in the background awaiting requests to do work. These requests can come from several mechanisms, such as polling a database table, sending requests over a local TCP socket, listening in on a Unix fifo file, etc, etc.
    When the shell script is exec'd, connect to your JVM (for example) by opening a socket to it, enter your request for work, and wait for the response, the JVM app will listen and accept socket requests, thread off and process and then return data. Something in this form will be substantially more scalable that what is currently being done.

Maybe you are looking for

  • Help on Creating Aggregates on MultiProvider

    Hi All, Is it possible to create aggregates on MultiProvider or its possible in Basic Cubes Only. please suggest with that? some document i go through You do not have to create aggregates for MultiCubes. regards babu

  • How to load data into an ods from multiple info sources.

    hi all... i am given a task to load data into an ods from 3 infosources ... can someone plz give me the flow . thank u in advance..

  • Error while testing script in ME22N

    HI Friends, I am testing a script in ME22N. When i enter the PO number and press the print preview button I get the following error *Enter rate BAM / EUR rate type M for 20.1..09.0 in the system settings* Please let me know what should be done. Thank

  • Delivery and Goods Issue

    Hi,   I am new to SAP and was trying to do a Goods Issue after creating a delivery. When i click on Goods Issue from the delivery document, I get the message " Storage Location not defined for delivery item 000010" When I try to go to picking overvie

  • W530, W7-64: external monitor is dark except for mouse pointer

    Hello, I'm starting to experience this problem. Initially I had no problems with using an external monitor, but now I cannot use it. When I switch to the external monitor, the screen is dark, except for the mouse pointer which moves correctly.. Anyon