CPU usage 100%
Dear Sir,
This is regarding laptop model compaq 6720s showing cpu usage 100% even after reinstallation of OS & even after new hard drive connected to the same done with new os installtions. So it seems that any hardware issue with motherboard either CPU (Core 2 Duo 2.0 GHz
Regards
Nilesh Potabatti
Hi,
Do you know which process is the culprit ? Please try this:
Right click a blank space on Taskbar,
Click Start Task Manager,
Check in the Processes tab, which one uses high CPU and please post back.
Regards.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.
Similar Messages
-
flash player 11 is very glitchy on ALL browsers and makes my CPU usage 100%, making all youtube and pandora or any streaming media a headache, i have a low-end but good quality Emachine with Windows 7 Sv pk. 1, AMD Athalon Processor 2650e 1.6 GHz 2GB ram 32-bit, which isn't that bad, it used to play HD videos and everything without a skip or lag, it is virus clean, and clean of any large bulky programs, the only thing that went wrong was the fact that the adobe flash updates slowly but surely made it worse, AND it will not let me roll-back to an older version anymore like it used to, so WTF is up? no one seems to have an answer for this, and it seems like ADOBE is doing everything in it's power to not let me ask this question or get it solved, maybe it's because I AM TOO SMART FOR IT AND KNOW IT'S A FAILURE. so please, anyone who actually has a degree in this field is welcome, but no BS anymore, i want answers.
[moved to Flash Player forum]
Message was edited by: siniousThe jump to FP11 was pretty significant with Stage3D. Now Flash Player has a lower level access to your computers GPU to offload playing video and 3d rendering to the GPU. However if your systems GPU isn't up to the task you really won't see that performance gain.
Enter H264 video decoding. A large segment of the Flash usage market is simply viewing video. For sites without fallback in mind (or don't mind software rendering fallback), video may suffer. Using the GPU accelerated video classes may make it difficult for your system to view playback. Disabling hardware acceleration as recommended above would revert you back to software (CPU) decoding to check if your system itself is the issue (and not all the new GPU additions). You did that yet you're still having an issue.
Just to clarify, as I have an eMachine (for accounting), your computer is very much in the "budget" margin. You have a 3 year old single core 1.6ghz AM2 CPU with 512kb of L2. That's the K8 series. This is a very underpowered, single thread loving CPU. Only the most optimized Flash sites and lower end videos (720p or below) should play, but I'm not even sure if they'll "play well". It depends on your GPU.
Also you should know they have an official list of unsupported chipsets and drivers based on many factors. Here's a list for FP11 and AIR3:
http://helpx.adobe.com/x-productkb/multi/stage3d-unsupported-chipsets-drivers-flash.html
Check the bottom of the screen to see what Flash is reporting your rendering mode is. For example, mine states:
Your gpu supports Stage3D in both Baseline and Constrained profile!
Baseline RenderMode:
DirectX9
Constrained RenderMode:
DirectX9 (Baseline Constrained)
This probably won't get better in the future for you. Flash is not a low end multimedia runtime. It does require and utilize high end hardware in a much more reliable way. -
TMG Microsoft Firewall Service Process (wspsrv.exe) high CPU.
CPU Usage 100%
Please help me.
ThanksHi,
Since there can be multiple reasons for this issue, you can
capture a manual dump of the wspsrv.exe process on TMG server or find some related logs to better analyze this issue firstly.
In addition, what have you done before you encountered that issue?
If you have any third-party programs installed, you can temporary disable them and restart the firewall service to see if the issue persists.
For more detailed information, please refer to the links below:
How
to capture a manual dump of the wspsrv.exe process on TMG 2010?
Using
DebugDiag 1.2 to Automate Dump Analysis – TMG High CPU Utilization Scenario
Best regards,
Susie -
Evenlog viewing causes CPU usage 100% on Windows server 2008 SP2
We have Windows server 2008 SP2 with strange behaviour. When I scroll down events in eventlog viewer CPU usage hits 100% and eventlog viewer freeze. CPU usage is split between 2 processes SVCHOST.EXE (lmhosts, eventlog and Dhcp services) and MMC.EXE.
1)I tried to replace eventlog files with new ones. That didn’t helped
2)After server clean boot problem still exist.
3)When CPU hits 100% usage process explorer shows that from SVCHOST.EXE process CPU is used by service EventLog.
Any ideas how to fix this?Hi Santosh
I re-installed VMware
tools and also configured VMXNET 3 - nothing changed :(
Sorry to hear that.
Windows event log service has couple of dependencies i.e. task scheduler and windows event collector service. Can try restrating those services ?
In addition to above, try following steps
Change NTFS permission of %WINDIR%\System32\WinEvt\Logs directory, add Local Service and
Network Service, give them FULL permissions.
Stop and Start event viewer service by running following command
net stop eventlog && net start eventlog
Issues like this might occur if the disk (FC or iSCSI SAN or even NAS) has some inconsistencies , this is true in case of both physical and virtual machines
You might want to try running chkdisk as well on the server in question
http://technet.microsoft.com/en-us/library/cc730714(v=ws.10).aspx
If nothing helps, try inplace upgrade of the Operating system as an last option.
How to Perform an In-Place Upgrade on Windows Vista, Windows 7, Windows Server 2008 & Windows Server 2008 R2
http://support.microsoft.com/kb/2255099
Thanks
Regards, Santosh
I do not represent the organisation I work for, all the opinions expressed here are my own.
This posting is provided "AS IS" with no warranties or guarantees and confers no rights.
Whenever you see a helpful reply, click on Vote As Helpful & click on
Mark As Answer if a post answers your question. -
Hi,
I am running my applet on IE 5.5 not using any plugin, on a NT heavy
duty machine. The applet takes up 100% CPU. The applet does not have
any GUI component but launches JSP pages. The applet connects to
backend resources using socket, uses threads etc. The bulk of the code
is in Java classes- the classes themselves run fine outside of the
applet.
Any ideas or suggestions welcome. How can we measure cPU usage in
Java?
Thanks a lot,
SanjayI too have this problem
-
NIScope CPU usage 100% when waiting for trigger
Hello, I'm using a NI 5102 DAQ card and want to acquire single bursts. However when the Multi Fetch.vi is waiting for a trigger (and this can be up to a minute) the CPU usage goes up to 100 %. Is there any way to overcome this?
Attachments:
Current_ProjectSWEEP2withoutAgilentNEWScopeWrite_to_FilePOSTED.vi 98 KB
ScopeSUB.vi 108 KBYea, Ive noticed the same thing. The niSope dll in the Fetch.vi grabs 100% CPU if timeout is larger than 1 or 2 seconds.
Has anyone talked to NI about this? The problem is in that dll which is polling the PCI Scope Card. That dll is not giving back any CPU if it waits for more than a second or two.
John Dailing
[email protected] -
Overheating,fan broken, running extremely slow, cpu usage 100%
whist playing an online game my toshiba laptop suddenly started lagging, it didn't shut down ( as you would expected when a laptop overheats) but the fan has completely stopped working. the cpu usage is at 100%. i've run disk clean-up, defrag , downloaded all my driver up-dates, run anti-virus software. pretty much everything but wiped the computer. will a new fan put the computer back at normal speed?
Hi,
Welcome to HP forum. You've posted to a wrong forum from vendor view and from machine view (this is a desktop forum). Anyway we are here to help. Your idea is having a new fan, this may or may not help. The main thing is to keep machine cooler. These are few tips.
http://mobileoffice.about.com/od/laptopstabletpcs/qt/how-to-make-a-hot-laptop-cooler.htm
My tip: Don't play intensive graphics games, your machine is NOT a game machine.
Regards,
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
CORBA connections not relinquished - CPU usage - 100%
We have a session bean making a corba call, however after the call is susccessful,
the connection doesn't relinquished. If We do a netstat , the number of established
connections keep increasing as more calls are made to the CORBA server. We am
facing issues of CPU usage goin upto 100% and never comes below 97% after a lot
of such calls. Please suggest someway of fixing it.You should verify it within the product documentation.
If you want to verify it by yourself, from wls, implementing the singleton pattern
for your remote object, invoke a method on the remote object, implement a sleep
in it (on the corba server), and after try to execute another method on the same
remote object (singleton), which returns immediately (it is important that you
run this test within the same wls instance, and the same ejb (ejb module) : the
singleton is relative to the classloader).
If the orb implementation does not multiplex the invokations, you will see the
second call not returning until the first one has not returned (end of sleep time).
(of course, I suppose the Corba server is multithreaded...)
Sergi
"Nishant" <[email protected]> wrote:
>
Perfect....thanks....but isnt using singleton going to harm the performance..coz
this is old version of visibroker, and it prbably doesnt multiplex the
threads??
"Sergi Vaz" <[email protected]> wrote:
Hello,
use the ORB as a "singleton" object : do not invoke ORB.init many times,
but only
once, and after cache the corba object on a static variable.
It's thread safe, the remote invocations will be multiplexed.
So you will have only "one" reader thread for each corba object, and
you will
solve your problem.
Some vendor are not fully compliant and do not implement the destroy
method.
So you do not release the ORB resources, but keep them (it's also more
performant).
At this point you will have a "dangling" reader thread only after aredeploy
(unless
you shut down the jvm).
Sergi
"Nishant" <[email protected]> wrote:
Andy,
I am using visibroker 3.2. , and WLS 7.0 , JSK 1.3.1_08 And I do not
see a method
called org.omg.CORBA.ORB.destroy.
Is there an alternative way to achieve this??
Unless I destroy the threads the connection with the CORBA server would
remain,
and this is driving up the CPU usage, for every new connection made.
Thanks
Nishant
Andy Piper <[email protected]> wrote:
"Nishant" <[email protected]> writes:
We have a session bean making a corba call, however after the callis susccessful,
the connection doesn't relinquished. If We do a netstat , the numberof established
connections keep increasing as more calls are made to the CORBA
server.
We am
facing issues of CPU usage goin upto 100% and never comes below
97%
after a lot
of such calls. Please suggest someway of fixing it.This is most likely because you are using the JDK 1.3 ORB. It doesnot
release threads until the system exits. This is one reason why using
the BEA ORB in 8.1 is preferrable.
If you are using WLS 7.0 then Sun did make a fix in JDK 1.3.1_09 which
adds a special property to allow ORB.destroy() to release the
threads. You would have to go through support to find out what this
property is. If you are using 8.1 then you can use the BEA ORB or
if
you need to use the JDK ORB I think that calling ORB.destroy() will
release the threads for you.
Hope this helps.
andy -
[Solved] cpu usage 100%, it is bug of lxpanel
My archlinux is on an old PIII machine. Recently, I found its CPU usage is 100%.
But, I don't know how to solve it. I can not found out which is cpu eater.
vmstat is 0 idle, but on top view, there are a few process with lower cpu usage.
I've tried both kernel, both cause 100% cpu usage.
kernel26 2.6.37.5-1
kernel26-lts 2.6.32.36-1
# vmstat 2 10
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
1 0 0 103060 26496 227192 0 0 52 38 202 425 56 41 1 3
4 0 0 103300 26496 227196 0 0 0 0 192 439 54 47 0 0
1 0 0 103300 26496 227196 0 0 0 0 303 589 64 36 0 0
1 0 0 103316 26496 227196 0 0 0 0 367 656 64 37 0 0
# top - 22:37:53 up 52 min, 2 users, load average: 2.46, 1.87, 1.80
Tasks: 81 total, 2 running, 79 sleeping, 0 stopped, 0 zombie
Cpu(s): 57.9%us, 41.1%sy, 0.0%ni, 0.0%id, 0.0%wa, 1.0%hi, 0.0%si, 0.0%st
Mem: 495416k total, 385172k used, 110244k free, 25784k buffers
Swap: 0k total, 0k used, 0k free, 224916k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1152 root 20 0 70992 20m 5976 S 14.5 4.2 1:13.63 X
23680 dlin 20 0 109m 22m 13m S 7.2 4.6 1:43.47 chromium
1887 dlin 20 0 138m 12m 9848 S 6.9 2.6 0:12.89 lxterminal
1182 dlin 20 0 99848 11m 8904 S 3.9 2.3 2:42.20 lxpanel
1191 dlin 20 0 297m 43m 27m S 1.0 9.1 1:00.54 chromium
21399 dlin 20 0 4404 1144 888 R 0.7 0.2 0:00.02 menu-cache-gen
1 root 20 0 1712 608 548 S 0.3 0.1 0:17.09 init
4 root 20 0 0 0 0 S 0.3 0.0 0:02.20 ksoftirqd/0
419 root 20 0 0 0 0 D 0.3 0.0 0:02.82 usb-storage
1161 root 20 0 3648 1144 988 S 0.3 0.2 0:00.65 hald-addon-stor
Last edited by dlin (2011-04-02 16:38:08)It seems that the problem occurs to me too! Could it be linked with libreoffice?
I think I have permission in ~/.cache directory:
ls -lh |grep .cache
drwxr-xr-x 2 manu manu 4,0K 29 mars 2010 cache
[11:21][manu@compal:~]$ ls -lh .cache
total 36K
drwx------ 2 manu manu 4,0K 19 oct. 15:56 dconf
-rw-r--r-- 1 manu manu 12K 14 mars 11:52 event-sound-cache.tdb.12c7aa4c6ede9c34246c65044a475d7e.i686-pc-linux-gnu
drwxr-xr-x 3 manu manu 4,0K 18 août 2010 geeqie
drwx------ 3 manu manu 4,0K 22 sept. 2010 gegl-0.1
drwxr-xr-x 2 manu manu 4,0K 12 sept. 2010 gogglesmm
drwx------ 2 manu manu 4,0K 1 avril 19:49 menus
drwx------ 3 manu manu 4,0K 11 déc. 18:42 vlc
[11:21][manu@compal:~]$ ls -lh .cache/menus
total 80K
-rw------- 1 manu manu 38K 23 nov. 19:24 26a80813bb7494e1d982502af748aef6
-rw------- 1 manu manu 38K 1 avril 19:49 757379b1865bb943a0541b554ffbb809
lxpanel is linked with .cache/menus directory?
I will try to delete .cache and see what happens!! -
CPU Usage 100%? K8N Diamond Plus
Never before have I witnessed the CPU being used at it's absolute maximum. It has been occuring regularily with my system. I noticed it first when my screen saver started getting jittery. This seems to occur most often about 1-2 minutes after windows finishes loading. It seems kind of odd to me that this occurs during typically idle system times. The memory usage also dramatically rises during these spikes, using ctrl+alt+delete I noticed svchost.exe to be the culprit of the memory usage atleast. The hard drive doesn't appear to be active when these events occur. Is this normal for this motherboard, or is this something that should be corrected?
I've always had 3 short beeps upon startup with this board, but it has never stalled the boot process. Anyone know what this means?
I've upgraded my board somewhat recently and carried over the CPU and memory from a older MSI model that used the same type. Could it be possible either or both are incompatible?
Also one, somewhat less important problem. First off I must say that the PS/2 power on feature is pretty cool. I used it with a wireless keyboard so I could turn on my PC from my living room HDTV (I have my comp wired through Y/Pr/Pb cables). Only problem is about one in every 4 or so shutdowns the system restarts immediatly when this feature is selected in the bios. Bios issue maybe?
System Info (and everything directly connected to it):
(pretty sure not all of this is relevant, but I figure it couldn't hurt)
MoBo: MSI K8N Diamond Plus
Memory: 1Gb (2x512 kit) Crucial PC3200 CT6464Z40B.C8TD (in slots 1 & 2)
Processor: Athlon 64 3200+ Winchester
GPU (only one): MSI NX7900GT-VT2D256E-HD (primary PCI-e)
Modem: SupraMax LE 56K Fax Modem (PCI)
HDD: WD Caviar 120Gb IDE (primary)
HDD: Maxtor 80Gb USB (external, non system)
3.5: Standard 3.5" floppy drive (a:)
5.25: Lite-on 48x CD burner (secondary slave)
5.25: Sony DVD rom (secondary master)
PS: Antec SmartPower 2.0 500W
Human Interface: Wired Logitech KB & Mouse through USB (for primary use)
Human Interface: Wireless Logitech KB & Mouse through PS/2 (for remote use, often turned off)
Primary Monitor: Viewsonic P70f 17" CRT hooked to DVI #1 via RGB adapter
Secondary Monitor: Sony KDL-V32XBR1 32" HDTV through 1080i Y/Pr/Pb adapter, stereo audio
Speakers: harman/kardon
Connected to internet via Cat5 network, phone modem sometimes used when primary internet is down
OS: Windows XP Pro w/ SP 2 installed
Thank's in advance to anyone that can help me as I'm pretty much stumped at this point.Quote from: mdawgmike on 11-November-06, 11:25:18
Any other suggestions?
how about this:
Quote from: BOSSKILLER on 03-November-06, 23:14:30
get Process Explorer to determinate in details what make this CPU usage: http://www.sysinternals.com/Utilities/ProcessExplorer.html
it has more detailed information than the built-in task manager. -
I've installed WLS 10.3.3 on OS X 10.6.4 and executed using the instructions in the README (including setting the MEM_ARGS).
Upon startup, the CPU usage spikes to ( then stays ) around *104%* ( dual-core CPU ); this, of course cripples the computer to where all running applications suffer. Attempting to access the console, brings the system to it's knees. This happens even if it is the only (non-system) application running.
We need to be able to run WLS on our local development machines (MacBook Pros from 2007-present).
We are currently running OAS (OC4J) on the machines with out any issues (CPU usage at OAS idle = ~1.1%).
Are there any WLS performance settings that can be adjusted to alleviate the CPU utilization issue?
My System Info:
Model Name: MacBook Pro
Model Identifier: MacBookPro4,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2.4 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 3 MB
Memory: 4 GB
Edited by: user8664206 on Aug 3, 2010 8:54 AMThank you!
The key was modifying the "setDomainEnv.sh" file (this file is generated using the domain GUI configuration tool).
I added the following at the top of the script (just below the comments):
JAVA_VENDOR="Sun"
export JAVA_VENDOR
I modified:
SUN_JAVA_HOME=""
export SUN_JAVA_HOME
...to be:
SUN_JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home"
export SUN_JAVA_HOME
Now when I execute the container, it consumes only 0.2% of the CPU.
Thanks again,
Jim -
100% CPU Usage caused by HMI
Hi everybody:
I'm working with LabVIEW DSC 8.2.1 in a system that monitors many variables of a plant, such a typical SCADA system. For this reason, the use of the graphic tools is highly used on the development of this system. Everything works fine, but I have only one problem.... the usage of the CPU.
When I am working on the development system I (not the executable) I start the application and after the variables are initialized and every process has started and are running , the CPU usage is raised around 90 - 100%. After a few days investigating the reason of this, I realized thay when I change the view on the screen to another view, for example the block diagram of the application, while the application is still running, the CPU usage goes around 15 - 25%. I've tried these many times changing the view from Front panel to Block Diagram and viceversa and the result is always the same: Front Panel= around 100%; Block diagram or another view (other applications MMIs, or Block Diagrams, etc.)= around 20%.
Another thing that I realized is that the other view (different to front panel) has to fill the entire screen to work the way I'm telling before.
When I build and run the executable, the usage of the CPU is the same... (around 100%), but I can't see any other application, because the application built is the shell of the OS, so no other views are available.
I don't know if there's some other consideration to take into account about the HMI when creating an application, and I'll appreciate very much your help.
Thanks in advance!
Ignacio von UngerFrom http://100cpuusage.blogspot.com/
100 Percent CPU Usage when you run programs after you install Windows XP Service Pack 2
CPU Usage 100% Symptoms
When you run some programs, the CPU Usage meter in Task Manager may indicate CPU Usage 100%. When CPU utilization reaches 100 percent, programs will run very slowly or stop responding (hang) and your computer is freezing or crashing.
Noteress CTRL+ALT+DEL to view CPU utilization, click Task Manager, and then click the Performance tab.
These symptoms occur after you install Microsoft Windows XP Service Pack 2 (SP2).
CPU Usage 100% Cause
These problem occurs because of the user interface code that is included in Windows XP SP2. The high CPU utilization is caused by the additional overhead that occurs when the IsWindow function is called by the user interface code.
RESOLUTION
Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.
To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:
http://go.microsoft.com/?linkid=6294451
Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
Prerequisites
To apply this hotfix, you must have Windows XP SP2 installed.
Restart requirement
You must restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace any other hotfixes.
File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel. Date Time Version Size File name
30-Mar-2005 19:53 5.1.2600.2643 577,024 User32.dll
30-Mar-2005 01:30 5.1.2600.2643 1,836,544 Win32k.sys
if you still do not know how to Fix CPU Usage 100%?
I suggest you try targeted software - registry cleaner to fix cpu usage 100%
Because there are many cases causing high cpu utilization.
1. If you do a lot of web surfing and are concerned about spyware, adware infecting your machine, they will cause system crashes and CPU utilization reaches 100 percent. Some good registry cleaner has the function of spyware & adware removal.
2. You install many beta version of the software, Drivers are not certified, which resulted in many errors, you get high cpu usage.
3.100% CPU Usage while you use Internet Explorer
4. many unneed Startup Program.
5.Others PC Errors. - DLL errors, runtime errors, Windows-Installer Errors, Windows Startup Errors,paths Broken DLLs, OCX, and ActiveX Components all will cause 100% cpu usage. Your PC will run very slowly.
Registry cleaner can do a complete scan of your entire file system and registry in under 2 minutes! Fix High Cpu Usage. Improve PC Speed By Up to 70%!
http://www.100-cpu-usage.com/ suggest you to download registry cleaner to fix 100% cpu usage too.
PCErrorsfixer.com - Top 3 Windows Registry Cleaners, Improve PC Performance,5 Star Rated. Fix 100% CPU Usage, Runtime Error, DLL Error,Windows Startup Errors,Internet Explorer Errors, Speed Up your slow PC. -
NI DAQmx 8.3 and CPU usage
I have similar problem as described on page http://forums.ni.com/ni/board/message?board.id=250&message.id=23831
but have solution and some reflections.
first of all, about system
system use 2x PCI-6143 and take data from 16 channels with maximum rate (250 kS/s)
program
was created about year ago (with LV 7.1.1, DAQmx 7.4) and on PC with
PIV (3.2 GHz) processor and 1 Gb of RAM work properly (CPU usage less
30%).
Now I've recompile program with LV8.2 and update drivers to DAQmx 8.3. now program can't work properly because CPU usage 100%
I create test VI for research this problem.
First version (daq_test1) - simple code - configure daqtask and get data.
I found:
if
sample rate less or equal 90 kS/s (on PCI-6143) CPU usage less 5%, but
when rate more 95 kS/s CPU usage jump to 60% (for one or more channels
on one or two devises).
Then I create simulated devise PCI-6143 in MAX and the same vi (daq_test1) require not more than 5-10% of CPU.
also
I have examine devise 16E-4 and find the same problem: if samle rate
more than "boundary" rate, CPU usage is too much (50-70%).
Then I add configure parameters (daq_test2) - add manualy DMA "on". There are no effects (CPU usage jump to 60% on "fast" rates)
Then I "play" with WaitMode (daq_test3). There are no effects (even if WaitMode=Sleep and SleepTime>1s CPU usage about 60%)
Finally
I create vi (daq_test4), where "manually" check
AvailableSamplesPerChannel and call DAQmx Read only when bufer has more
samples, that I need.
So I'd wound solution, but think driver
MUST check available samples carefully (also, why DAQmx 7.4 can fast
scan, but DAQmx 8.3 can't do it at least the same way as previous version).
Attachments:
daq_test.zip 78 KBArtem,
Thank you for contacting National Instruments support. This is expected behavior. When the wait mode is set to Sleep, DAQmx will only sleep if and only if there is no data available to process. So, for example, at 200 kS/s, data is filling up the buffer fairly quickly and should always be available to read, which means that the process will not sleep at all. When data is always available, the CPU is going to handle it as quickly as possible and thus the CPU will appear to be running at near 100%.
Specifying a wait mode of Sleep is really only beneficial when the acquisition is running slowly enough that a lot of time is spent in DAQmx Read waiting for the data to arrive. In the past, the CPu was maxed out even at extremely slow sampling rates. Sleep mode alleviates this problem by putting the process to sleep when no data is ready for processing; however, if data is available, it will be handled immediately and no sleeping will occur. If data is constantly available for processing, the CPU is expected to deal with it right away and the usage will appear to be high.
Regards,
Kenn North
Senior Product Manager - Search, Product Data
http://ni.com/search -
High cpu usage during JSF lifecycle phase execution
In our performance test we encountered a high cpu usage (100%) and the thread dumps indicated that most of the times the threads are either executing restore view or render response phase of the JSF lifecycle or they are blocked while accessing the jar files which containing the xhtml pages.
One of the thread dump of a runnable thread is
java.lang.Thread.State: RUNNABLE
at java.util.HashMap.get(HashMap.java:317)
at javax.faces.component.ComponentStateHelper.get(ComponentStateHelper.java:174)
at javax.faces.component.ComponentStateHelper.add(ComponentStateHelper.java:216)
at javax.faces.component.UIComponent.setValueExpression(UIComponent.java:436)
at com.sun.faces.facelets.tag.jsf.CompositeComponentTagHandler$CompositeComponentRule$CompositeExpressionMetadata.applyMetadata(CompositeComponentTagHandler.java:631)
at com.sun.faces.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:81)
at javax.faces.view.facelets.MetaTagHandler.setAttributes(MetaTagHandler.java:129)
at javax.faces.view.facelets.DelegatingMetaTagHandler.setAttributes(DelegatingMetaTagHandler.java:102)
at com.sun.faces.facelets.tag.jsf.CompositeComponentTagHandler.setAttributes(CompositeComponentTagHandler.java:246)
at com.sun.faces.facelets.tag.jsf.CompositeComponentTagHandler.applyNextHandler(CompositeComponentTagHandler.java:184)
at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:308)
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:367)
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:346)
at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
at com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:120)
at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
at com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:107)
at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:178)
at com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:395)
at com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:366)
at com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:112)
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:308)
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:367)
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:346)
at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:155)
at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:308)
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:367)
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:346)
at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
at com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:120)
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:152)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:774)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:100)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)while a thread trace for a blocked thread is
java.lang.Thread.State: BLOCKED (on object monitor)
at java.util.zip.ZipFile.getEntry(ZipFile.java:302)
- waiting to lock <0x00000000c0f678f8> (a java.util.jar.JarFile)
at java.util.jar.JarFile.getEntry(JarFile.java:225)
at java.util.jar.JarFile.getJarEntry(JarFile.java:208)
at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:817)
at sun.misc.URLClassPath$JarLoader.findResource(URLClassPath.java:795)
at sun.misc.URLClassPath.findResource(URLClassPath.java:172)
at java.net.URLClassLoader$2.run(URLClassLoader.java:551)
at java.net.URLClassLoader$2.run(URLClassLoader.java:549)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findResource(URLClassLoader.java:548)
at java.lang.ClassLoader.getResource(ClassLoader.java:1138)
at java.lang.ClassLoader.getResource(ClassLoader.java:1133)
at org.glassfish.web.loader.WebappClassLoader.getResource(WebappClassLoader.java:1156)
at org.glassfish.web.loader.WebappClassLoader.getResourceFromJars(WebappClassLoader.java:1111)
at org.apache.catalina.core.StandardContext.getMetaInfResource(StandardContext.java:7586)
at org.apache.catalina.core.StandardContext.getResource(StandardContext.java:6979)
at org.apache.catalina.core.ApplicationContext.getResource(ApplicationContext.java:382)
at org.apache.catalina.core.ApplicationContextFacade.getResource(ApplicationContextFacade.java:260)
at com.sun.faces.context.ExternalContextImpl.getResource(ExternalContextImpl.java:502)
at com.sun.faces.application.resource.WebappResourceHelper.getURL(WebappResourceHelper.java:119)
at com.sun.faces.application.resource.ResourceImpl.getURL(ResourceImpl.java:190)
at com.sun.faces.facelets.tag.jsf.CompositeComponentTagHandler.applyCompositeComponent(CompositeComponentTagHandler.java:366)
at com.sun.faces.facelets.tag.jsf.CompositeComponentTagHandler.applyNextHandler(CompositeComponentTagHandler.java:191)
at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:308)
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:367)
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:346)
at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
at com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:120)
at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
at com.sun.faces.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:107)
at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:178)
at com.sun.faces.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:395)
at com.sun.faces.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:366)
at com.sun.faces.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:112)
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)
at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)
at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:308)
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:367)
at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:346)
at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:155)
at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:86)
at com.sun.faces.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:152)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.buildView(FaceletViewHandlingStrategy.java:774)
at com.sun.faces.application.view.StateManagementStrategyImpl.restoreView(StateManagementStrategyImpl.java:223)
at com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:188)
at com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:123)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:453)
at com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:148)
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:192)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)We use glassfish 3.1.1 as our application and the project_stage property is set to System_test. I would like to get suggestions on how should I investigate this further. Is this a normal behavior? Does glassfish provide an alternative for resolving blocked threads like some caching mechanism for resources etc?
Thanks in advanceNik wrote:
Even if it is legal, have you tried moving them out of there (just to pinpoint a possible bug since the stacktrace indicates a wait on a jar file)?Indeed. If that clears up the issue it is good information to put in a JSF bug report (which may even cascade to the Glassfish level).
Putting resources in a jar file is only really useful when you want to share those resources among different web applications, which should be a rare case. Even when it happens I would probably still choose to simply copy the resources so they are individually managed and you don't get unnecessary dependencies between applications. Just because something is technically possible doesn't make it a good idea. -
High CPU Usage On client application when upgrade remote SQL database
Hi,
Is anyone here encountered very high CPU usage after upgraded the database from SQL 2005 to SQL 2012? Following describes my issue.
I have my client application running on Windows 7 that access to central database (SQL 2005) on Windows server 2003 using ODBC connection, this client application basically query data and perform data insert and update. There are a number of this similar
clients connected to the database.
Due to slowness of the database server, company decided to upgrade the database server to SQL 2012 and also new hardware runing Windows Server 2012. There is no change on the client application and client hardware and the client application still using the
same ODBC connection to query, insert or update the new database server.
The problem I am now experiencing now is that my client PC where my client application running the CPU usage is very high almost hitting 100% when accessing to the central database. I am also noticed this program lsass.exe that utilized almost 40-50% of
the CPU time when client application accessing the central database.
Is anyone here know, why client PC CPU usage 100% when access to upgraded SQL 2012 database? What is lsass.exe program doing, it only appear when accessing to database server. How to reduce the CPU usage on client?
Thanks.
Chee Wee.Hello,
After upgrading, please rebuild indexes and update statistics on the databases.
http://www.mssqltips.com/sqlservertip/1367/sql-server-script-to-rebuild-all-indexes-for-all-tables-and-all-databases/
http://www.mssqltips.com/sqlservertip/1606/execute-update-statistics-for-all-sql-server-databases/
Configure maxdop on the instance.
http://blogs.msdn.com/b/sqlsakthi/archive/2012/05/24/wow-we-have-maxdop-calculator-for-sql-server-it-makes-my-job-easier.aspx
If the above does not solve the issue, let us know.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com
Maybe you are looking for
-
HELP! Itunes 11.1.4 crashes immediately when trying to switch stores
I have 2 stores accounts. I just upgraded to Mavericks 10.9.1 which came with iTunes 11.1.4. When I sign out from one account to switch to the other, iTunes freezes during the logout process, and while reloading the iTunes Store, the immediately cras
-
How can i deploy two different versions of the same application on the same server??
I have two different versions of an application. One is a released version. And another version under development. I need to port this version of the application to the same server. I'm using the same classes and packages(except for some new ones). I
-
Hey everyone, I've scouted this forum to find people with a similar problem who may be able to help me out. Im the (still proud) owner of a Lumia 820. I've had it for about 6 weeks. I'm pretty statisfied with it were it not that sometimes the screen
-
How much stock of iphone 5 will a apple store hold on the day of release.
How much stock of iphone 5 will a apple store hold on the day of release.
-
How to use auto fill in safari ipad2. It keeps putting in the wrong info for my password
I have the auto fill Function on and I am having no success with it remembering my password info. Has anyone have experienced these problems?