![]() |
|
|||||||
| Notices |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member (25+)
|
High CPU usage when idling in some apps
Hello!
I am having problems with a couple of applications. When using Adobe Dreamweaver CS3 (v9), the CPU goes 100% and the kernel varies from 10% to 40% (while idling). ![]() The strange thing is that this is happening when being idle or while operating within the application, but not in the following circumstances: 1) when preparing to drag the application's window (i.e. when the application's window is not maximized and I keep my left mouse click pressed over the application's title bar); ![]() 2) while keeping activated the menu that appears after right-clicking the application's title bar; ![]() 3) while keeping activated the menu that appears after left-clicking one of the application's menus; ![]() 4) while keeping active a dialog box opened from within the application (like File>Open); ![]() It doesn't matter if the application has focus or not, it still uses CPU to the maximum. This doesn't happen in Macromedia Dreamweaver MX (v6), nor in other Macromedia/Adobe applications (Flash, Photoshop, Premiere, After Effects, Audition, etc.), just in Adobe Dreamweaver CS3 (v9). I'm running on Windows XP Pro SP3 (the problem was present even when having SP2). I think system specs are irelevant having in mind the fact that this issue occurs on all of my computers (2,53GHz P4/3GB RAM SP3 || 1,86GHz CentrinoDuo/3GB RAM SP3 || 2GHz AMD/1GB RAM SP2). BUT, what bothers me the most is that Adobe Dreamweaver CS3 (v9) is not the only application acting this way. What made me write this thread was Autodesk Maya 2009, which is acting in the exacat same way as Dreamweaver CS3. Maya's sister application, Autodesk 3ds Max 2009 32-bit, doesn't have this problem at all, but Maya does. The difference is that Maya sends the kernel to 80%-90%, while Dreamweaver CS3 keeps it at a max. of 40% (both while idling). ![]() Other notes: Anti-virus software off or on, doesn't matter. Permit or deny access to the Internet, doesn't matter. Please help me solve this out. Thank you! Last edited by MihaiS; 09-04-2009 at 09:20 PM.. |
|
|
|
|
|
#2 |
|
Junior Member (25+)
|
Re: High CPU usage when idling in some apps
Ok, it seems that the patch presented here solves the Dreamweaver CS3 problem: Dreamweaver CS3 Patch « ɯoɔ˙ssÇɹdpɹoÊË™ÉzÉÊŽs
I thought it is a overall Windows problem... this proves it is not. *sigh* I don't know what I am going to do with Maya. I really need using it, and I can use it even if it stresses my CPU, but this alters my work-flow. If anybody has any idea on how to fix the issue in Maya, I would greatly appreciate it! |
|
|
|
|
|
#3 |
|
ƒ(ψ)=Θº×φ
![]() |
Re: High CPU usage when idling in some apps
it might be a bug in maya, you can file a bug report : Autodesk - Report a Bug
__________________
Please don't click here |
|
|
|
|
|
#4 |
|
Junior Member (25+)
|
Re: High CPU usage when idling in some apps
I have also installed Maya 2009 Service Pack 1 but to no avail. I am pretty sure this is system specific, otherwise other users would've complained about this.
Here are some Process Explorer results after having downloaded the Debugging Tools for Windows (by the way, I had an idea... I captured thread info while maya.exe was stressing the CPU- which is happening all the time and then I've captured thread info while maya.exe wasn't stressing the CPU by opening a the File>Open dialog box- which is one of the circumstances that determines maya.exe not to stress the CPU): 1.) maya.exe when idling (stressing the CPU): captured 4 stacks at about 30 seconds apart- the column height varies from 15 to 16 lines at different points in time
![]() Stack for thread 4260(maya.exe): Code:
Here's the Stack for thread 3272, the topmost thread sorted descendently by CSwitch Delta:
|
|
|
|
|
|
#5 |
|
ƒ(ψ)=Θº×φ
![]() |
Re: High CPU usage when idling in some apps
maya.exe should be executing as a process not a single thread. You don't need the entire thread dump, all you need is to find out which thread under process maya.exe is taking up maxmimum CPU time and then find the stack of function calls for that thread.
If maya.exe thread only uses maximum cpu time, then ntoskrnl.exe, ntdll.dll, kernel32.dll and USER32.dll are all core windows files. However some themes might modify the files, so if you are using any custom Windows theme that modifies user32.dll or any of the files restore them back to the original Windows files and check. Also check the version of MFC80.dll that it is using. |
|
|
|
|
|
#6 |
|
Junior Member (25+)
|
Yes, the maya.exe thread only uses maximum cpu time. This time I checked and there was no MFC80.dll anymore:
ntoskrnl.exe!KiUnlockDispatcherDatabase+0x77 ntoskrnl.exe!KeSetEvent+0x74 ntoskrnl.exe!PspGetSetContextSpecialApc+0x4e ntoskrnl.exe!KiDeliverApc+0xb3 hal.dll!HalpApcInterrupt+0xc5 hal.dll!HalpQueryPerformanceCounter+0x1d hal.dll!HalpPmTimerQueryPerfCount+0x8 ntoskrnl.exe!NtQueryPerformanceCounter+0x81 ntoskrnl.exe!KiFastCallEntry+0xf8 ntdll.dll!KiFastSystemCallRet ntdll.dll!NtQueryPerformanceCounter+0xc kernel32.dll!QueryPerformanceFrequency+0x16 FOUNDATION.dll!TosTime::seconds+0x11 Then I rechecked and got this: ntoskrnl.exe!KiUnlockDispatcherDatabase+0x77 ntoskrnl.exe!KeSetEvent+0x74 ntoskrnl.exe!PspGetSetContextSpecialApc+0x4e ntoskrnl.exe!KiDeliverApc+0xb3 ntoskrnl.exe!KiSwapThread+0x64 ntoskrnl.exe!NtYieldExecution+0xa3 ntoskrnl.exe!KiFastCallEntry+0xf8 ntdll.dll!KiFastSystemCallRet ntdll.dll!NtYieldExecution+0xc USER32.dll!PeekMessageA+0x13c MFC80.DLL!CWinThread::Run+0x30 maya.exe+0x1858 MFC80.DLL!AfxWinMain+0x69 maya.exe+0x125fb kernel32.dll!BaseProcessStart+0x23 I can't find MFC80.dll under C:\WINDOWS\system32. I am using the Classic theme... never messed up with fancy themes. I also searched the AUTODESK forums for similar issues- I've found nothing. Sorry, I've found two mfc80.dll instances: one here: C:\WINDOWS\WinSxS\x86_Microsoft.VC80.MFC_1fc8b3b9a 1e18e3b_8.0.50727.163_x-ww_39049d00 File version:8.0.50727.163 and one here: C:\WINDOWS\WinSxS\x86_Microsoft.VC80.MFC_1fc8b3b9a 1e18e3b_8.0.50727.42_x-ww_dec6ddd2 File version: 8.0.50727.42 It's almost like it's using PeekMessage in a tight loop when it's waiting for work, or checking to see if there is work to do. Last edited by bakuryu; 10-04-2009 at 08:49 PM.. |
|
|
|
|
|
#7 |
|
ƒ(ψ)=Θº×φ
![]() |
Re: High CPU usage when idling in some apps
you need to find out which mfc80.dll version it is using, or the problem might not be related to it at all.
From Process Explorer note down the TID of the maya.exe thread that takes maximum cpu, and add that as a filter in Process Monitor, and see the events (which will be many), search for mfc80.dll and see which path/file version is being used |
|
|
|
|
|
#8 |
|
Junior Member (25+)
|
Re: High CPU usage when idling in some apps
It is the 8.0.50727.163 one and I deleted it (made a backup first) then run Maya and no improvements. I put the .dll file back... I guess it has nothing to do with it, as you said.
|
|
|
|
|
|
#9 |
|
ƒ(ψ)=Θº×φ
![]() |
Re: High CPU usage when idling in some apps
It looks like a bug in maya, since the rest of the function calls are either that of core Windows or Maya's own function calls. it's best you file a bug report in the link I provided earlier.
|
|
|
|
![]() |
| Tags |
| high cpu usage |
| Thread Tools | |
| Display Modes | |
|
|
< Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |