Solved Slow CPU speed reported by LatencyMon

kyleknapp

New member
Local time
2:52 PM
Messages
37
I've been trying for some time to figure out why I get audio "drop-outs" during audio recording or playback. (I am a semi-professional music producer - in other words, people pay me to record and produce their music, so these glitches can be pretty embarrassing if they happen during a live recording session).

It doesn't happen all that often, but seems to have increased since I upgraded RAM from 8 to 16GB, and traded in my mechanical HD for a 1TB SSD (which I did hoping to improve speed - didn't seem to make that much difference). There may be no problem for hours or even days, then suddenly it starts happening repeatedly, and even re-booting doesn't cure it.

I recently discovered LatencyMonitor. It suggested updating drivers, so I updated all of them I could find (using Driver Booster 3), plus removed some I no longer needed. I also uninstalled EasyTune (though I couldn't figure out whether it was actually running). That has improved, but not eliminated the problem.

To the point: LatencyMon reveals 3 particular issues of concern, that I can't figure out what to do with, and I was hoping someone here could point me in the right direction.
1. CPU Speed - according to LatencyMon, "reported" CPU speed is 3093 MHz, but the "Measured" speed is only 1 MHz. I don't believe this can be accurate. Is there another utility I can use to measure CPU speed?

2. High Interrupt-to-Process Latencies - if I'm reading the report right, this seems to be coming from ataport.sys. I've seen dozens of references to this problem online, but no solutions that I haven't already tried.

3. High Pagefault resolution times - the most pagefaults, and the longest resolutions times, seem to occur it msmpeng.exe (Microsoft Security Essentials - grrr! you'd think Microsoft would've made their own antivirus program more efficient). Is there another AV solution that might work better (preferably cheap or free).


FYI, the entire LatencyMon report is appended below. Thanks for any help you can offer.

~kyle knapp
------

Code:
_________________________________________________________________________________________________________
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  24:20:46  (h:mm:ss) on all processors.


_________________________________________________________________________________________________________
SYSTEM INFORMATION
_________________________________________________________________________________________________________
Computer name:                                        DRYCREEKSTUDIO
OS version:                                           Windows 7 Service Pack 1, 6.1, build: 7601 (x64)
Hardware:                                             Z68A-D3H-B3, Gigabyte Technology Co., Ltd.
CPU:                                                  GenuineIntel Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
Logical processors:                                   4
Processor groups:                                     1
RAM:                                                  16301 MB total


_________________________________________________________________________________________________________
CPU SPEED
_________________________________________________________________________________________________________
Reported CPU speed:                                   3093 MHz
Measured CPU speed:                                   1 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.

WARNING: the CPU speed that was measured is only a fraction of the CPU speed reported. Your CPUs may be throttled back due to variable speed settings and thermal issues. It is suggested that you run a utility which reports your actual CPU frequency and temperature. 



_________________________________________________________________________________________________________
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):   3155.740704
Average measured interrupt to process latency (µs):   2.992244

Highest measured interrupt to DPC latency (µs):       577.382689
Average measured interrupt to DPC latency (µs):       1.052137


_________________________________________________________________________________________________________
 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):              186.454252
Driver with highest ISR routine execution time:       ataport.SYS - ATAPI Driver Extension, Microsoft Corporation

Highest reported total ISR routine time (%):          0.039398
Driver with highest ISR total time:                   ataport.SYS - ATAPI Driver Extension, Microsoft Corporation

Total time spent in ISRs (%)                          0.062850

ISR count (execution time <250 µs):                   67931642
ISR count (execution time 250-500 µs):                0
ISR count (execution time 500-999 µs):                0
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):              634.975105
Driver with highest DPC routine execution time:       ataport.SYS - ATAPI Driver Extension, Microsoft Corporation

Highest reported total DPC routine time (%):          0.184231
Driver with highest DPC total execution time:         ataport.SYS - ATAPI Driver Extension, Microsoft Corporation

Total time spent in DPCs (%)                          0.298536

DPC count (execution time <250 µs):                   205719655
DPC count (execution time 250-500 µs):                0
DPC count (execution time 500-999 µs):                6
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                       303967
Hard pagefault count of hardest hit process:          226374
Highest hard pagefault resolution time (µs):          298159.409958
Total time spent in hard pagefaults (%):              0.040880
Number of processes hit:                              22


_________________________________________________________________________________________________________
 PER CPU DATA
_________________________________________________________________________________________________________
CPU 0 Interrupt cycle time (s):                       1469.370741
CPU 0 ISR highest execution time (µs):                186.454252
CPU 0 ISR total execution time (s):                   220.344567
CPU 0 ISR count:                                      67931642
CPU 0 DPC highest execution time (µs):                634.975105
CPU 0 DPC total execution time (s):                   1001.921223
CPU 0 DPC count:                                      181393239
_________________________________________________________________________________________________________
CPU 1 Interrupt cycle time (s):                       126.334885
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):                178.344973
CPU 1 DPC total execution time (s):                   10.581033
CPU 1 DPC count:                                      4103687
_________________________________________________________________________________________________________
CPU 2 Interrupt cycle time (s):                       101.732955
CPU 2 ISR highest execution time (µs):                0.0
CPU 2 ISR total execution time (s):                   0.0
CPU 2 ISR count:                                      0
CPU 2 DPC highest execution time (µs):                146.540899
CPU 2 DPC total execution time (s):                   13.127845
CPU 2 DPC count:                                      7435390
_________________________________________________________________________________________________________
CPU 3 Interrupt cycle time (s):                       160.728584
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):                163.831555
CPU 3 DPC total execution time (s):                   20.99980
CPU 3 DPC count:                                      12787345
_________________________________________________________________________________________________________
 

My Computer

OS
Windows 7 Professional 64bit

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom assembled by me :}
OS
Win-7-Pro64bit 7-H-Prem-64bit
CPU
i7-5930K 2nd i9-9940x both water blocked VRM's too
Motherboard
ASUS SABERTOOTH X99 2nd ASUS x299 Apex
Memory
Trident-z 3200C14 2nd Trident-z 3600C16
Graphics Card(s)
EVGA 1080ti ftw3 2nd Titan Xp both water blocked
Sound Card
Built-in Realtek
Monitor(s) Displays
1-AOC G2460PG 24"G-Sync 144Hz/ 2nd 1-ASUS VG248QE 24" 144Hz
Screen Resolution
1920 x 1080 144Hz
Hard Drives
2-Samsung M.2 Evo & Evo Plus
2-Samsung 850 EVO 500GB SSD's/ 3-2.5 W.D. Black 1tb-&3-1tb/3-3.5 WD Black 1tb hdd's
PSU
EVGA SuperNOVA 1000-P2 2nd 1200-P2
Case
2-Corsair Obsidian Series 450D Black ATX Mid Tower
Cooling
Custom water loops
Keyboard
Logitech G710+/ 2nd Logitech G910
Mouse
2-RedDragon M901 Perdition 16400 dpi Gaming mouse = wired
Internet Speed
Comcast Ping 19ms 89.31mbps download speed 6.12mbps upload
Antivirus
Malwarebytes Pro/ Superantispyware Pro
Browser
FireFox & Pale moon
Other Info
2nd ASUS X299 Apex/Intel i9-9940x with Custom water loop/7H-Prem-x64/Corsair 450D case/Ram Trident-z 3600C16 4x8gb / Samsung970Evo plus 500gb SSD/Dual ssd EZ swap evo/PSU EVGA SuperNova 1200w-P2 80+Platinum/GPU Titan Xp /8-ML-140 on push-pull on 2-280GTX rads
There may be multiple things contributing to the problem. Thinking aloud, I would look into and modify accordingly:

> Disable all but the most critical scheduled tasks via Task Scheduler. Your comment "There may be no problem for hours or even days, then suddenly it starts happening repeatedly, and even re-booting doesn't cure it" was a red flag to me. This will take some time and a little research as you need to follow dependencies. I guess is this step will make a major improvement.

> Check all startup applications and stop all that are not part of the OS, your hardware or software you deliberately launched.

> Turn off ALL software package auto update "features' as well as there access to the Internet. If you are on a network and don't need the network for your critical task, disconnect from the network. If you have ANY online apps such as MS Office 365, uninstall them as they will be a major drain just when you don't want it. Turn off anti-virus auto updates and all Windows update settings except "Never check for updates."

> Turn off the Windows pagefile.

I suggest setting up a dual boot system:
> Set one for normal business/office/home use
> Set up a second boot with critical audio applications only - NO office suites, "stuff" programs, nothing except what is required for your critical applications. Lock down Windows (especially Task Scheduler) tight as a drum and turn off the pagefile.

Regards,
GEWB
 
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
(7 different computers booting up to 10 systems)
OS
Linux Mint / XP / Win7 Home, Pro, Ultimate / Win8.1 / Win10
Other Info
Four desktops, two laptops, one notebook and one tablet
Both replies, THANK YOU!
 

My Computer

OS
Windows 7 Professional 64bit
CPU-Z (assuming it's fairly accurate) verifies that my CPU is running at about 3.2GHz - no idea why latencymon "measured" it at 1Mhz. So that's a relief.

I've found and disabled several programs in auto-startup. This seems to have helped significantly, but not completely cured the problem.

I do a lot of different things on this computer, so I have more software loaded on it than I should for doing audio recording. I should probably consider (when I can afford it) investing in another computer, and separating these tasks.

Starting to track down any programs that auto-update. Someone suggested to me that Google updater might be part of the problem, but that it's difficult to clamp down because so many different apps are affected by it. Any insights into this?

I looked at the Panda AV, but the reviews weren't impressive - by most accounts, MSE seems to be both better protection and more resource-efficient. Not sure how such reports square with actual experience. At times when my computer has been running the slowest, MSE seems to always be at the top of the CPU usage list in Task Manager. I may try turning off both AV and my network connection while recording. I think that's likely to help, but it's kind of a pain - if only I could find a way to do both with a single click...
 

My Computer

OS
Windows 7 Professional 64bit
Hi,
Not sure what reviews you're referring to but Panda seems fine to me considering most threats are malware and need additional protection for that of which i use malwarebytes premium for that which uses more resources than Panda does :)
Panda Free Antivirus (2016) Review & Rating | PCMag.com
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom assembled by me :}
OS
Win-7-Pro64bit 7-H-Prem-64bit
CPU
i7-5930K 2nd i9-9940x both water blocked VRM's too
Motherboard
ASUS SABERTOOTH X99 2nd ASUS x299 Apex
Memory
Trident-z 3200C14 2nd Trident-z 3600C16
Graphics Card(s)
EVGA 1080ti ftw3 2nd Titan Xp both water blocked
Sound Card
Built-in Realtek
Monitor(s) Displays
1-AOC G2460PG 24"G-Sync 144Hz/ 2nd 1-ASUS VG248QE 24" 144Hz
Screen Resolution
1920 x 1080 144Hz
Hard Drives
2-Samsung M.2 Evo & Evo Plus
2-Samsung 850 EVO 500GB SSD's/ 3-2.5 W.D. Black 1tb-&3-1tb/3-3.5 WD Black 1tb hdd's
PSU
EVGA SuperNOVA 1000-P2 2nd 1200-P2
Case
2-Corsair Obsidian Series 450D Black ATX Mid Tower
Cooling
Custom water loops
Keyboard
Logitech G710+/ 2nd Logitech G910
Mouse
2-RedDragon M901 Perdition 16400 dpi Gaming mouse = wired
Internet Speed
Comcast Ping 19ms 89.31mbps download speed 6.12mbps upload
Antivirus
Malwarebytes Pro/ Superantispyware Pro
Browser
FireFox & Pale moon
Other Info
2nd ASUS X299 Apex/Intel i9-9940x with Custom water loop/7H-Prem-x64/Corsair 450D case/Ram Trident-z 3600C16 4x8gb / Samsung970Evo plus 500gb SSD/Dual ssd EZ swap evo/PSU EVGA SuperNova 1200w-P2 80+Platinum/GPU Titan Xp /8-ML-140 on push-pull on 2-280GTX rads

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home made Desktop
OS
Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
CPU
Intel i7-6800K @ 4.3
Motherboard
ASUS X-99 Deluxe II
Memory
Corsair Platinum 16 gig @2400
Graphics Card(s)
EVGA GTX 1070 OC
Monitor(s) Displays
Asus 27" LED LCD/VE278Q
Screen Resolution
1920-1080 or 1280-720 HDMI
Hard Drives
INTEL SSD 730-240 Gb Sata 3.0/
PSU
EVGA Platium 1200W
Case
Phanteks Luxe Tempered Glass 8 fans/ one radiator
Cooling
XSPC/ Water Cooled CPU
Keyboard
Das 4 Professional
Mouse
Logitech M705/MX Anywhere 2-S
Internet Speed
100 mbits
Antivirus
Microsoft Security Essentials/ Malwarebytes Premium 3.0/ SAS
Browser
I.E. 11 default/Firefox/ ISP Time Warner Cable/Spectrum
Other Info
LG BluRay Burner/
Sound system-KLipsch-THX/
Icy Dock ssd Hot Swap bays.
I followed a suggestion on the Steinberg Cubase forum. Cubase is the recording software I use. Deleting its "preferences" folder forces it to rebuild all its customizable parameters to default settings. I took me some time to re-tweak the UI to my preferences, but now Cubase runs much faster, and (so far) without any audio dropouts.

LatencyMon still reports reports high latencies (though not as high as before I disabled a bunch of start-up programs and auto-updaters - thank you to those who offered these suggestions), but it doesn't seem to be causing a problem now.

I'll go ahead and mark this solved.
 

My Computer

OS
Windows 7 Professional 64bit
Back
Top