• Still running Windows 7 or earlier? Support for Windows 7 ended on January 14th 2020. Please review the thread here for more details.

Extreme DPC Latency from USBPORT.SYS and storport.sys

Firestarter

Member
Joined
Feb 23, 2015
Posts
7
I've spent the last couple of months off and on trying to fix this problem. I have tried reformatting but I'm not sure if it was a complete wipe and I would prefer to see if there is any other solution. I get static/crackly audio and framerate lag when playing any type of game and occasionally when watching videos/streams. I would appreciate any help anyone can provide me with or point me in the right direction. Here is the stats from Latencymon.

_________________________________________________________________________________________________________CONCLUSION
_________________________________________________________________________________________________________
Your system appears to be having trouble handling real-time audio and other tasks. You are likely to experience buffer underruns appearing as drop outs, clicks or pops. One problem may be related to power management, disable CPU throttling settings in Control Panel and BIOS setup. Check for BIOS updates.
LatencyMon has been analyzing your system for 0:21:28 (h:mm:ss) on all processors.




_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name: JOHNHENRY-PC
OS version: Windows 7 Service Pack 1, 6.1, build: 7601 (x64)
Hardware: Gigabyte Technology Co., Ltd., X79-UD3
CPU: GenuineIntel Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz
Logical processors: 12
Processor groups: 1
RAM: 16305 MB total




_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed: 3200.0 MHz
Measured CPU speed: 815.0 MHz (approx.)


Note: reported execution times may be calculated based on a fixed reported CPU speed. Disable variable speed settings like Intel Speed Step and AMD Cool N Quiet in the BIOS setup for more accurate results.




_________________________________________________________________________________________________________
MEASURED INTERRUPT TO USER PROCESS LATENCIES
_________________________________________________________________________________________________________
The interrupt to process latency reflects the measured interval that a usermode process needed to respond to a hardware request from the moment the interrupt service routine started execution. This includes the scheduling and execution of a DPC routine, the signaling of an event and the waking up of a usermode thread from an idle wait state in response to that event.


Highest measured interrupt to process latency (µs): 9197.413511
Average measured interrupt to process latency (µs): 5.542076


Highest measured interrupt to DPC latency (µs): 784.957739
Average measured interrupt to DPC latency (µs): 1.229897




_________________________________________________________________________________________________________
REPORTED ISRs
_________________________________________________________________________________________________________
Interrupt service routines are routines installed by the OS and device drivers that execute in response to a hardware interrupt signal.


Highest ISR routine execution time (µs): 314.061875
Driver with highest ISR routine execution time: USBPORT.SYS - USB 1.1 & 2.0 Port Driver, Microsoft Corporation


Highest reported total ISR routine time (%): 0.088798
Driver with highest ISR total time: storport.sys - Microsoft Storage Port Driver, Microsoft Corporation


Total time spent in ISRs (%) 0.215666


ISR count (execution time <250 µs): 10590133
ISR count (execution time 250-500 µs): 0
ISR count (execution time 500-999 µs): 39
ISR count (execution time 1000-1999 µs): 0
ISR count (execution time 2000-3999 µs): 0
ISR count (execution time >=4000 µs): 0




_________________________________________________________________________________________________________
REPORTED DPCs
_________________________________________________________________________________________________________
DPC routines are part of the interrupt servicing dispatch mechanism and disable the possibility for a process to utilize the CPU while it is interrupted until the DPC has finished execution.


Highest DPC routine execution time (µs): 640.510
Driver with highest DPC routine execution time: USBPORT.SYS - USB 1.1 & 2.0 Port Driver, Microsoft Corporation


Highest reported total DPC routine time (%): 0.660777
Driver with highest DPC total execution time: USBPORT.SYS - USB 1.1 & 2.0 Port Driver, Microsoft Corporation


Total time spent in DPCs (%) 0.857524


DPC count (execution time <250 µs): 16110066
DPC count (execution time 250-500 µs): 0
DPC count (execution time 500-999 µs): 555
DPC count (execution time 1000-1999 µs): 0
DPC count (execution time 2000-3999 µs): 0
DPC count (execution time >=4000 µs): 0




_________________________________________________________________________________________________________
REPORTED HARD PAGEFAULTS
_________________________________________________________________________________________________________
Hard pagefaults are events that get triggered by making use of virtual memory that is not resident in RAM but backed by a memory mapped file on disk. The process of resolving the hard pagefault requires reading in the memory from disk while the process is interrupted and blocked from execution.


NOTE: some processes were hit by hard pagefaults. If these were programs producing audio, they are likely to interrupt the audio stream resulting in dropouts, clicks and pops. Check the Processes tab to see which programs were hit.


Process with highest pagefault count: msmpeng.exe


Total number of hard pagefaults 1455
Hard pagefault count of hardest hit process: 1032
Highest hard pagefault resolution time (µs): 423541.283438
Total time spent in hard pagefaults (%): 0.153560
Number of processes hit: 6




_________________________________________________________________________________________________________
PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s): 47.390911
CPU 0 ISR highest execution time (µs): 110.986250
CPU 0 ISR total execution time (s): 3.566542
CPU 0 ISR count: 2572228
CPU 0 DPC highest execution time (µs): 348.576875
CPU 0 DPC total execution time (s): 10.699287
CPU 0 DPC count: 7492443
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s): 24.922292
CPU 1 ISR highest execution time (µs): 0.0
CPU 1 ISR total execution time (s): 0.0
CPU 1 ISR count: 0
CPU 1 DPC highest execution time (µs): 245.506875
CPU 1 DPC total execution time (s): 0.064776
CPU 1 DPC count: 6374
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s): 41.436525
CPU 2 ISR highest execution time (µs): 55.920
CPU 2 ISR total execution time (s): 0.009514
CPU 2 ISR count: 550
CPU 2 DPC highest execution time (µs): 334.609375
CPU 2 DPC total execution time (s): 7.546517
CPU 2 DPC count: 787864
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s): 24.916360
CPU 3 ISR highest execution time (µs): 0.0
CPU 3 ISR total execution time (s): 0.0
CPU 3 ISR count: 0
CPU 3 DPC highest execution time (µs): 282.076875
CPU 3 DPC total execution time (s): 0.030249
CPU 3 DPC count: 2383
_________________________________________________________________________________________________________
CPU 4 Interrupt cycle time (s): 26.198574
CPU 4 ISR highest execution time (µs): 0.0
CPU 4 ISR total execution time (s): 0.0
CPU 4 ISR count: 0
CPU 4 DPC highest execution time (µs): 306.553125
CPU 4 DPC total execution time (s): 1.241966
CPU 4 DPC count: 154857
_________________________________________________________________________________________________________
CPU 5 Interrupt cycle time (s): 27.076067
CPU 5 ISR highest execution time (µs): 0.0
CPU 5 ISR total execution time (s): 0.0
CPU 5 ISR count: 0
CPU 5 DPC highest execution time (µs): 86.824062
CPU 5 DPC total execution time (s): 0.016931
CPU 5 DPC count: 2138
_________________________________________________________________________________________________________
CPU 6 Interrupt cycle time (s): 28.816368
CPU 6 ISR highest execution time (µs): 157.973750
CPU 6 ISR total execution time (s): 0.267125
CPU 6 ISR count: 46609
CPU 6 DPC highest execution time (µs): 399.406875
CPU 6 DPC total execution time (s): 5.477586
CPU 6 DPC count: 467660
_________________________________________________________________________________________________________
CPU 7 Interrupt cycle time (s): 26.145672
CPU 7 ISR highest execution time (µs): 0.0
CPU 7 ISR total execution time (s): 0.0
CPU 7 ISR count: 0
CPU 7 DPC highest execution time (µs): 61.306875
CPU 7 DPC total execution time (s): 0.011179
CPU 7 DPC count: 1905
_________________________________________________________________________________________________________
CPU 8 Interrupt cycle time (s): 27.529169
CPU 8 ISR highest execution time (µs): 0.0
CPU 8 ISR total execution time (s): 0.0
CPU 8 ISR count: 0
CPU 8 DPC highest execution time (µs): 300.51250
CPU 8 DPC total execution time (s): 2.663886
CPU 8 DPC count: 253068
_________________________________________________________________________________________________________
CPU 9 Interrupt cycle time (s): 158.704314
CPU 9 ISR highest execution time (µs): 314.061875
CPU 9 ISR total execution time (s): 29.514529
CPU 9 ISR count: 7970785
CPU 9 DPC highest execution time (µs): 640.510
CPU 9 DPC total execution time (s): 102.329933
CPU 9 DPC count: 6705431
_________________________________________________________________________________________________________
CPU 10 Interrupt cycle time (s): 26.888719
CPU 10 ISR highest execution time (µs): 0.0
CPU 10 ISR total execution time (s): 0.0
CPU 10 ISR count: 0
CPU 10 DPC highest execution time (µs): 310.564375
CPU 10 DPC total execution time (s): 2.531935
CPU 10 DPC count: 232997
_________________________________________________________________________________________________________
CPU 11 Interrupt cycle time (s): 26.926351
CPU 11 ISR highest execution time (µs): 0.0
CPU 11 ISR total execution time (s): 0.0
CPU 11 ISR count: 0
CPU 11 DPC highest execution time (µs): 306.48750
CPU 11 DPC total execution time (s): 0.021640
CPU 11 DPC count: 3501
_________________________________________________________________________________________________________
Here is the overall conclusion from Latencymonlatencymon1.png
Here is the Drivers page of Latencymonlatencymon2.png
 
Are you using external audio interface/mixer? If not, please do the following:

  1. Download Windows Software Development Kit (SDK) for Windows and run the setup.
  2. Select Windows Performance Toolkit feature (all the others can be unchecked) and proceed with the download/installation.
  3. Once the installation finishes, open an elevated Command Prompt by right-clicking on CMD.EXE shortcut in your start menu and selecting Run As Administrator from the context menu.
  4. Type the following command, which will start tracing, in the Command Prompt window you just opened:
    Code:
    xperf -on PROC_THREAD+LOADER+PROFILE+INTERRUPT+DPC+DRIVERS+POWER+IDLE_STATES -stackwalk Profile -BufferSize 1024 -MinBuffers 256 -MaxBuffers 256 -MaxFile 256 -FileMode Circular
    If you see a yellow warning "xperf: warning: This system is not fully configured for x64 stack tracing" after running the above command, please complete these extra steps (otherwise, proceed to the step #5):
    Read More:
    If you see a red error "xperf: error: NT Kernel Logger: A device attached to the system is not functioning. (0x1f)" after running the above command, please complete these extra steps (otherwise, proceed to the step #5):
    Read More:

    If you see a red error "xperf: error: NT Kernel Logger: Cannot create a file when that file already exists. (0xb7)", please do the following (otherwise, proceed to the step #5):
    Read More:
  5. Perform some activities with your computer for few minutes, making sure the issues you reported are reproduced.
  6. Run the following command, which will stop the tracing, in the command prompt window you already have opened:
    Code:
    xperf -stop -d C:\CPU.etl
  7. Compress file C:\CPU.etl
  8. Upload the compressed file to a file sharing service (e.g. OneDrive or DropBox).
  9. Share the download link here.
Thank you.
 
Thank you.

Cannot say for sure yet, but it seems that it's either ladfGSRamd64.sys or t2usb64.sys/mctkmd64.sys (more likely) what's causing the issues. The first driver belongs to the Logitech G35 Headset you have installed. As I've seen drivers of G-Series devices causing latency issues and crashes before, I would strongly recommend making sure you have the latest driver installed. As for the the two other drivers I've identified, they seem to belong to Magic Control Tech. company. Whatever device (I know they make USB to VGA adapters) or software you're using from this company, try removing the device or upgrade the software/drivers.

As o
 
DaBxx, I would appreciate it if you could create your own thread. Thanks.

TomasD, here is a new trace. http://1drv.ms/1MqikYo . I disabled my Logitech Gaming Software program during that trace and I also disabled as many drivers from Magic Control Tech as I could without it disabling my second monitor. It made latency issues much less prominent but still felt off. I'm wondering if you can help me find another way to decrease latency because without the Logitech driver, my headphones lose many of their features such as surround sound. Any more advice would be great. Thanks.
 
Hello, I just joined the site because I'm having exactly the same issue.
I followed the exact steps you layed out and here is my ETL file.

https://www.dropbox.com/s/h0e93gvuha9tg2n/CPU.rar?dl=0

Thanks.
There are few huge DPC spikes in the storage subsystem:

Capture.jpg

They seem to be coming from amd_sata.sys driver, which belongs to AMD SATA Controller. Installing the latest Chipset driver from Support & Drivers should solve the issue. If it doesn't, please create a new thread and we'll continue troubleshooting this.
 
DaBxx, I would appreciate it if you could create your own thread. Thanks.

TomasD, here is a new trace. http://1drv.ms/1MqikYo . I disabled my Logitech Gaming Software program during that trace and I also disabled as many drivers from Magic Control Tech as I could without it disabling my second monitor. It made latency issues much less prominent but still felt off. I'm wondering if you can help me find another way to decrease latency because without the Logitech driver, my headphones lose many of their features such as surround sound. Any more advice would be great. Thanks.

Have you tried unplugging the Logitech headphones to see if the issue persists?
 
DaBxx, I would appreciate it if you could create your own thread. Thanks.

TomasD, here is a new trace. http://1drv.ms/1MqikYo . I disabled my Logitech Gaming Software program during that trace and I also disabled as many drivers from Magic Control Tech as I could without it disabling my second monitor. It made latency issues much less prominent but still felt off. I'm wondering if you can help me find another way to decrease latency because without the Logitech driver, my headphones lose many of their features such as surround sound. Any more advice would be great. Thanks.

Sorry, I thought you were done here and didn't want to make a new one.
 
Here is a trace with headset unplugged, vga to usb for second monitor unplugged, as well as headset program disabled. Lag seemed worse than last time I made a trace. Microsoft services

Sorry for the delay, extremely busy lately.
 
Yes, it seems the issue still persists. Could you please try disabling "USB selective suspend" via Advanced Power Options?
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top