cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
marclang
Paper Tape
Posts: 10
Registered: ‎02-19-2009
Location: Switzerland
Views: 7,246
Message 1 of 31

x200 Hardware Interrupts constantly at 40% of CPU resources

As many other thinkpad owners I started to experience excessive "Hardware Interrupts" using between 40-45% of my CPU resources (on both cores) on my x200. Note that Task Manager will _not_ show this, you will need something like Microsoft's "Process Explorer" to show this. This started about a week ago, following a slew of updates I had been rolling in from "System Update" on my Vista x64 Business.

 

I searched the Internet high and low and found many similar experiences (not only with Lenovo models, not only with Vista). Obviously, it is nearly impossible to find out what's causing this.  There is a useful tool called "KrView" by Microsoft that will display more info about which driver is causing the interrupts, but unfortunately it does not run under Vista x64.There is also an on-board Vista tool that allows you to check for unsigned drivers but that didn't seem to be the problem (all drivers were certified ok).

 

Other have reported problems with their network drivers where such interrupts would occur as soon as they turn on WiFi. Some were successful by removing their installation of Deamon Tools (which I have not installed, so that didn't help).Others suggested hard disk drivers or CD-ROM driver issues.

 

I thus tried to home in on the probably culprit, and found the following puzzling effect: This only occurs when my x200 is in the docking station! After a clean startup, it will be nice and idle for some time, but after some 5 minutes it will start to constantly show the 40-45% of "Hardware Interrupts." Once this happens, it almost never goes back down, even if you undock it. However, if you _start_ the system in an undocked state, the "Hardware Interrupts" do not appear!! I even tried to manually connect all the different pieces that I have attached to my docking station one by one to my undocked laptop (e.g., network cable, external keyboard and mouse, USB harddisk) - none did trigger this. But as soon as you redock your laptop, it will spike up again to its 40-50% "Hardware Interrupts".

 

I _assume_ that it might be the display driver that causes this, as this is the only piece of hardware that I couldn't "test" on my standalone laptop: I use a displayport cable to connect by 24" monitor, and the x200 does not have a connector for this... I tried installing the latest Intel graphics drivers but the won't install and tell me that I must use the OEM lenovo versions. I also could not "rollback" the driver (option greyed out) and the old driver version doesn't seem to be available on the lenovo post...

 

Alternatively, it might be some sort of "docking station driver" that's causing this. Although I'm not sure what this driver would be and how to update it :-(

 

Any hints? (sorry, ultra-long post)

Community SuperMod
Community SuperMod
Posts: 4,619
Registered: ‎04-25-2008
Location: US
Views: 7,236
Message 2 of 31

Re: x200 Hardware Interrupts constantly at 40% of CPU resources

Search indexing takes a while, and uses CPU in the background. This is usually only noticeable when a system is new, or has had a re-install or other big change. Try switching it off.

 

Insufficient RAM, resulting in a lot of paging, can also be a cause. How much do you have?

 

Here's a user who had both.

I don't work for Lenovo. I'm a crazy volunteer!
ctrler
Fanfold Paper
Posts: 10
Registered: ‎02-19-2009
Location: Portugal
Views: 7,227
Message 3 of 31

Re: x200 Hardware Interrupts constantly at 40% of CPU resources

The same thing is happening on my freshly installed thinkpad x61s with windows xp. I think it is a driver issue because in the previous instalation this didn't happen. With this new instalation I downloaded all the latest drivers.
marclang
Paper Tape
Posts: 10
Registered: ‎02-19-2009
Location: Switzerland
Views: 7,225
Message 4 of 31

Re: x200 Hardware Interrupts constantly at 40% of CPU resources

I have 4gb of ram.

 

I haven't played with search indexing, but I don't believe this is the cause, for two reasons:

 

a) The search indexer does _not_ show up in the task manager or the process explorer. It's "99% idle" in the task manager and "55% idle, 45% hardware interrupts" in the process explorer.

 

b) This really only happens when connected to the dock.When the laptop is undocked, it does not show this behavior - whether on battery power or on outlet power.

 

Also note that when you undock a "busy" system (i.e., 40-45% "Hardware Interrupts"), it usually continues this "Hardware Interrupts" business for some time. However, when you put the now undocked laptop to sleep and then wake it up, it will typically have stopped.

 

 

ctrler
Fanfold Paper
Posts: 10
Registered: ‎02-19-2009
Location: Portugal
Views: 7,222
Message 5 of 31

Re: x200 Hardware Interrupts constantly at 40% of CPU resources

Here is the output of krview.

This happens on battery and on AC. I don't have a docking station.

 

  C:\Documents and Settings\ctrlER>"C:\Program Files\KrView\Kernrates\Kernrate_i38
6_XP.exe" -z ntkrnlpa
/==============================\
< KERNRATE LOG >
\==============================/
Date: 2009/02/19 Time: 13:18:32
Machine Name: TUTTLE
Number of Processors: 2
PROCESSOR_ARCHITECTURE: x86
PROCESSOR_LEVEL: 6
PROCESSOR_REVISION: 0f0a
Physical Memory: 2535 MB
Pagefile Total: 4422 MB
Virtual Total: 2047 MB
PageFile1: \??\C:\pagefile.sys, 2046MB
OS Version: 5.1 Build 2600 Service-Pack: 3.0
WinDir: C:\WINDOWS

Kernrate User-Specified Command Line:
C:\Program Files\KrView\Kernrates\Kernrate_i386_XP.exe -z ntkrnlpa


Kernel Profile (PID = 0): Source= Time,
Using Kernrate Default Rate of 25000 events/hit
CallBack: Finished Attempt to Load symbols for 804d7000 \WINDOWS\system32\ntkrnl
pa.exe

Starting to collect profile data

***> Press ctrl-c to finish collecting profile data
===> Finished Collecting Data, Starting to Process Results

------------Overall Summary:--------------

P0 K 0:00:01.281 (33.5%) U 0:00:00.000 ( 0.0%) I 0:00:02.546 (66.5%) DPC
0:00:00.031 ( 0.8%) Interrupt 0:00:01.187 (31.0%)
Interrupts= 80238, Interrupt Rate= 20960/sec.

P1 K 0:00:01.406 (36.7%) U 0:00:00.031 ( 0.8%) I 0:00:02.390 (62.4%) DPC
0:00:00.015 ( 0.4%) Interrupt 0:00:01.375 (35.9%)
Interrupts= 76561, Interrupt Rate= 20000/sec.

TOTAL K 0:00:02.687 (35.1%) U 0:00:00.031 ( 0.4%) I 0:00:04.937 (64.5%) DPC
0:00:00.046 ( 0.6%) Interrupt 0:00:02.562 (33.5%)
Total Interrupts= 156799, Total Interrupt Rate= 40960/sec.


Total Profile Time = 3828 msec

BytesStart BytesStop Byt
esDiff.
Available Physical Memory , 2046914560, 2045411328, -1503
232
Available Pagefile(s) , 4106940416, 4105801728, -1138
688
Available Virtual , 2132660224, 2130460672, -2199
552
Available Extended Virtual , 0, 0,
0

Total Avg. Rate
Context Switches , 15992, 4178/sec.
System Calls , 53875, 14073/sec.
Page Faults , 832, 217/sec.
I/O Read Operations , 35, 9/sec.
I/O Write Operations , 14, 4/sec.
I/O Other Operations , 387, 101/sec.
I/O Read Bytes , 33532, 958/ I/O
I/O Write Bytes , 136, 10/ I/O
I/O Other Bytes , 224438, 580/ I/O

-----------------------------

Results for Kernel Mode:
-----------------------------

OutputResults: KernelModuleCount = 132
Percentage in the following table is based on the Total Hits for the Kernel

Time 3005 hits, 25000 events per hit --------
Module Hits msec %Total Events/Sec
ntkrnlpa 2573 3828 85 % 16803814
hal 238 3828 7 % 1554336
intelppm 99 3828 3 % 646551
igxpmp32 47 3828 1 % 306948
win32k 10 3828 0 % 65308
usbuhci 10 3828 0 % 65308
pcmcia 8 3828 0 % 52246
KSecDD 5 3828 0 % 32654
iaStor 4 3828 0 % 26123
NETw5x32 3 3828 0 % 19592
USBPORT 3 3828 0 % 19592
spsi 3 3828 0 % 19592
VIDEOPRT 1 3828 0 % 6530
NDIS 1 3828 0 % 6530

===> Processing Zoomed Module ntkrnlpa.exe...


----- Zoomed module ntkrnlpa.exe (Bucket size = 16 bytes, Rounding Down) -------
-
Percentage in the following table is based on the Total Hits for this Zoom Modul
e

Time 2573 hits, 25000 events per hit --------
Module Hits msec %Total Events/Sec
NtBuildNumber 1725 3828 67 % 11265673
RtlIpv6StringToAddressA 775 3828 30 % 5061389
ExAllocatePoolWithTag 27 3828 1 % 176332
PoShutdownBugCheck 11 3828 0 % 71839
ProbeForRead 4 3828 0 % 26123
KeSynchronizeExecution 4 3828 0 % 26123
ExRaiseStatus 3 3828 0 % 19592
wctomb 3 3828 0 % 19592
ZwYieldExecution 3 3828 0 % 19592
PoSetPowerState 2 3828 0 % 13061
LsaDeregisterLogonProcess 1 3828 0 % 6530
SeTokenIsWriteRestricted 1 3828 0 % 6530
SeMarkLogonSessionForTerminationNotification 1 3828 0 %
6530
RtlFormatCurrentUserKeyPath 1 3828 0 % 6530
PsDereferencePrimaryToken 1 3828 0 % 6530
PoQueueShutdownWorkItem 1 3828 0 % 6530
ObQueryNameString 1 3828 0 % 6530
MmResetDriverPaging 1 3828 0 % 6530
MmPageEntireDriver 1 3828 0 % 6530
Kei386EoiHelper 1 3828 0 % 6530
RtlIpv6AddressToStringW 1 3828 0 % 6530
RtlVerifyVersionInfo 1 3828 0 % 6530
MmProtectMdlSystemAddress 1 3828 0 % 6530
KeInitializeQueue 1 3828 0 % 6530
KeI386GetLid 1 3828 0 % 6530
KeRegisterBugCheckReasonCallback 1 3828 0 % 6530
IoCsqRemoveIrp 1 3828 0 % 6530

================================= END OF RUN ==================================
============================== NORMAL END OF RUN ==============================

 

ctrler
Fanfold Paper
Posts: 10
Registered: ‎02-19-2009
Location: Portugal
Views: 7,220
Message 6 of 31

Re: x200 Hardware Interrupts constantly at 40% of CPU resources

And this is the kernrate log after I uninstalled the sata controller from control panel. No CPU load.

I restarted the machine after removing the sata controller and it installed the controller again, it has prompted me to reboot again to finish the installation but I haven't done that yet. Until now, no high load has happened.

 

 

C:\Documents and Settings\ctrlER>"C:\Program Files\KrView\Kernrates\Kernrate_i38 6_XP.exe" /==============================\ < KERNRATE LOG > \==============================/ Date: 2009/02/19 Time: 13:35:13 Machine Name: TUTTLE Number of Processors: 2 PROCESSOR_ARCHITECTURE: x86 PROCESSOR_LEVEL: 6 PROCESSOR_REVISION: 0f0a Physical Memory: 2535 MB Pagefile Total: 4422 MB Virtual Total: 2047 MB PageFile1: \??\C:\pagefile.sys, 2046MB OS Version: 5.1 Build 2600 Service-Pack: 3.0 WinDir: C:\WINDOWS Kernrate User-Specified Command Line: C:\Program Files\KrView\Kernrates\Kernrate_i386_XP.exe Kernel Profile (PID = 0): Source= Time, Using Kernrate Default Rate of 25000 events/hit Starting to collect profile data ***> Press ctrl-c to finish collecting profile data ===> Finished Collecting Data, Starting to Process Results ------------Overall Summary:-------------- P0 K 0:00:00.125 ( 1.2%) U 0:00:00.031 ( 0.3%) I 0:00:10.312 (98.5%) DPC 0:00:00.031 ( 0.3%) Interrupt 0:00:00.000 ( 0.0%) Interrupts= 1673, Interrupt Rate= 160/sec. P1 K 0:00:00.250 ( 2.4%) U 0:00:00.000 ( 0.0%) I 0:00:10.218 (97.6%) DPC 0:00:00.015 ( 0.1%) Interrupt 0:00:00.031 ( 0.3%) Interrupts= 1673, Interrupt Rate= 160/sec. TOTAL K 0:00:00.375 ( 1.8%) U 0:00:00.031 ( 0.1%) I 0:00:20.531 (98.1%) DPC 0:00:00.046 ( 0.2%) Interrupt 0:00:00.031 ( 0.1%) Total Interrupts= 3346, Total Interrupt Rate= 320/sec. Total Profile Time = 10468 msec BytesStart BytesStop Byt esDiff. Available Physical Memory , 2158850048, 2162970624, 4120 576 Available Pagefile(s) , 4226367488, 4225921024, -446 464 Available Virtual , 2132660224, 2131611648, -1048 576 Available Extended Virtual , 0, 0, 0 Total Avg. Rate Context Switches , 9745, 931/sec. System Calls , 29229, 2792/sec. Page Faults , 1707, 163/sec. I/O Read Operations , 72, 7/sec. I/O Write Operations , 37, 4/sec. I/O Other Operations , 1000, 96/sec. I/O Read Bytes , 24076, 334/ I/O I/O Write Bytes , 1380, 37/ I/O I/O Other Bytes , 1382780, 1383/ I/O ----------------------------- Results for Kernel Mode: ----------------------------- OutputResults: KernelModuleCount = 129 Percentage in the following table is based on the Total Hits for the Kernel Time 493 hits, 25000 events per hit -------- Module Hits msec %Total Events/Sec ntkrnlpa 395 10468 80 % 943351 hal 37 10468 7 % 88364 KSecDD 33 10468 6 % 78811 NETw5x32 12 10468 2 % 28658 win32k 7 10468 1 % 16717 Tppwrif 2 10468 0 % 4776 spiv 2 10468 0 % 4776 avipbb 1 10468 0 % 2388 TPHKDRV 1 10468 0 % 2388 igxpmp32 1 10468 0 % 2388 NDIS 1 10468 0 % 2388 Ntfs 1 10468 0 % 2388 ================================= END OF RUN ================================== ============================== NORMAL END OF RUN ============================== C:\Documents and Settings\ctrlER> C:\Program Files\KrView\Kernrates\Kernrate_i386_XP.exe -z ntkrnlpa Kernel Profile (PID = 0): Source= Time, Using Kernrate Default Rate of 25000 events/hit CallBack: Finished Attempt to Load symbols for 804d7000 \WINDOWS\system32\ntkrnl pa.exe Starting to collect profile data ***> Press ctrl-c to finish collecting profile data ===> Finished Collecting Data, Starting to Process Results ------------Overall Summary:-------------- P0 K 0:00:00.156 ( 1.2%) U 0:00:00.078 ( 0.6%) I 0:00:12.296 (98.1%) DPC 0:00:00.031 ( 0.2%) Interrupt 0:00:00.015 ( 0.1%) Interrupts= 1736, Interrupt Rate= 139/sec. P1 K 0:00:00.171 ( 1.4%) U 0:00:00.031 ( 0.2%) I 0:00:12.328 (98.4%) DPC 0:00:00.015 ( 0.1%) Interrupt 0:00:00.015 ( 0.1%) Interrupts= 1735, Interrupt Rate= 138/sec. TOTAL K 0:00:00.328 ( 1.3%) U 0:00:00.109 ( 0.4%) I 0:00:24.625 (98.3%) DPC 0:00:00.046 ( 0.2%) Interrupt 0:00:00.031 ( 0.1%) Total Interrupts= 3471, Total Interrupt Rate= 277/sec. Total Profile Time = 12531 msec BytesStart BytesStop Byt esDiff. Available Physical Memory , 2166996992, 2164838400, -2158 592 Available Pagefile(s) , 4227276800, 4225929216, -1347 584 Available Virtual , 2132660224, 2130460672, -2199 552 Available Extended Virtual , 0, 0, 0 Total Avg. Rate Context Switches , 10583, 845/sec. System Calls , 30623, 2444/sec. Page Faults , 1704, 136/sec. I/O Read Operations , 45, 4/sec. I/O Write Operations , 26, 2/sec. I/O Other Operations , 725, 58/sec. I/O Read Bytes , 17252, 383/ I/O I/O Write Bytes , 280, 11/ I/O I/O Other Bytes , 1377388, 1900/ I/O ----------------------------- Results for Kernel Mode: ----------------------------- OutputResults: KernelModuleCount = 129 Percentage in the following table is based on the Total Hits for the Kernel Time 502 hits, 25000 events per hit -------- Module Hits msec %Total Events/Sec ntkrnlpa 397 12531 79 % 792035 KSecDD 39 12531 7 % 77807 hal 39 12531 7 % 77807 NETw5x32 17 12531 3 % 33915 win32k 4 12531 0 % 7980 igxpmp32 2 12531 0 % 3990 avgntflt 1 12531 0 % 1995 mrxsmb 1 12531 0 % 1995 NDIS 1 12531 0 % 1995 ACPI 1 12531 0 % 1995 ===> Processing Zoomed Module ntkrnlpa.exe... ----- Zoomed module ntkrnlpa.exe (Bucket size = 16 bytes, Rounding Down) ------- - Percentage in the following table is based on the Total Hits for this Zoom Modul e Time 397 hits, 25000 events per hit -------- Module Hits msec %Total Events/Sec NtBuildNumber 322 12531 81 % 642406 PoShutdownBugCheck 20 12531 5 % 39901 ZwYieldExecution 11 12531 2 % 21945 Kei386EoiHelper 5 12531 1 % 9975 RtlIpv6StringToAddressA 5 12531 1 % 9975 ProbeForRead 4 12531 1 % 7980 KeTickCount 4 12531 1 % 7980 KeSynchronizeExecution 4 12531 1 % 7980 wctomb 4 12531 1 % 7980 LsaDeregisterLogonProcess 3 12531 0 % 5985 IoWMISetNotificationCallback 1 12531 0 % 1995 SeTokenIsWriteRestricted 1 12531 0 % 1995 PsSetProcessPriorityByClass 1 12531 0 % 1995 PsEstablishWin32Callouts 1 12531 0 % 1995 PoQueueShutdownWorkItem 1 12531 0 % 1995 ObQueryNameString 1 12531 0 % 1995 ExRaiseStatus 1 12531 0 % 1995 mbstowcs 1 12531 0 % 1995 PoSetPowerState 1 12531 0 % 1995 PoStartNextPowerIrp 1 12531 0 % 1995 MmTrimAllSystemPagableMemory 1 12531 0 % 1995 MmIsThisAnNtAsSystem 1 12531 0 % 1995 MmProtectMdlSystemAddress 1 12531 0 % 1995 MmIsDriverVerifying 1 12531 0 % 1995 KeRundownQueue 1 12531 0 % 1995 ================================= END OF RUN ================================== ============================== NORMAL END OF RUN ============================== C:\Documents and Settings\ctrlER>

 

 

 

Message Edited by ctrler on 02-19-2009 05:43 AM
marclang
Paper Tape
Posts: 10
Registered: ‎02-19-2009
Location: Switzerland
Views: 7,208
Message 7 of 31

Re: x200 Hardware Interrupts constantly at 40% of CPU resources

Another piece of observation: I just unplugged my Ethernet cable from my docking station and am now using the built-in WiFi, while in the dock. And voila: no "Hardware Interrupts" anymore!

 

So my hypothesis is now: maybe this is an ethernet driver problem related to the docking station hardware?

 

Again: this is not a problem when I connect an ethernet cable directly to the laptop when it's undocked...

 

I originally (i.e., when this all started) had the "9.52.10.1001 Build 174012" Lenovo drivers installed. I reverted to an older version (using Vista's "revert to previous version" button in the driver properties dialog box), but that didn't help. I then installed the network driver directly from Intel (version 9.52.20.0) but this apparently didn't help either. 

 

-m

ctrler
Fanfold Paper
Posts: 10
Registered: ‎02-19-2009
Location: Portugal
Views: 7,200
Message 8 of 31

Re: x200 Hardware Interrupts constantly at 40% of CPU resources

I hope I'm not speaking to soon but it seems the problem is gone on my part.

I worry that I may hijacked your thread with a problem different from yours but I realy suspect this is a problem with a recent driver.

As for now, the solution for me was to uninstal the SATA controller from the device manager.

 

Cheers.

ctrler
Fanfold Paper
Posts: 10
Registered: ‎02-19-2009
Location: Portugal
Views: 7,197
Message 9 of 31

Re: x200 Hardware Interrupts constantly at 40% of CPU resources

Oh well... Spoke to soon.

 

I suspended the system.

After suspend the high cpu load is back.

It seems one of the drivers is not supporting the suspension and when comes back just goes nuts...

marclang
Paper Tape
Posts: 10
Registered: ‎02-19-2009
Location: Switzerland
Views: 7,196
Message 10 of 31

Re: x200 Hardware Interrupts constantly at 40% of CPU resources

I seem to have spoken too soon, too. Alas for the worse: I just tried to recreate that "unplug-my-ethernet-cable-and-the-problem-goes-away" effect and: it isn't going away :-|

 

so back to square one: no idea what's causing this, other than it being "dock-related"...

 

-m

Check out current deals!


Shop current deals

Top Kudoed Authors