Support in other languages: 
Showing results for 
Search instead for 
Do you mean 
Reply
Paper Tape
crispin
Posts: 8
Registered: ‎09-07-2011
Location: UK
0

T420 Mute button queues up unnaceptable amount of Kernel work

FAO someone from Lenovo - for the Driver dev team.

 

To reproduce:

 

Download DPC Latency Checker or LatencyMon

 

Run either utility

 

Hit the Hardware mute button on the T420.

 

Watch the DPC Latency Spike to around 4000 micro seconds.  Same applies when unmuting.  Also occurs when using windows mute option, because it lights up/turns off the hardware mute internal led.

 

I fail to understand why the hardware driver (simple HID device) needs to queue kernel work like this, it's a simple command that can be implemented using an inverted call pattern to tell other user mode programs (such as the on screen drawing device) that it was successful.

 

The Windows Driver Development Guidelines state that queued work should take no more than 100 micro seconds.

 

If someone (ideally a Lenovo driver dev) could pick this up that would be great.  Thanks.

Guru
ColonelONeill
Posts: 6,784
Registered: ‎12-26-2009
Location: Toronto
0

Re: T420 Mute button queues up unnaceptable amount of Kernel work

Confirm on W520, except around 8000 microseconds.

Could it be scaling with respect to visible core count? (T420 at 4, W520 at 8.)
W520: i7-2720QM, Q2000M at 1090/695/1390, 22GB RAM, 500GB HDD, FHD screen
TPT1: 1839-23U, stock ICS
X61T: L7500, 3GB RAM, 500GB HDD, XGA screen, Ultrabase