Jump to content

Problem With Networking In Windows Vista?


Recommended Posts

Posted (edited)

One of the first thing I was realizing after installing Windows Vista was that the Data Transfer was much more slow than in XP!

Looking for an Solution for some times and finally found what I'm looking for.

I do believe that I'm not the only one who has the same problem and so I'll copy the article which helped me here:

How to fix Vista's network bottlenecks

As much as I enjoy using Vista, I've definitely noticed that in some networking activities, it definitely seems to struggle. Particularly compared with Windows XP.

For the most part it's not a problem – I just assumed that Vista's beefy network stack was responsible, and made a mental note to fix it at some point. And then forgot.

But recently I encountered a really frustrating problem. Using Remote Desktop Protocol (RDP) to connect from a Vista Enterprise machine to a Windows 2003 server, the performance was so woeful that I was starting to worry whether there was a problem with the server.

As it happens, my fears about the server were unfounded, but the thought that Vista's networking stack was to blame turned out to be correct. The Next Generation TCP/IP stack in Windows Vista supports something called Receive Window Auto-Tuning. This is nothing to do with the RDP "window" you see on the screen, but rather a TCP buffer which TCP/IP clients use to ensure smooth transmission.

Essentially, the TCP receive window is the amount of data that is sent in one chunk before waiting for an acknowledgement to come back from the machine at the other end. It's one of the trickiest things to optimise in TCP/IP because you need to balance throughput with reliability -- if you transmit too much data in one go, if there is an error in the data flow, the whole lot has to be sent again. Windows XP was originally tuned for dial-up connections (lots of errors, so very small chunks of data were sent) but this caused performance problems on high speed broadband networks.

In XP SP2, Microsoft increased the receive window value for better performance on broadband, but it's still not optimal for many situations.

Vista is supposed to improve on this situation: Vista has a new feature called "Receive Window Auto-Tuning" which constantly monitors bandwidth capacity and latency, and adjusts the TCP window on the fly for any given situation. It also enables TCP window scaling – by default the maximum TCP window size if 65,535 bytes, but window scaling allows a client to advertise that it's optimised to receive a bigger window than this – it's designed to prevent TCP window bottlenecks in high-bandwidth environments. Vista's maximum advertised TCP window is 16MB.

Therefore, in a given situation a Vista machine will typically receive much more network data than a Windows XP, which can result in network spiking. This isn't necessarily a problem in itself, but it does increase the importance of actually using TCP/IP QoS (Quality of Service), which is installed and enabled by default in Vista.

The problem with Vista's new-fangled network stack

All this automatic tuning of the Vista network stack sounds great in theory, but the problem is that some clients don't support TCP window scaling, or do but don't have it enabled. Additionally, some firewall products also don't support it. In either scenario, the result is dropped packets which affects network performance horrendously -- your traffic is literally dropping into a black hole, never to be seen again.

So if you're experiencing excessive network lags on your Vista machine, especially compared to non-Vista machines, it might be worthwhile disabling auto-tuning. Do this by opening up an administrative Command Window (right-click, Run as administrator), and type in the following command:

netsh interface tcp set global autotuninglevel=disabled

You may also need to type in:

netsh interface tcp set global rss=disabled

The changes take effect straight away, with no reboot needed. Bear in mind that this is a global change, so it may really be worth your while to sit down and nut through your network's QoS settings to get things running happily without disabling auto-tuning.

Personally, I needed to RDP to that server as a matter of urgency, and disabling auto-tuning definitely did the trick.

Source: apcmag.com

Edited by Reimar
Posted

The networking part of vista is one of the very few things driving me nuts!

Lots more clicking needed just to get some basic info (like which IP address of your connection).

I liked the networking screen of XP, where you could enable and disable connections.

In Vista, you disable an interface, and the only way to get it up again seems to be to go to the device manager!

And yes, some networking things go dead slow. Printing to a printer connected to a XP computer and shared over the network can take ages just to get the print window up, same for the print preview (which uses the print driver I think).

I'll try to use the tricks in above post, but right now I get following error message, eventhough I'm logged on as administrator: Set global command failed on IPv4 The requested operation requires elevation.

Try again tomorrow when my brain is fresh :o

Posted
The networking part of vista is one of the very few things driving me nuts!

Lots more clicking needed just to get some basic info (like which IP address of your connection).

I liked the networking screen of XP, where you could enable and disable connections.

In Vista, you disable an interface, and the only way to get it up again seems to be to go to the device manager!

And yes, some networking things go dead slow. Printing to a printer connected to a XP computer and shared over the network can take ages just to get the print window up, same for the print preview (which uses the print driver I think).

I'll try to use the tricks in above post, but right now I get following error message, eventhough I'm logged on as administrator: Set global command failed on IPv4 The requested operation requires elevation.

Try again tomorrow when my brain is fresh :o

Monty,

I had similar problems before but it solved after I disabled the UAC completly!

Posted
The networking part of vista is one of the very few things driving me nuts!

Lots more clicking needed just to get some basic info (like which IP address of your connection).

I liked the networking screen of XP, where you could enable and disable connections.

In Vista, you disable an interface, and the only way to get it up again seems to be to go to the device manager!

And yes, some networking things go dead slow. Printing to a printer connected to a XP computer and shared over the network can take ages just to get the print window up, same for the print preview (which uses the print driver I think).

I'll try to use the tricks in above post, but right now I get following error message, eventhough I'm logged on as administrator: Set global command failed on IPv4 The requested operation requires elevation.

Try again tomorrow when my brain is fresh :o

You will still need to right-click on Command Prompt to elevate - just being logged in as admin isn't sufficient.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.



×
×
  • Create New...