Processors Motherboards Chipsets Memory Graphics Cards Storage Cases and Cooling Mobile Systems Displays Shows and Expos
Latest Sponsors

Powered By
Newegg
Tyan Motherboards
Corsair Memory
Western Digital Hard Drives
Red Hat Linux

PC Perspective Forums Sponsor

Go Back   PC Perspective Forums > Software > MS Windows
User Name
Password
Register FAQ Rules Members List iTrader Search Today's Posts Mark Forums Read

MS Windows Discuss windows, networking, security, and other related topics here.

Reply
 §   #1  
Old 09-19-2009, 06:44 PM
mcc
Registered User
 
Profile
Joined: Jan 2003
Location: Clive (Des Moines) IA
Age: 21
My System
Status: ( Offline )
Posts: 324
Windows 7- system using high CPU intermittently

EDIT-PROBLEM IS BACK-SEE POST 6 FOR SOLUTION

I'm having an annoying problem with Windows 7 Ultimate x64 RTM from the MS action pack. Every few minutes the System process uses 25% of the CPU or what I presume to be 100% of one core. I was able to track the thread down to "ntoskrnl.exe!KdPollBreakIn+0x1a0" in Process Explorer. The high CPU usage only lasts for about 15-20 seconds but it robs enough resources to make video lag behind by ~10 seconds. I'm running a speedy machine but I have FFDShow configured with lots of processing options.

Any insight?
__________________
Specs

Last edited by mcc : 10-17-2009 at 11:40 PM.
Reply With Quote
 §   #2  
Old 09-20-2009, 01:01 AM
-=SparX=-'s Avatar
-=SparX=-
Original Equipment
 
Profile
Joined: Jun 2004
Location: Hamilton, New Zealand.
Age: 36
My System
Status: ( Offline )
Posts: 858
Re: Windows 7- system using high CPU intermittently

Does the problem show up in different players ?
what version of ffdshow and or codec pack are you using and are you using x64 components ?

Have a look at shark007.net/ see if that solves anything.
__________________
<--- Game & Surf
<--- Htpc
<--- Server
<--- Lappy
Reply With Quote
 §   #3  
Old 09-20-2009, 01:59 AM
mcc
Registered User
 
Profile
Joined: Jan 2003
Location: Clive (Des Moines) IA
Age: 21
My System
Status: ( Offline )
Posts: 324
Re: Windows 7- system using high CPU intermittently

It's not necessarily FFDShow that's the problem- the random CPU spike occurs at any time, the video processing lag is just one annoying result. I installed WPT from the Windows 7 SDK so I could use "xperf -on base" to track it down. Unfortunately it fails with "xperf: error: NT Kernel Logger: Cannot create a file when that file already exists. (0xb7)." How descriptive, esp. since no output file is specified.

Process Explorer running under administrative system credentials via psexec can't call up a stack trace, failing with "unable to access thread". That about exhausts all the relevant debug tools I know of...
Reply With Quote
 §   #4  
Old 09-20-2009, 01:52 PM
mcc
Registered User
 
Profile
Joined: Jan 2003
Location: Clive (Des Moines) IA
Age: 21
My System
Status: ( Offline )
Posts: 324
Re: Windows 7- system using high CPU intermittently

The problem didn't exist in safe mode so I dumped a list of DLLs running under system in both normal and safe mode. After removing all Microsoft entries I had a list of potentially problematic drivers, among them VMWare. I uninstalled VMWare server 2 and the problem is solved.

Last edited by mcc : 09-20-2009 at 04:16 PM.
Reply With Quote
 §   #5  
Old 10-17-2009, 10:58 PM
mcc
Registered User
 
Profile
Joined: Jan 2003
Location: Clive (Des Moines) IA
Age: 21
My System
Status: ( Offline )
Posts: 324
Re: Windows 7- system using high CPU intermittently

I recently ran into this problem again- on my desktop AND on my laptop which is also now running Windows 7 x64. Neither has VMWare installed and the laptop has never had it.

On my desktop I ran Process Monitor and found that I have 1.3 million of the following events corresponding to the problem in less than 10 minutes:

Code:
Process: System Operation: IRP_MJ_CREATE Path: C:\Windows\System32\drivers\etc\lmhosts Result: NAME NOT FOUND
I copied lmhosts.sam and renamed it as lmhosts, and now I get hundreds of thousands of these:

Code:
Process: System Operation: IRP_MJ_CREATE Path: C:\Windows\System32\drivers\etc\lmhosts Process: System Operation: FASTIO_QUERY_INFORMATION Path: C:\Windows\System32\drivers\etc\lmhosts Process: System Operation: IRP_MJ_READ Path: C:\Windows\System32\drivers\etc\lmhosts Process: System Operation: IRP_MJ_CLEANUP Path: C:\Windows\System32\drivers\etc\lmhosts Process: System Operation: IRP_MJ_CLOSE Path: C:\Windows\System32\drivers\etc\lmhosts Process: System Operation: FASTIO_ACQUIRE_FOR_SECTION_SYNCHRONIZATION Path: C:\Windows\System32\drivers\etc\lmhosts Process: System Operation: FASTIO_RELEASE_FOR_SECTION_SYNCHRONIZATION Path: C:\Windows\System32\drivers\etc\lmhosts
Stack trace for the failed IRP_MJ_CREATE operation:



Since I'm having this occur on two separate machines I'd venture a guess that this is some sort of bug with Windows 7 itself. The above events only occur during the CPU spikes.

Suggestions?

Thanks!

Last edited by mcc : 10-17-2009 at 11:21 PM.
Reply With Quote
 §   #6  
Old 10-17-2009, 11:39 PM
mcc
Registered User
 
Profile
Joined: Jan 2003
Location: Clive (Des Moines) IA
Age: 21
My System
Status: ( Offline )
Posts: 324
Re: Windows 7- system using high CPU intermittently

I think I've finally and completely solved the issue. After some deep digging I finally found KB955860 for W2k3. Apparently there's a semi-infinite loop bug wherein the machine makes a massive number of lookups to the LMHOSTS file on machines with multiple NICs. It would seem to appear that this also applies to Windows 7 RTM since the issue appears to have been solved by workaround 2- disabling LMHOSTS lookups altogether.

Again, this happens on two very different machines. The similarities between my laptop and desktop end with a Core2 architecture CPU, Intel chipset and ATI graphics. This seems to be a genuine bug that MS should look into fixing.
Reply With Quote
 §   #7  
Old 10-18-2009, 05:58 PM
HankyPanky
Registered User
 
Profile
Joined: Oct 2009
Status: ( Offline )
Posts: 1
Re: Windows 7- system using high CPU intermittently

Hi, I'm having almost the same problem. My CPU spikes to 100% usage and my PC kinda freezes for some secs, then goes back to normal. Can't find out what is happening, it's making me so frustrated. Searched all over the internet and cant find and answer, I'm desperate. I only notices it when I play games or watches movies, please help :/
Reply With Quote
Reply



Go Back   PC Perspective Forums > Software > MS Windows

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 04:40 AM.


Powered by vBulletin
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© PC Perspective 2000 - Present