Courtney Malone

If it ain’t broke, it doesn’t have enough features yet.

How To Fix the Vista Network Speed Issue While Playing Sound (Updated)

Filed under: Geekstuff — Courtney at 1:52 am on Tuesday, August 28, 2007

network performance
Most unexpected

So far I have been pleasantly surprised with my Vista install, a few things needed upgrading but no show stoppers. At least not until I copied a file from the media center machine. I was getting only a few mb/s despite the fact that both machines are connected via gigabit ethernet and have striped raid arrays. It only seemed to occur when playing audio…any audio, regardless of source. This wasn’t good at all.

Services
The culprit…I think
A quick search turned up others who were having this problem and it appears that no one had a solution yet, as a matter of fact, the issue appears to have really gained widespread attention only last weekend. Further research turned up Mark Russinovich’s excellent 3 part series on Vista kernel architecture. Upon reading about the Multimedia Class Scheduler Service it seemed like that would be culprit. Indeed Mark wrote a blog post on it just today.

useless
These are not the keys
you are looking for…
After reading this msdn article, I and many others thought that the answer lay in the MMCSS keys in the registry. Suffice to say it doesn’t. Tweaking the values in the 7 multimedia classes doesnt appear to have any effect.

wont stop
Not cool

At this point you are thinking “Ok Courtney, just stop and disable the service”. Well, this is what happens when you try. Hrm, Windows Audio huh…might need that.

Dependency list
Dependency List
It seems unlikely that Windows Audio Service has a legitimate dependency on MMCS, so I opted to manually modify the dependency list for the service in the registry.

editing key
Editing key
Just double-click on “DependOnService” and delete the line that says MMCSS. Hit ok, return to the services, and set Multimedia Class Scheduler Service to disabled (but do not try to stop it), then reboot.

good sign
excellent
Once Vista restarts, you should be able to check services and see that Multimedia Class Scheduler is disabled, and when you scroll down, Windows Audio is still running.

Success!
Success!
To give it a test, play some audio while copying a large file. Your performance should increase dramatically.

Good start
38 mb/s, not great, but much much better.

Digg!

Update: A lot of people have told me that this works for them, however I have had one or two reports of people having popping audio. Popping audio due to missed interrupts is exactly one of the things MMCSS is intended for. The beauty of the workaround is that you can still re-enable the MMCS service independently of Windows Audio, so all you would have to do is set it back to Manual or Automatic and hit start. Some people have indicated that they think this is some fundamental flaw of Windows, and I must disagree; having the ability to prioritize I/O, paging and memory blocks is an incredibly useful feature and a worthwhile addition to Vista. I just think Microsoft may have chosen some poor weighting parameters for it initially.

If disabling MMCSS doesnt solve the issue for you, you may want to try playing with the various parameters in the subkeys under HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Multimedia\SystemProfile\Tasks, though I had no luck with this method. You may also want to try using netsh to fiddle with Vista’s autotuning parameters too.

Also, looks like Larry Osterman (Windows Media team) has written a blog post on the issue.

Update 2: The Vista team put up a whitepaper on Service Pack 1 over at their blog. I noticed these two points:

“Improves the speed of copying and extracting files.”

“Addresses an issue in the current version of Windows Vista that makes browsing network file shares consume significant bandwidth and not perform as fast as expected.”

Hopefully they will change the defaults, and provide a user mechanism to adjust the weighting of I/O priorites.

Update 3 (3/18/8) : SP1(x86 x64) is officially available and Mark Russinovich has a post up explaining the file copy improvements.  From the release notes:

In SP1, PC administrators are able to modify the network throttling index value for the MMCSS (Multimedia Class Scheduling Service), allowing them to determine the appropriate balance between network performance and audio/video playback quality.

My network copy speed has risen dramatically to ~75mb/s on smb/cifs shares.

50 Comments »

Comment by John

August 28, 2007 @ 9:08 am

Awesome! Between this and the IPv6 slow down I’ve been going crazy! Good sleuthing.

Comment by Rasmus

August 28, 2007 @ 12:40 pm

Hi Courtney,

Thanks a lot for the fix. You rock!

Comment by Jerry

August 28, 2007 @ 1:44 pm

Excellent instructions and this worked great for me!

Comment by Anthony

August 28, 2007 @ 2:40 pm

thanks so much, this really helped!!

Comment by CannedAnad

August 28, 2007 @ 3:38 pm

After wasting so much time attempting to find a fix by others; yours is the only one that works.

Thank you.

Comment by Dave

August 28, 2007 @ 3:55 pm

Excellent work. Glad you found this!

Comment by Nick

August 28, 2007 @ 5:33 pm

What an awesome fix and entertaining post. Thanks for the legwork

Comment by Mike B

August 29, 2007 @ 2:11 pm

“It seems unlikely that Windows Audio Service has a legitimate dependency on MMCS, so I opted to change manually modify the dependency list for the service in the registry.”

Take out the word change. Sorry to be nitpicky. I love you still.

Comment by Ryan C

September 1, 2007 @ 2:06 pm

I really wish this fix would work for me!

Audio playing or not I get anywhere from 1.2MB/sec to 9.5MB/sec transfer rates over 100mbit. I even upgraded to a gbit switch, nice dell managed switch, and saw no increase in speed. The larger the file the slower the transfer seems.

I’ve tried everything to fix this with 0 luck. If SP1 doesn’t fix this I am going to upgrade to windows XP.

Comment by Courtney

September 2, 2007 @ 6:37 am

Ryan C wrote:

Audio playing or not I get anywhere from 1.2MB/sec to 9.5MB/sec transfer rates over 100mbit. I even upgraded to a gbit switch, nice dell managed switch, and saw no increase in speed. The larger the file the slower the transfer seems.

The max theoretical speed of 100mbit ethernet is 12.5 megabytes/sec in each direction. Even with NFS between my Unix boxes, I would be happy with 11, so I suspect that 9.5-10MB/s is reasonable with the overhead of SMB/CIFS

Comment by Ryan C

September 8, 2007 @ 4:42 pm

Yes. I am seeing a max on 2.2 now. I am currently running on 100mbit. they 9MB/sec i was seeing before was on my gbit lan…..I was mistaken.

Comment by Cliff

September 18, 2007 @ 2:35 am

Excellent workaround!

Thanks Courtney!

Pingback by Vista: Fix the Vista Network Speed Issue While Playing Sound « ICT-Freak

October 10, 2007 @ 1:09 am

[...] Zodra ik audio afspeelde en daarna een betand over het netwerk (gigabit) wilde kopieren dropte de performance dramatisch. Na wat zoekwerk op google kwam ik de volgende post van Courtney Malone tegen: http://courtneymalone.com/2007/08/28/a-note-on-vista-network-speed/ [...]

Comment by coh

October 26, 2007 @ 1:09 am

confirmed, this fix causes audio popping..

Comment by San Fisher

November 16, 2007 @ 6:03 am

Hi,
I have a problem with the network detection in vista ultimate. We all know that when the LAN is disconnected, it is represented by “two computer icons with red cross”. When LAN is enabled, “two computer icons without red cross”.

The problem is I usually keep the LAN switched ON. But whenever i boot my PC, It takes really a long time for the icon to change from “not connected” to “LAN operational” status. I also use a dialer to connect to net. It also takes long time to connect to net and for disconnection.
It really bugs me and I am tired of searching for a fix all over net. I hope you could solve this problem for me. Its the only reason I have changed back to XP.Expecting immediate resolution.

Comment by shaun

December 8, 2007 @ 6:23 pm

ok im lost i did these sum of these things abou turning sound things off and it fixed it but then again it broke sumthing else SOUND DIDNT WORK…..

Comment by Signage Solution

February 4, 2008 @ 3:37 am

Very interesting reading will forward it to my husband

Comment by tr-tube

February 25, 2008 @ 1:04 pm

Excellent workaround!

Thanks Courtney!

Comment by Graham

February 26, 2008 @ 2:39 am

Hi Courtney,

I’ve been using this workaround for a while. While I haven’t done any scientific tests, my network speed for games does seem markedly faster. So thanks!

I’m wondering, however, if you’ve heard whether this will actually be fixed in SP1? It’s supposed to be released in a couple weeks.

Thanks.

Comment by Courtney

February 26, 2008 @ 1:07 pm

Graham Wrote:

I’m wondering, however, if you’ve heard whether this will actually be fixed in SP1? It’s supposed to be released in a couple weeks.

SP1 does supposedly improve network performance, but I have not gotten around to testing the Release Candidates personally.

Comment by Graham

February 26, 2008 @ 5:18 pm

Gotcha. I did some searching on ZDnet last night. It seems that the MMCSS issue is still alive and well, at least in the final RC.

Too bad. But, at least we have this still.

Comment by internet download speed

March 5, 2008 @ 12:46 pm

Excellent work, very good. Now I am having nice information about Free Registry scan for systems, This is very good for cleaning registry.

Comment by Mykel

March 5, 2008 @ 4:25 pm

In Vista SP1 when coping files from a SP1 machine to another SP1 machine there is a noticible speed up on gigabit networks (i was seeing 50-70% of a gigabit throuput). However, when any form of audio played, I still saw the network speed drop down to around 12% of a gig. On server 2008 i noticed no slow down in network activity when transfering files between either SP1 or server 2008 or Server 2003 machines.

I noticed one of the explenations said that sendng data isnt affected by this but I saw files being throttled from 60% of a gig to 32% when audio was playing (SP1 to SP1 copy). I am pretty sure then SP0 coping i saw 12% of a gig no matter which way i copied files.

Comment by C

March 26, 2008 @ 11:57 am

Slightly off topic, I am having the Popping audio issue, but have NOT done this workaround. I looked around, and the only info I can find on the issue points to problems with the 802.11a band on wireless network adapters. I have a linksys WMP300N wireless card, and sadly the drivers don’t have an option to disable the “a” band.

Since the MMCSS seems to be related to such issues, I was wondering if you might have any suggestions as to fixing the popping audio problem. Or if you are aware of any workaround or 3rd party drivers which would allow me to disable the “a” band on my linksys wireless card.

Thanks,
-C

Comment by Alex

April 11, 2008 @ 3:42 pm

Great tutorial.. Thanks!!

Comment by Phil

April 24, 2008 @ 2:47 pm

I noticed that a newly rebooted system running sp1 will handle higher network speeds without slowdowns or stutter, with these and other fixes applied, but after a day or two of system uptime the problem reappears harshly, that has me very confused.

Comment by Phil

April 24, 2008 @ 2:51 pm

It’s also really annoying that once the system is up, if I download a popular torrent, with a speed in excess of 300kb/s my system completely locks up basically until the torrent is done. If the file is larger than 100mb it makes my system completely unusable for an hour or more. Pretty rediculous!!

Comment by mykel

April 24, 2008 @ 2:56 pm

Check the number of connects allowed per torrent in the the bittorrent application you are using. if its set too high it could be hard on the computer. maybe.

Comment by Phil

April 24, 2008 @ 9:54 pm

Yeah, but it’s fine for like 24 hours, up to 300kb/s, but then it’s like it bogs down, it’s much better than it was as it originally bogged down immediately. Right now as I write this it’s over 600 kb/s total with no trouble, but then if I tried that again 24 hours from now it’d be back to stuttering the whole computer.

Comment by Richard

April 26, 2008 @ 12:20 am

To me, it looks like this issue is being turned on it’s head. The problem isn’t that network or disk performance is bad while playing music. Rather, it’s that sound playback performance is bad during a copy job. From a user experience perspective, sound should have priorty and, if necessary, the OS should reduce resources allocated to the disk copy not the other way around.

This fix makes the sound stuttering issue worse.

Comment by ph33r

May 2, 2008 @ 8:21 am

yup fixed mine how annoying is that fault !!

transfering now at 90 to 125 MB/s in task manager with large files .

had a couple of crackles when opening folders whilst playing media player but hey i dont always have media player on anyhows..

i had the issue when transfering a files and then opening a file it makes that click sound to let u know u opened it then my rate would drop to 9mb/s how crap ..

anyhows im running on a 780 chipset and using a xfi-pro elite sound card on vista ultimate 64bit ..

Thanks for the quick fix :)

fix recommended <<<

Pingback by PuppyPowered » Blog Archive » Vista gigabit issues finally fixed

May 17, 2008 @ 7:53 pm

[...] I tried all the tricks in the book, patiently waited for SP1, but no dice. Today I stumbled onto this blog post promptly solving all my [...]

Pingback by puppypowered.com » Blog Archive » Vista gigabit issues finally fixed

June 14, 2008 @ 5:05 pm

[...] I tried all the tricks in the book, patiently waited for SP1, but no dice. Today I stumbled onto this blog post promptly solving all my [...]

Comment by Hal

June 21, 2008 @ 4:58 pm

I use my computer mainly for music, and there is always something playing in the background…
And whenever I am surfing, the music is popping, just like “C” said a few post above I have not done this fix.
I would even trade network performance for quality audio playback… :(

Comment by A. Mustermann

June 21, 2008 @ 5:01 pm

“In SP1, PC administrators are able to modify the network throttling index value for the MMCSS”

How ? I can find no information on how to do this. Does Microsoft require signing an NDA before telling users how to fix their systems?

Comment by jarethfox

July 19, 2008 @ 3:14 am

Thanks Courtney! My xfers between boxes resulted in total crash! I followed the instructions and viola! Everything works again. As for the fell with the unusually slow gigabit send speeds, try enabling large sends on both adapters and using 7k for the jumbo frame. Also I would use flow control, and guarantee you’re linking both boxes at 1000. Jumbo frame and large send when enabled, performs rather nicely. I would recommend disabling any power features/wakeups on the card too.

Jareth

Comment by A. Mustermann

July 19, 2008 @ 3:21 am

The recommended way to do this in SP1 is:

——————————————
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile]
“SystemResponsiveness”=dword:00000032
“NetworkThrottlingIndex”=dword:ffffffff
——————————————

Comment by Edo

August 11, 2008 @ 5:14 am

HI m8, Excelent work of yours.
I have a HP compaq 6715s laptop and I need to use wireless. However like most has here the sound and network stutters when i activate the wireless.
Also the DL speed goes down at the same time the sound stutters. Or even is rly cut of for a few sec, lets say 2000 pings.
However I upgraded Win Vista home 32 bit to the max yesterday but i still don’t have service pack 1.
So my problem is still not solved.

I did tried ur workarround and that did helped alot but now the sounds cracks, and sometimes my lap even crashes.
Do you have any solution for me? I would be sooooo happy.

Greetings, Edo, Holland.

Pingback by Rocket Silence » Blog Archive » Windows Vista, Audio, and Network Speeds.

August 22, 2008 @ 12:05 pm

[...] is a workaround that has been discovered by geek Courtney Malone. It involves a simple registry edit which can be done by following these [...]

Comment by hb1860

October 8, 2008 @ 7:42 am

Great job – I real was suffering – now I’m alive again.

Comment by zerob000

October 12, 2008 @ 3:51 pm

Thanks a million for this, I used the guidelines to fix a bug I encountered. The things one has to do to watch a blooming DVD!!

Comment by Puckman

December 9, 2008 @ 5:50 pm

I came here to resolve Windows Home Server/Client Multimedia Streaming issues. I assume the above workarounds are to be applied to the client side. However, upon snooping around WHS registry settings, I saw no MMCSS in the value data field for DependOnService. I’m wondering if all machines on the same Local Network should have the same data settings under the DependOnService to alleviate the stuttering freezing regardless whether the stream is pushed or pulled? Fair question?

Pingback by Windows Audio Error 1079 | keyongtech

January 18, 2009 @ 10:19 am

[...] Windows Audio Error 1079 Also : http://courtneymalone.com/2007/08/28…network-speed/ "YMC" <smoothcoffee> wrote in message news:48aa37c7$0$28212$afc38c87… >I also [...]

Comment by Serpa

February 6, 2009 @ 7:22 am

I found your site on google and read a few of your other posts. Keep up the good work.

Comment by hidden

March 4, 2009 @ 5:40 pm

Perfect. I’ve been banging my head against the wall on this for a long time (iTunes is open on my PC). Instead of 100mbps I’m pushing closer to 500mbps on machine-to-machine copies. Thanks!!

Pingback by Courtney Malone » How To Fix the Vista Network Speed Issue While Playing Sound (Updated) | Life

May 3, 2009 @ 10:56 am

[...] Courtney Malone » How To Fix the Vista Network Speed Issue While Playing Sound (Updated). gigabit, vista, Windows This entry was posted on May 3rd, 2009 at 9:56 am and is filed [...]

Comment by ade

July 4, 2009 @ 6:15 am

i need soundmax in my laptop hp compaq6715s

Comment by your mama

October 28, 2009 @ 6:16 pm

is this still an issue
MS has had ndis problems since the 80s….

Comment by sanjeet

January 10, 2010 @ 1:03 pm

sir my downloading speed and browsing is very slow and i have problem in during copy of cd in my laptop as it is copying at very slow speed

Comment by Larry A

January 17, 2010 @ 4:43 pm

Courtney,
Thanks a MILLION for putting up this fix.
I have been going around in circles after trying to simply upgrade my sound card. I could not get any of 3 sound cards to work properly on my Vista tower.
After reading endless internet posts, I finally
found your article. Everything was fine if I disabled the wirless card, and also everything was fine on XP.
I used your fix, and Voila, everything is working perfectly. I had also noticed the very poor lan speed after upgrading to Vista, and had NO idea they were related.
How cool is that to solve 2 issues with one fix.
You are a GENIOUS in my book.
Oh BTW, both my machines are Vista Home Premium at SP2, one with 32 bit and one with 64. Both machines had exactly the same problem…
you have NO idea of how long I spent on this problem!
Thanks!!!!!!

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>