• SONAR
  • Latency the Microsoft way...
2013/11/14 17:30:32
Splat
Here is the Microsoft way to detect latency.

LatencyMon is a nice tool to diagnose issues on the fly, but should you wish to display latency as a report which you can post in the forums, this is probably a better way to get your point across.
 
This is the Windows 8.1 kit, there are versions for earlier operating systems:
http://www.microsoft.com/en-us/download/details.aspx?id=39982

Once you run the installer, it would prompt you to select the tools that you want to download and install.
Select Deployment tools * and Windows performance toolkit and install.

After the installation is done, open command prompt with administrator rights. Press Windows key + X and click Command Prompt (Admin)
 
Now, run this command:
xperf -on latency -stackwalk profile -buffersize 1024 -MaxFile 256 -FileMode Circular && timeout -1 && xperf -d DPC_Interrupt.etl

Now, do a capture for when you face the latency issue (press spacebar).  It should time out after a period of time or press another button.
 
Then type this

xperf -I DPC_Interrupt.etl -a dpcisr > dpc.txt

Then type:
 
notepad dpc.txt


Paste into the forums or whatever...
 
Cheers...
 
[* May not be needed - haven't tested this though]
2013/11/15 08:56:45
gswitz
Thanks Alex! I'm looking forward to trying it. Can you give an example of output or explain what makes it better?
2013/11/15 09:38:44
twaddle
Hmm, where is the one for windows 7 ?
I don't see it.
 
Steve
2013/11/15 10:10:05
bitflipper
Haven't confirmed, but I believe the same version supports both Windows 7 and 8.
2013/11/15 17:42:42
gswitz
I only got the performance and assessment pieces and the download is 2.6 GB.
 
Not sure that this is going to be a better solution than LatencyMon.
 
Downloading now.
2013/11/15 17:56:31
gswitz
Ok. I did not need the deployment tools to run the assessment.
 
This is my result...
http://stabilitynetwork.blob.core.windows.net/g-tunes/dpc.txt
 
To my eye, this is not as good as PerfMon for the purposes of evaluating a DAW.
 
 
2013/11/15 18:17:17
gswitz
After uninstalling, Sonar did not work properly until I restarted my computer. I was afraid I was going to have to do a system restore, but that proved not to be necessary. Still, you should think about it before installing this software. It definitely impacted my ability to work in Sonar.
2013/11/16 04:57:35
mudgel
I thought the OP was a little tongue in cheek. I didn't think anyone would actually download the files and go to all that trouble.
Learn something new every day.
2013/11/16 06:30:52
gswitz
oops
2013/11/16 06:59:57
Splat
It's just another tool.... I think I prefer latency monitor, however I found it useful to run both. Found it quite reliable. Blame Microsoft :)
12
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account