LatencyMon: finding the root cause of audio dropouts, clicks and pops
-
- KVRist
- 241 posts since 29 Sep, 2007 from Europe
http://www.resplendence.com/latencymon
Hi, this software was announced before had some rough edges and shortcomings, now fixed and ready to go live.
LatencyMon checks if a system running Windows is suitable for processing real-time audio by measuring DPC and ISR execution times as well as hard pagefaults. It will provide a comprehensible report and find the kernel modules and processes responsible for causing audio latencies which result in drop outs. It also provides the functionality of an ISR monitor, DPC monitor and a hard pagefault monitor.
It relies on the same technology that XPERF uses but is specifically tailored to check the suitability of a system for real-time audio processing.
For free but only supports Windows Vista or higher. Any comments are welcome (constructive or otherwise).
//Daniel
Hi, this software was announced before had some rough edges and shortcomings, now fixed and ready to go live.
LatencyMon checks if a system running Windows is suitable for processing real-time audio by measuring DPC and ISR execution times as well as hard pagefaults. It will provide a comprehensible report and find the kernel modules and processes responsible for causing audio latencies which result in drop outs. It also provides the functionality of an ISR monitor, DPC monitor and a hard pagefault monitor.
It relies on the same technology that XPERF uses but is specifically tailored to check the suitability of a system for real-time audio processing.
For free but only supports Windows Vista or higher. Any comments are welcome (constructive or otherwise).
//Daniel
-
- KVRian
- 1359 posts since 5 Mar, 2005
Looks like a good app. I'll definitely download and give it a try. Thanks for the freebie!
T2 Icarus is a must. SonicCore SCOPE is the most. As heart of studio it has my vote, cause XITE-1 is all she wrote.
-
- KVRAF
- 6323 posts since 30 Dec, 2004 from London uk
Unless Im doing something wrong, there seems to be a bug - the main window has a scroll bar but I cant scroll down to see what else is there. It simply jumps up again. Resizing to full size eliminates the issue.
Last edited by UltraJv on Mon Sep 13, 2010 12:52 am, edited 1 time in total.
-
Stupid American Pig Stupid American Pig https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=4753
- KVRAF
- 7065 posts since 25 Nov, 2002 from not sure
yeah I can verify that, it looks like every update resets the scroll bar position, so its not possible to scroll until you stop monitoring...
-
- KVRist
- Topic Starter
- 241 posts since 29 Sep, 2007 from Europe
Thanks guys, it has been fixed as well as two other small problems.
//Daniel
//Daniel
-
- KVRAF
- 1959 posts since 4 Nov, 2004 from Manchester
I'm amazed no one's done something like this sooner. Good work, looks great.
-
- KVRian
- 1258 posts since 25 Nov, 2003 from London
This is really useful - thanks.
I just wish there was some software that worked as follows:
Boot to safe mode, take a snapshot (1) of what drivers, services & startup items are loaded.
Boot normally, take a similar snapshot (2)
Allow the user to create a new profile (3) based on 1 with user-selectable elements from 2 (i.e. soundcard drivers)
User can then boot into profile 2 for normal use or profile 3 for audio use.
I just wish there was some software that worked as follows:
Boot to safe mode, take a snapshot (1) of what drivers, services & startup items are loaded.
Boot normally, take a similar snapshot (2)
Allow the user to create a new profile (3) based on 1 with user-selectable elements from 2 (i.e. soundcard drivers)
User can then boot into profile 2 for normal use or profile 3 for audio use.
-
- KVRist
- Topic Starter
- 241 posts since 29 Sep, 2007 from Europe
"Better never than late" is the philosophy for audio buffers which are not delivered in time, hope that doesn't count for this tool. From Windows Vista this information is collected for us through ETW tracing, previous versions of Windows would require hacking away into the kernel making this very hard if not impossible.I'm amazed no one's done something like this sooner. Good work, looks great.
Yes, HW profiles were a great feature, it's a pain that they are gone. You might be able to disable devices on the fly with a Powershell script. Installing another copy of Windows on a separate partition is possibly easiest.I just wish there was some software that worked as follows:
Boot to safe mode, take a snapshot (1) of what drivers, services & startup items are loaded. ....
//Daniel
-
- KVRian
- 880 posts since 22 Jan, 2005
Good stuff, thanks! I got an error after running it for 10 minutes, tho:

(with it closed, Task Manager reports 1100MB available and 800MB free memory)
How long is it supposed to run?
Also, any chance of it being available as "portable", without requiring an installation?

(with it closed, Task Manager reports 1100MB available and 800MB free memory)
How long is it supposed to run?
Also, any chance of it being available as "portable", without requiring an installation?
-
- KVRist
- Topic Starter
- 241 posts since 29 Sep, 2007 from Europe
Admitted, the software consumes quite a bit of memory. This is in part due to the design of ETW tracing. If I get more of these out of memory reports, I will consider reducing the buffer sizes and the amount of buffers. What OS is this and how much RAM do you have installed ? I would say leave it running for a while but not more than several minutes. If you want to investigate pagefaults you should run your audio application with the monitor running.ermi wrote:Good stuff, thanks! I got an error after running it for 10 minutes, tho: (with it closed, Task Manager reports 1100MB available and 800MB free memory)
The software is portable, the installer is only supplied for convenience. You can put the files on a flash drive or network share and run it on another system without installation.Also, any chance of it being available as "portable", without requiring an installation?
//Daniel
-
- KVRAF
- 1959 posts since 4 Nov, 2004 from Manchester
Ahhh, that would indeed explain why then. I gave it a run last night on one of my own builds that's been getting the odd crackle which I was having trouble nailing down. No DPC problem as I'd already worked out but your page fault read out showed me a problem with the harddrive which I hadn't even thought of that as being a potential issue seeing as it's fresh from the factory.Resplendence wrote: "Better never than late" is the philosophy for audio buffers which are not delivered in time, hope that doesn't count for this tool. From Windows Vista this information is collected for us through ETW tracing, previous versions of Windows would require hacking away into the kernel making this very hard if not impossible.
Once again, great stuff. Thanks!
-
- KVRist
- Topic Starter
- 241 posts since 29 Sep, 2007 from Europe
I have updated LatencyMon to v2.00. Because of the memory consumption of the monitor in v 1.00, it did not give an objective overview of hard pagefaults as it was very good at provoking them. Now the monitor is switched off by default but it does display pagefaults per process and DPCs and ISRs and highest execution time per driver. This means you can now keep it running for long periods without any problems.
//Daniel
//Daniel
-
- KVRAF
- 7886 posts since 24 Feb, 2003 from Earth, USA
Nice indeed. Need to check this out.
Devon
Devon
Simple music philosophy - Those who can, make music. Those who can't, make excuses.
Read my VST reviews at Traxmusic!
Read my VST reviews at Traxmusic!
-
- KVRAF
- 6323 posts since 30 Dec, 2004 from London uk
The hard page fault count is off the scale here due to Latencymon. Its very misleading IMHO. Perhaps it should be left off?
