Slashdot Mirror


Vista's 'Next Gen' TCP/IP Stack

boyko.at.netqos writes "Microsoft's new Vista TCP/IP stack might be beneficial to businesses looking to increase use of their IT infrastructure... if they did it right. Ted Romer at Network Performance Daily writes: '[Vista] now allows us to throttle outbound traffic at a client or server. For example, you can throttle the bandwidth of a particular subnet to a particular server, giving some departments more access to the servers that they need. You can even restrict outgoing bandwidth for certain peer-to-peer applications like bit torrent. This shaping can also be handy when applied to servers, allowing less bandwidth for certain users/departments, and more for others. While consumers may debate whether Vista is a worthwhile upgrade, I believe it to be important for enterprise customers who will best be able to put Vista's capabilities to their fullest potential. Of course, I'm getting it for DirectX 10 games, but that's just me.'"

34 of 259 comments (clear)

  1. Words to strike fear into any heart by PHAEDRU5 · · Score: 4, Funny

    "redesigned from the ground up"

    --
    668: Neighbour of the Beast
  2. Will it... by Threni · · Score: 5, Interesting

    ...let me choose how much bandwidth to allocate to each app, and their relative priority? I want my browser to go first, then Google talk, then any updates (OS, virus checker, firewall) and finally P2P. It's quite annoying that I can't do that on XP. Perhaps it's a tricky problem though.

    1. Re:Will it... by TheRaven64 · · Score: 4, Informative
      It's quite tricky because, typically, the TCP/IP stack has no knowledge of which application is the originator of a particular packet. The application talks to the very top layers of the network stack, and says 'send this buffer to this socket.' This then talks to the lower levels of the stack. On OpenBSD[1] you could conceivably create a virtual network interface for each application that was bridged with the real one and added a tag to all packets, which could then be used for filtering. It would be possible to add an mbuf tag to the packet with the originating process as soon as it was created, although I don't believe this is currently supported. I might have a poke at the code and see how hard it would be...


      And, probably, other systems. I'm just most familiar with OpenBSD's filtering.

      --
      I am TheRaven on Soylent News
    2. Re:Will it... by beuges · · Score: 4, Informative

      Windows' OS updates already assume lowest priority, via BITS. BITS is available to be used by any application that wants to use it, so if antivirus/firewall vendors decided to make use of it, rather than rolling their own solutions, all those updates can happen at lowest priority also. It's QOS requesting lowest priority, rather than highest priority.

      I'm not sure if you can specify individual priority levels, but the OS already allows applications to download using the lowest priority.

  3. Is this a slashvertisment ? by Anonymous Coward · · Score: 5, Insightful


    because it sure reads like one
    Microsoft is desperate to get business interested in their Vista product so will trot about all manner of reasons to buy it, but business are not biting, unless this Vista can make workers type faster or calc spreadsheets quicker or email faster than there is NO productivity gains unless wowing the coworker with a 3D AIGLX/Beryl like desktop counts as productive

    if an Enterprise is worried about client bandwidth they would already be using a tool dedicated for the job like, say a Router

    1. Re:Is this a slashvertisment ? by itlurksbeneath · · Score: 3, Interesting

      I have noticed this in a lot of Windows apps as well and it dumbfounds me that, after all these years, Microsoft programmers still haven't got threaded programming into their heads.

      I mean, why does Access requesting data from a network database freeze up the entire machine (or at least the whole TCP/IP stack)? And nothing frustrates me more than Outlook. When you're typing an email message and Outlook "requests data from server" in the background, freezes your input into the current window. Damn, guys.. do that crap in a background thread and stop interrupting the UI for something not related to what I'm doing at the moment.

      The other thing that kills me is the fact that the window is a part of the application and not a part of the desktop. I mean, when something freezes, you can't easily iconize, resize, or do pretty much anything with the window the app is contained in. IMHO, the UNIX window environments did that right - the window is owned by the window manager and tells the application how big it should be or if it got resized, not the other way around.

      I use Linux at home, but have to use Windows in the corporate world (and yes, we're sprinting like mad towards a Vista roll-out on 40,000 some odd desktops in '07). I haven't heard if Vista fixes any of my pet peeves, but I'm hoping, at least as far as sanity at work goes, that it does.

      --
      Have you ever considered piracy? You'd make a wonderful Dread Pirate Roberts.
  4. Re:Wondershaper by robzon · · Score: 3, Insightful

    Because Linux doesn't have the super marketing powers.

  5. Enterprise by dbIII · · Score: 5, Insightful
    Wouldn't enterprise customers have purchased routers that do this five years ago to handle the QoS - and managed switches ten years ago to handle the rest?

    OK - it is nice, but it certainly is not new.

  6. games? by Anonymous Coward · · Score: 5, Funny

    Of course, I'm getting it for DirectX 10 games, but that's just me

    Just you? Wow, those will be some disappointing sales figures.

  7. Alternatively by eclectro · · Score: 5, Funny

    If that guy in accounting is spending all his time downloading movies off from bittorent, wouldn't it be better to fire him instead of shaping his packets??

    --
    Take the cheese to sickbay, the doctor should see it as soon as possible - B'Elanna Torres, "Learning Curve"
    1. Re:Alternatively by cycojesus · · Score: 5, Funny

      I am this guy AND I am the son of your boss. Ah, dilemna...

  8. Re:At least it's now easier to identify Vista by LehiNephi · · Score: 3, Insightful

    Up until now, there have been a grand total of ZERO reasons for me to be interested in Vista. None of the new features hold any draw for me. It's good to see that there's finally something worthwhile in it--traffic shaping at the machine level is a good thing.

    --
    Help find a cure for cancer. Join the [H]orde
  9. Interesting discussion of this at SecurityNow by AngusSF · · Score: 5, Informative

    GRC | Security Now! Transcript of Episode #51 "Vista's Virgin Stack" http://www.grc.com/sn/SN-051.htm

    --
    "A gun is a tool, Marian. No better, no worse than any other tool. An axe, a shovel, or anything." Shane (1953)
  10. Create your own reply by Giant+Ape+Skeleton · · Score: 5, Funny

    Big deal. ______ has had this in the kernel since ______.

    --
    The difference between stupidity and genius is that genius has its limits.
    1. Re:Create your own reply by Anonymous Coward · · Score: 5, Funny

      Big deal. Corn has had this in the kernel since it was a stalk.

    2. Re:Create your own reply by Anonymous Coward · · Score: 3, Funny

      Big Deal. _Kentucky_Fried_Chicken_ has had this in the Colonel since _The_Civil_War_.

  11. Re:Wondershaper by Loconut1389 · · Score: 4, Insightful

    traffic shaping still isn't a breeze to setup under linux and keep in mind in many windows-centric environments, people just don't have the linux experience.

    Are you speaking from experience on both fronts? (honest question) Is the vista shaping that difficult?

    Linux is great for many things and many people, but sometimes the simpler solution works for a lot of people.

  12. Re:Wondershaper by MicrosoftRepresentit · · Score: 5, Funny

    Yeah, right...because if history teaches us anything, its that Linux is easier to use then Windows.

  13. Quoted portion leaves out important bit by BrianRoach · · Score: 5, Interesting

    Rather interesting that the quote in the summary here on slashdot skipped this (emphasis mine):

    FTFA: "Vista's ability to use centrally configured group-policies to push out policies to specific users or servers, and allows tagging of packets with the Diffserv code point values, so that our network infrastructure can see the marking and react to it in different ways - whether it's VoIP traffic, or TCP/IP business critical traffic, or web-surfing traffic. (Granted, this QoS doesn't guarantee anything, it just marks the packet in Windows and it is up to your network infrastructure to honor those tags.)"

    So ... it really doesn't do much. It may be slightly more convenient to configure QoS on your routers based on the tags rather than port numbers ... but that's about it.

    - Roach

    1. Re:Quoted portion leaves out important bit by BrianRoach · · Score: 4, Informative


      And now that I've actually had some coffee ... this is just silly.

      They're breaking rule #1: Never trust the client.

      If your QoS network equipment is using these tags instead of actual port numbers, well, it's pretty easy to reconfigure how a client tags its packets.

      - Roach

  14. This is a stupid idea by mwilliamson · · Score: 3, Interesting

    Bandwidth management _must_ not rely on the host's cooperation. All will work beautifully until a virus totally rapes the network because QoS responsibility had been shifted from the network to the hosts. Damn, this isn't just stupid, it's freaking pathetic. What next Microsoft, pull in layer 2 into your stack as well?

  15. For anyone interested in enabling Compound TCP by PhrostyMcByte · · Score: 4, Informative

    The Compound TCP talked about in TFA is disabled in Vista by default. If you want to turn it on, you can open a console with admin privs (right click Command Prompt -> Run as Administrator) and enter:

    netsh interface tcp set global congestionprovider=ctcp

    This was one of the first commands I ran after Vista installed, and the difference is noticable.

  16. And don't forget the network as a whole. by khasim · · Score: 5, Insightful

    The network has different characteristics depending upon what point you are at on it.

    The WAN routers see the low bandwidth, higher latency serial links and such.

    The servers/workstations see the high bandwidth, low latency ethernet links.

    Do you really want your server(s) calculating its(their) window(s) based upon whether the request is originating across the WAN or next to it on the LAN?

    This sounds like a good idea when you're talking about a single workstation, at home, connected to a cable connection or xDSL or whatever. But it sounds like soooooo many problems in the corporate environment.

    Right now it is easy to find the server/workstation that is flooding the network. It's going to be very difficult when you have hundreds(thousands?) of machines that are ALL trying to maximize their bandwidth usage.

    Personally, I'd prefer the ability to set the LAN parameters for the machines ... and then put a shaping router on the WAN links.

  17. reasons to get vista. by CDPatten · · Score: 3, Insightful

    Many people on Slashdot have been screaming for over a year that Vista doesn't offer anything new, nothing worth upgrading for, etc. Well, it seems to me it does. I think anyone who is intellectually honest would agree... I might be on the wrong site?

    This article points out 1 cool thing, a new networking stack, but it isn't the only thing. And actually he doesn't even talk about IPv6. For example, my lab at home I has 3 Vista installs, and the communicate out of the box over IPv6. In a couple of years IPv6 will be main-stream because of MS, and we all know the benefits from using the upgraded protocol.

    -I think it's cool that when you browse the network people can see a picture of the person instead of the Computer Icon.

    -I also do photography, and you use to be able to open an image file on an OSX machine and XP and it would look better on the OSX box. Not with vista.

    -For Remote Access: PNRP. Again, really cool... do a search if you don't know what it is.

    -Even the average business user will benefit from little things like the snippet tool (prety cool by the way, it's in the accessories folder if you haven't tried it yet).

    -I have clients that are going to love the way the Windows clock works now. They can jump around by month, year, or decade in seconds. Those little things are pretty cool.
    These are just random features that popped into my head, but it seems that Vista has LOTS of things other than Aero to encourage upgrading on all fronts (Security, tools, toys, looks, games, etc.).

    Seriously, apple announces multiple desktops and have this site has a heart attack.... then praises Steve Jobs for being an inventor, a genius, etc. Meanwhile Windows has had those features for years, hell, Unix has for decades!

    MS may not have invented the notion of every new feature in Vista, but it's a good product, and way better than XP. A worthy upgrade. It's not one feature that makes it a good product, but the cumulative of many features. I think you anti-ms people lose a lot of credibility when you blindly bash MS and say Vista sucks and it offers no reasons to upgrade for anyone. For all users it has some pretty enticing plusses.

    1. Re:reasons to get vista. by strikethree · · Score: 4, Insightful

      Seriously, apple announces multiple desktops and have this site has a heart attack.... then praises Steve Jobs for being an inventor, a genius, etc. Meanwhile Windows has had those features for years, hell, Unix has for decades!

      It seems that you must be a shill since even a fanboi would not make such an outrageous claim. MS Windows has _never_ had multiple desktops. They released a crappy powertoy for XP that supposedly emulates multiple desktops but the apps never play along nicely since MS Windows was _never_ designed with multiple desktops in mind.

      strike

      --
      "Someone needs to talk to the tree of liberty about its ghoulish drinking problem." by ohnocitizen
    2. Re:reasons to get vista. by Idaho · · Score: 4, Insightful

      Many people on Slashdot have been screaming for over a year that Vista doesn't offer anything new.

      Yes, and it looks like you've just proven this point yourself. Thanks for pointing it out yourself, here goes:


      IPv6.

      Has been available in every other OS I know of for years. Microsoft is finally catching up here.


      -I think it's cool that when you browse the network people can see a picture of the person instead of the Computer Icon.

      Whatever. I think it's a privacy-sensitive thing that I'd want to disable ASAP, but ok. So, you can set an arbitrary picture as your login icon. Stop the presses! Groundbreaking developments!


      -I have clients that are going to love the way the Windows clock works now. They can jump around by month, year, or decade in seconds. Those little things are pretty cool.

      See above, only even more so.


      -I also do photography, and you use to be able to open an image file on an OSX machine and XP and it would look better on the OSX box. Not with vista.


      So again, if what you say is true, Microsoft is finally catching up to other OS's here once again. Btw. in fact I don't agree with you, I have used the same 19" CRT on a Mac Mini and a Windows/Linux machine, and the pictures look exactly the same (you just have to calibrate the screen right).


      Seriously, apple announces multiple desktops and have this site has a heart attack.... then praises Steve Jobs for being an inventor, a genius, etc. Meanwhile Windows has had those features for years, hell, Unix has for decades!


      !? Since when has Windows had multiple desktop built into the OS (without installing 3rd party applications, specific video card drivers or funny power tools that nobody ever bothers with - not least because many applications tend to act in very strange ways when you try to use it)? Also, if Vista finally supports this, Microsoft is, once more (how often do you want to point this out?) finally catching up with what has been taken for granted in every other major OS for ages.

      So far, my reaction to Vista (and yes, I tried to run RC2 on my AMD64 3500+ with 1GB RAM) is that it's completely underwhelming. The only thing that is overwhelming about it are the memory requirements - it managed to use 600+ MB right from booting it up!

      By the way, you also forgot to mention a few more "features", such as the fantastic customer-friendly Digital Restriction Management schemes, activation schemes that might disable your computer, etc. etc. just to name a few.
      --
      Every expression is true, for a given value of 'true'
  18. Re:Wondershaper by vadim_t · · Score: 5, Informative

    Well, it's expensive. Are you going to waste a box that can run Vista on that? A box that can run shorewall and traffic shaping is a P100 with 64MB RAM, which can be found for free.

    You have two options:
    1. The Vista box shapes traffic for itself and nothing else. This isn't terribly effective as to have a good effect you need to shape all of the traffic, giving different hosts different priority.

    2. You have the Vista box as a firewall for the network. In this case it's expensive, can be broken into, and if it is, you have a major mess because all your traffic will be going through it.

    An old P100 with 64MB RAM running shorewall is practically invulnerable. No ports need to be open, excepting for SSH from the internal network, or not even that. You can run it from CompactFlash and have it with no moving parts at all. It'll quietly sit there for years shoveling packets back and forth with zero problems. It doesn't accept connections, it has no open ports of public services -- it's impossible to break into barring a kernel bug in the TCP stack.

  19. Re:There MS goes again. re-inventing the wheel... by octaene · · Score: 4, Insightful

    It's a big deal because now, viruses and malware can slow your network access automagically, so that it'll take weeks for you to download those security patches and antivirus signatures that you should've already downloaded. :-)

  20. Re:Wondershaper by Ferzerp · · Score: 5, Informative

    It's obvious that no one has RTFA....

    "(Granted, this QoS doesn't guarantee anything, it just marks the packet in Windows and it is up to your network infrastructure to honor those tags.) "

    Vista supports Diffserv tagging based on the user/application/whatever, enforced via group policy. It's up to your network hardware to actually do the shaping.

  21. Re:Wondershaper by morgan_greywolf · · Score: 4, Insightful
    traffic shaping still isn't a breeze to setup under linux and keep in mind in many windows-centric environments, people just don't have the linux experience.


    Even in Windows-centric environments, many businesses do not and will not use a Windows PC to do things like traffic shaping. Firewalls, routers, etc. of any type are generally going to be dedicated-purpose devices from companies like Cisco, Juniper, CheckPoint, etc., not PCs or other general-purpose computing devices, and usually not even PCs running Linux. Why? Better performance, better security, ease of maintenance, higher reliability, the list goes on.
  22. Re:Wondershaper by GIL_Dude · · Score: 3, Interesting

    Exactly. And if using Group Policy you can easily set it to give say sap.exe high priority and iexplore.exe and firefox.exe low priority (if that would be right for your business). That way, if sap.exe uses port 80 as well you aren't artificially restricting it at the router/switch.

  23. Re:Wondershaper by indifferent+children · · Score: 5, Insightful
    Yeah, right...because if history teaches us anything, its that Linux is easier to use then Windows.

    If "easier to use" means "requires less knowledge", then Linux might not be "easier to use". But if "easier to use" means "consistently behaves the way a knowledgable person expects", then Linux is much "easier to use".

    --
    Censorship is telling a man he can't have a steak just because a baby can't chew it. --Mark Twain
  24. You Forgot TCP Window Scaling by eklitzke · · Score: 3, Insightful

    The bandwidth throttling may not be a big deal to you, but on high bandwidth high latency links you can get huge performance improvements (i.e. 10-100x) with proper use of TCP window scaling. In the original TCP spec the window size could be no more than 64 KB, but this behavior was later amended and a TCP option was added to allow you to increase this value.

    The optimal window size is (Round Trip Time)*(Bandwidth). For my internet connection (600 KBps) that means that a 64KB window is only adequate for sites whose ping time is no greater than 110 ms. For sites with a higher latency, the amount of bandwidth I can get in a TCP connection between me and this host is artificially limited by my TCP window size.

    Right now it generally isn't possible to get a reliable connection after increasing the window size past 64 KB because some older/cheapo routers will not work with TCP windows greater than 64K. But if this gets into Vista and TCP window scaling options started getting heavy use, there would be a lot of pressure on sites with broken routers to get them fixed, and then those of us with high bandwidth connections would reap the benefits.

    --
    #include ".signature"
  25. What do you mean, "next-gen"!? by Idaho · · Score: 4, Insightful
    For example, you can throttle the bandwidth of a particular subnet to a particular server, giving some departments more access to the servers that they need. You can even restrict outgoing bandwidth for certain peer-to-peer applications like bit torrent. This shaping can also be handy when applied to servers, allowing less bandwidth for certain users/departments, and more for others.


    Why is this called "next-gen"? There is nothing "next-gen" about this. If anything, Microsoft is finally catching up with the rest of the world in this department.

    Such stuff was possible with Linux (and, I'm sure, BSD) servers for years. I know for sure because I used to have such a setup (to do traffic shaping on our -then- relatively slow internet connection shared by too many people) on a Linux server, more than 5 years ago!

    Please stop this silly use of marketingspeak of calling something "next-gen" when in fact the company under consideration is just finally catching up with what the rest of the world has been doing for ages.
    --
    Every expression is true, for a given value of 'true'