Vista stutter no more!

Discuss music production with Ableton Live.
Post Reply
zigzag
Posts: 155
Joined: Wed Mar 19, 2008 6:29 pm

Vista stutter no more!

Post by zigzag » Wed Feb 11, 2009 8:44 pm

Hi all,

I've been suffering from periodic audio stutter while using Vista 32bit and Live 7.0.14 for quite some time now.

So the problem I had was that every 2-4 seconds the sound stopped while in session/arrangement view.

It drove me nuts and at some point I decided to check it as much as I could.
So I found out about the DPC Latency checker & the XPERF tools from microsoft (you download an MSI file and install).

The DPC latency checker did indeed confirm that there was a periodic issue below 1000us but coincided well with the stutter in Live. However this tool doesn't tell you anything about the source/origin of the issue.

Opening task manager right after boot (and without opening live & network disconnected) revealed that a system process occupied 4-5 % CPU.
This is when the Xperf tool came in handy...

The idea is that you run it on a command prompt as an administrator.
In turn you switch it on, stop it , and launch the interactive viewer

C:\Users\xxx>xperf -on DiagEasy --> this starts it

C:\Users\xxx>xperf -d trace.etl --> this creates the log file & stops it
Merged Etl: trace.etl

C:\Users\xxx>xperf trace.etl --> this launches the viewer

Well, in the UI's left column you can choose what you want to see
Intentionally I had run this tool while the computer was idle, for a period of 1.5 minute or so. So nothing opened, except the command prompt launching the tool.

The CPU usage graph indeed revealed periodic peaks. You can use your mouse to select the start-end time you want to be further analysed. so you drag an area and then you right click and select "summary table".

That revealed the culprit: Selecting the system process, and further expanding it to see what was the highest consumer, the Xperf indicated that the iaStor.sys was 82.192429 ms amounting to 2.48% CPU usage.
It doesn't sound much but if that system process has high priority, you get the idea.

Searching for this problem didn't help that much. Until I went to intel's site...
http://www.intel.com/support/chipsets/i ... 025783.htm
he following issues may occur on Windows Vista* with a supported Intel® RAID controller hub:

* Inability to install Windows Vista (in other words, system halts during installation)
* Performance degradation
* Timeout errors reported by iastor or iastor(v) in Microsoft Event Viewer*
Installed the suggested iata87enu.exe and no more drop outs!

Please note that during this process I've disabled everything there's to disable in Vista. But this in my case helped. If you do suffer from this issue, its really worth downloading the Xperf tool and see what's keeping your system from performing. I couldn't believe for a second that a Core 2 Duo 1.8 with 3Gb of ram could have such performance issues. But the OS is part of the problem. Driver developers are the other. Thats only human.

I hope someone resolves their issues with this too.

greetings!

Dalibor Loncar
Posts: 241
Joined: Wed Nov 21, 2007 4:31 pm

Post by Dalibor Loncar » Wed Feb 11, 2009 9:26 pm

very good post! i also found this out with a tool named tracelog which can be found in the wdk server 2008. with tracelog you can start kernel tracing of dpc events. if there are alot of cumulated dpc values it´s hard to find the real culprit with xperf btw. unfortunately i couldn´t track down all the issues i have with my laptop/vista configuration. i also have installed the newest Intel Matrix Storage Manager, but my config unfortunately suffers from bad dell bios at that (dell vostro 1310 laptop). nice to hear that installing the newest intel matrix storage manager fixed your issues, hopefully other users could benefit too. i´ll stick with xp until windows 7 put us right (hopefully?!?!!?) ... :lol:

zigzag
Posts: 155
Joined: Wed Mar 19, 2008 6:29 pm

Post by zigzag » Wed Feb 11, 2009 10:10 pm

Dalibor Loncar wrote:very good post! i also found this out with a tool named tracelog which can be found in the wdk server 2008. with tracelog you can start kernel tracing of dpc events. if there are alot of cumulated dpc values it´s hard to find the real culprit with xperf btw. unfortunately i couldn´t track down all the issues i have with my laptop/vista configuration. i also have installed the newest Intel Matrix Storage Manager, but my config unfortunately suffers from bad dell bios at that (dell vostro 1310 laptop). nice to hear that installing the newest intel matrix storage manager fixed your issues, hopefully other users could benefit too. i´ll stick with xp until windows 7 put us right (hopefully?!?!!?) ... :lol:
hey Dalibor,
I am glad you found it useful. Its not easy to find the culprits i know... but the thing is, with xperf, you can at least visualise and go through the data without looking at pure ascii/xml formats.

Did you try to run xperf on its own? (I mean with nothing else running)
What I realized is that immediately after boot the OS still starts up services etc. So starting the performance monitor directly isn't very good. what you need is to leave it for a while, observe the disk activity (I assume you have switched off all superfetch "features"). Only launch it when you have minimum (or the least possible) disk activity.

Then with xperf try to visualise the "dpc cpu usage" or the "CPU usage by process". then select a time span that looks periodic or unusually high
and start the analysis. If this tool won't do it, I don't know what will.

greetings!

Post Reply