How to copy networked files at maximum speed despite listening to audio
Windows Vista Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



How to copy networked files at maximum speed...Expand / Collapse
Author
Message
Posted 10/17/2007 11:39:02 PM


Administrator

Administrator

Group: Administrators
Last Login: 1/14/2010 1:08:55 PM
Posts: 2,112, Visits: 2,289

Windows Vista uses a new service called  Multimedia Class Scheduler Service or MMCSS which runs under svchost.

This new service is used to boost performance when a multimedia application begins playback, the multimedia APIs it uses call the MMCSS service to boost the priority of the playback thread into the realtime range. This creates for a seamless playback without those annoying glitches in music when you are doing heavy duty computing at the same time.

Tests of MMCSS during Vista development showed that, even with thread-priority boosting, heavy network traffic can cause enough long-running cpu interrupts to prevent playback threads from keeping up with their media streaming requirements, resulting in glitching. MMCSS’ glitch-resistant mechanisms were therefore extended to include throttling of network activity. It does so by issuing a command to the NDIS device driver, which is the driver that gives packets received by network adapter drivers to the TCP/IP driver, that causes NDIS to “indicate”, or pass along, at most 10 packets per millisecond (10,000 packets per second).

This loss can be up to 15% on a gigabit network.

The Tweak:

Now you can't just disable the MMCSS service since windows audio is dependent on it. In other words disabling it means no sound for your computer. 

So I ran regedit (type regedit in the start menu search box), and navigated and changed the key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Audiosrv\DependOnService

Now remove MMCS from that key in the list, and set MMCS to disabled in services (type services in the start menu search) Now reboot!

As soon as I rebooted I was able to copy files at 40mb/s+ while listening to audio

Example of priority boosting by Vista:

Example of network throttling:



AMD64 X2 5200+ 2.60GHz | 3GB DDR 667 | RAID 0 SATA3.0 WD Caviars 320GB total | Foxconn MCP61VM2MA-RS2H Geforce 6100 nforce400 chipset | Vista Ultimate x86
Post #11229
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Jason, blackhat, kingofnexus, Camride, MafiaLord91, WAW8, Walker, MrMagic, PC509, AmericanNightmare

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 5:57am

Powered By InstantForum.NET v4.1.4 © 2010
Execution: 0.047. 7 queries. Compression Enabled.