Jump to content

Multimedia Class Scheduler Service

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Warren (talk | contribs) at 18:23, 10 May 2009 (+ Category:Microsoft Windows multimedia technology). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Multimedia Class Scheduler Service (MMCSS) is a Windows service that boosts the CPU as well as I/O priority of a thread. It allows an application to get prioritized access to CPU for time-sensitive processing (such as multimedia applications) as well as prioritized disc access to ensure that the process is not starved of data to process. The MMCSS service monitors the CPU load and dynamically adjusts priority so that the application can use as much CPU time as possible without denying CPU to lower priority applications.[1] MMCSS uses heuristics to determine the relative priority required for the task the thread is performing and dynamically adjusts priority based on that.[1] A thread must invoke MMCSS explicitly to use its services by calling the AvSetMmMaxThreadCharacteristics()[2] or AvSetMmThreadCharacteristics()[3] APIs.

MMCSS is used by the multimedia applications in Windows Vista, including Windows Media Player and Windows Media Center to provide glitch-free audio playback. It is not included with Windows Server 2008.[4]

Problems

This service has been implicated in poor networking performance while multimedia is playing. [5], [6] In response to this, Microsoft has included a configurable option [7] in Windows Vista Service Pack 1 and later where users can specify the network throttling index value for the Multimedia Class Scheduling Service so that network performance and audio/video playback quality can be balanced according to how users configure it.

See also

References

  1. ^ a b "Multimedia Class Scheduler Service". Retrieved 2007-10-09.
  2. ^ "AvSetMmMaxThreadCharacteristics Function (Windows)". Retrieved 2007-10-09.
  3. ^ "AvSetMmThreadCharacteristics Function (Windows)". Retrieved 2007-10-09.
  4. ^ Russinovich, Mark (March 2008). "Inside Windows Server 2008 Kernel Changes". Microsoft. Retrieved 2009-05-10.
  5. ^ Microsoft responds to Vista network performance issue
  6. ^ Sysinternals blog "Vista Multimedia Playback and Network Throughput"
  7. ^ Microsoft Knowledge base article 948066