Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Windows Operating Systems Software Networking

Mark Russinovich On Vista Network Slowdown 423

koro666 writes "In his latest blog post, Mark Russinovich analyzes the network slowdown experienced by some users when playing multimedia content. 'Tests of MMCSS during Vista development showed that... heavy network traffic can cause enough long-running DPCs 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... [to] pass along, at most 10 packets per millisecond (10,000 packets per second)... [T]he networking team is actively working with the MMCSS team on a fix that allows for not so dramatically penalizing network traffic, while still delivering a glitch-resistant experience.'"
This discussion has been archived. No new comments can be posted.

Mark Russinovich On Vista Network Slowdown

Comments Filter:
  • Re:Okay... (Score:2, Informative)

    by morgan_greywolf ( 835522 ) on Tuesday August 28, 2007 @08:28AM (#20382441) Homepage Journal
    MMCSS is the Multimedia Class Scheduler Service, which a new feature in Vista -- it is not in 98/95/2000/ME/XP. That's why.
  • by schon ( 31600 ) on Tuesday August 28, 2007 @08:54AM (#20382631)

    Let's do some math, 10,000 packets, at a standard ethernet packet size of 1.5 K
    Sorry, what standard are you talking about?

    If you're talking about MTU (which is 1500 bytes, not 1.5K), that's the maximum, not the standard.

    The average packet size depends on type of network traffic. On most ethernet networks I've managed, average packet size was 700 to 800 bytes.

    you would get a transfer rate of 1.5 MB/s, or in more appropriate data transfer units, about 12 Mb/s. That's way faster than most internet connections available on cosumer PCs.
    Even if your flawed assumptions about packet size were true, how about people with 100Mbps or gigabit networks that aren't downloading from the internet, but transferring files on a LAN?

    I also know quite a few people with 10 Mb hubs still operating on their network.
    Ahh, and because there are a small number of people stuck with 1995-era equipment, then it's OK for everybody else to suffer horrible network performance?
  • by Anonymous Coward on Tuesday August 28, 2007 @08:56AM (#20382677)
    There's good reasons to attack Microsoft. Its business practices, internal workings, and products have a history of abuse, contradiction, and stupidity behind them. I wave no flag for Microsoft and Vista is a pain in the ass that's priced itself out of the market but the look and feel of Slashdot is heading for the basement. I'd be careful of this because when Microsoft sort themselves out the only thing you'll be left with is hate. As that has nothing to grip on people will see it for what it is and walk away.

    Microsoft is focused on improving its products and reaching out to new markets. Meanwile, the comments on Slashdot continue to get less informative and relevent to people outside its core audience. From being some great visionary power that could tear down someone's server with the mere waving of a hand it's become the problem. It has no clear forward vision and most servers just shrug off the famed Slashdotting. Microsoft has changed. The world has changed. Meanwhile, Slashdot just tears itself up in frustration.

    Wake up.
  • Re:Okay... (Score:2, Informative)

    by morgan_greywolf ( 835522 ) on Tuesday August 28, 2007 @08:59AM (#20382711) Homepage Journal

    In other words, Microsoft tried to "fix" something that wasn't broken
    Well, on some machines and in some environments, heavy network traffic can cause an XP machine to slow down, particularly on older/slower hardware. Geeks tend to run stuff that, even if it's not the latest, is amongst the top performers for its generation.

    My wife had an e-Machines 1.2 GHz Celeron machine (purchased before we were engaged) with an el cheapo Intel 810 chipset. When she was still running Windows XP, she'd complain all the time about audio dropouts -- I found that these occured during high periods of disk activity or network traffic. Adding memory improved things from the disk side, but network I/O still sucked on XP. When we switched her to Fedora Core 4, and later to Ubuntu Breezy, things improved a lot. I'm guessing if Vista didn't have such high system requirements, this feature would actually have helped her.

    On her new machine, an Athlon 64 x2 3800 with 2 GB of RAM and a nice VIA chipset with on-board 6-channel audio, on-board GigE, etc., I'm sure she'd be complaining about the network performance instead of dropped audio if she were running Vista instead of Ubuntu Feisty. :)
  • Re:Okay... (Score:5, Informative)

    by rbochan ( 827946 ) on Tuesday August 28, 2007 @09:01AM (#20382731) Homepage

    ...In other words, Microsoft tried to "fix" something that wasn't broken.

    No, in other words, Microsoft/**AA tried controlling something they weren't in control of before.
    Where do you want to go today, indeed.

  • by tji ( 74570 ) on Tuesday August 28, 2007 @09:33AM (#20383099)
    > Let's do some math

    Okay. But, math doesn't match up with the numbers you typed.

    1,500 Bytes is not the average packet, it's the maximum on most ethernet segments. But, the subject original subject is a stressful network environment effecting music playback. 10,000 packets per second is REALLY cranking the data.. so this isn't simple WWW browsing, etc. This is bulk file transfer. So, a large average packet size becomes more realistic in that environment.. say 1400 Bytes.

    1,400 Bytes * 10,000 Packets per second = 14,000,000 BYTES / sec = 112,000,000 bits/sec = 112 Mbps

    Obviously, that's not even possible on most common home networks, which are 100Mbps. But, an increasing number of people are doing Gig-E at home, in which case 112Mbps is well within the norms for bulk file transfer.

    On modern fast multi-core systems, enforcing a pre-set cutoff for packet rate seems like a poor choice. As the linked article showed, the system had plenty of CPU left and didn't need to be throttled at that low a rate. There are also NIC and Driver factors in there.. others might be more or less efficient than the author's equipment -- offload of parts of packet processing and interrupt minimizing techniques can make a big difference.

    In any case.. It's easy to say "that's what you get for using MS / Vista". But, really.. that's true in this case. Windows gives you the lowest common denominator. It's designed to be usable with any hardware, by users of any experience level, and to avoid problems by assuming a worst case scenario. So, that's the kind of solution you get given the assumptions MS uses. As we've seen in the Linux world, the solution is to take great pains to build a scheduler that holds up to ridiculous stresses.
  • by Anonymous Coward on Tuesday August 28, 2007 @10:29AM (#20383733)
    that's completely unfair to Con who taught himself how to program in Linux and likely doesn't even know how to code in that shitty win32 environment

  • Re:And then again... (Score:3, Informative)

    by Laebshade ( 643478 ) <laebshade@gmail.com> on Tuesday August 28, 2007 @10:42AM (#20383849)
    Remember the 10-limit for open TCP connections per program? They did this because viruses and malware open many TCP connections. "Hey, what about P2P?" "What's P2P?".

    You're almost right. The limit is for half-open connections: these are connections in the process of being made; however, this can effectively limit your amount of connections for things like bittorrent, because you connect slower than other peers. When you're constantly disconnecting and reconnecting to new peers every second, it becomes a problem. Hitting an artificial cap on half-open connections causes problems with surfing, too. Some bittorrent programs, like uTorrent, have a setting to limit the amount of half-open connections, so they won't interfere with other web activities. Fortunately, for Vista and XP, which employ the hard limit of half-open connections (tcpip.sys), there are patches available.

Mystics always hope that science will some day overtake them. -- Booth Tarkington

Working...