Windows 7 TCP/IP tweaks - Tune your internet connection
As you will be aware, DrTCP and other recommended tweak programs are only for WinXP and below. I have previously posted my tweaks for Vista, now here's my tweaks for Windows 7 retail.
First, check out your connection using the following link to make sure there are no problems (you may have to modify my settings if you can't get past all these tests, if you can't resolve the problem): http://www.microsoft.com/windows/usi...d/default.mspx If all is OK, next make a batch file in Notepad from the following by cut & pasting. Call it something like 'TCPIPSet.cmd' making sure you get the extention right: Quote:
This should give you the best speeds your connection will allow. Use it to check your settings from time to time to make sure nothing's knocked them out of whack. |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
wheres the vista ones? u got a link?
|
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Thanks for the info, I'll be playing with this later!
|
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Any figures for the improvement in speed (ie speed before tweak and speed after) so that we can judge how useful it is?
|
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
I was going to do this but then I saw that the Microsoft test included something that would open 80 concurrent connections on my router. As I currently have a WNR2000 (as supplied by Virgin) I was worried that it might pop a capacitor on the board and catch fire. So I closed the window, sharpish, and banished all thoughts of stress testing Netgear's finest.
|
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
1) The Vista tweaks are here:
http://www.cableforum.co.uk/board/12...aks-speed.html 2) Sorry, mileage will vary depending on previous settings and current hardware used. Some of these tweaks affect TCP/IP transfer efficiency, whilst some rely on networking hardware in the LAN card to offload some of the processing from the CPU, one even allows compatable hardware to directly address CPU cache memory to avoid bottlenecks. Basically, if there are no problems indicated from the test site and you have a normal home broadband connection then these settings are going to squeeze the last bit out of your connection. If your settings are normal it will be that little bit better. If your settings have been knocked out of whack (common with Vista) then this can seriously boost your speed. The following two lines are the most essential for raw transfer speed: netsh int tcp set global autotuninglevel=normal netsh int tcp set global congestionprovider=ctcp These tweaks can be seen in the same light as the DrTCP tweaks for older OSs. You can get anything from a little top end fine tuning speed improvment to radical improvment. 3) No, the Microsoft compatability test will not blow up your router. The worst concievable result is the need to reboot the router, and if you do need that then the router is awful and should be replaced with a half way decent one. The WGR614v9 (latest Netgear firmware, can't speak as to Virgin firmware) passes perfectly. Still, do the test in case your PC/LAN card/summat else has an issue. |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
who mentioned blowing up ur router? lol
|
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Quote:
|
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Have you done one for Windows XP?
|
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
I ran the tests and it says that UPnP Support Test is Not supported.......is this something I should be concerned about?
Should mention that im using windows 7 |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Quote:
There is lots of info on tweaking with DrTCP available on the net. There is little info on Vista and Win7 and what there is is a bit technical and sometimes conflicting, so I thought I'd better pull it together for people. As a note, Win7 is hot off the shelves of course, so if anyone experiences problems with my Win7 config. speak up. My Vista settings have been well tested. ---------- Post added at 22:05 ---------- Previous post was at 21:57 ---------- Quote:
There are a lot of settings that can affect UPnP, you'll have to google if you think they're out of whack. It should not affect the tweaks this thread is all about but I like to use UPnP. Port forwarding everything is a pain. Win7 and Vista come with UPnP ready enabled (I never had XP but it should do UPnP with latest SPs without any further messing since my father's has, Win2K didn't do UPnP). It needs to be enabled in your router too. Firewalls can block UPnP, but the Windows firewall should be set to cope with it out of box. |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Quote:
|
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
I have applied your batch file to windows 7 and it has seriously degraded my speed, could you by any chance do a batch file which reverts everything back to there original settings, someone might need it.
I have just restores from an image and my speed is back to how it should be/was. Use this on Windows 7 at your own risk and make sure you have an image/backup to restore to. Not saying it doesn`t work on Vista or putting it down Andy, maybe it was something on my end. I would say as feedback that webpages where taking at least 10 times longer to open (the page would hang for several seconds). I tried a"netsh int ip reset" but it didn`t help. 7 Home premium behind a router (UPnP disabled [Maybe this was the cause]) Comodo Internet Security/Sandboxie |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
I see you've already reverted back Matty, but for anyone else, the defaults on my Windows 7 Professional install were as follows:
Code:
Receive-Side Scaling State : enabled So the cmd file for reverting, in my case at least, would be as follows: Code:
@echo off |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
If it gives you trouble, try isolating the setting that fails for you. It may be that your router is not ECN capable (but the test should have confirmed his). Basically, to revert you can adjust the settings to whatever suits.
If ECN is what causes the problems, you'll still want to change your congestion provider. Likewise the other way around. If DCA is the issue I'd like to hear about it. This is a rather new area. It shouldn't affect anything unless your hardware supports it (I can find no check you can do for this and information is light). If it works with your hardware you should have data transfer between network card and CPU cache memory without passing through ram first. If not you should see no effect. If it causes trouble, it would be worth hearing about it. So, feedback on what breaks your connection, and the type of connection you have (Virgin Cable or ADSL) plus any usual difficulties you have with it would be useful. Basically, my settings are what one would want to achieve (DCA experiments not withstanding, rather new that setting) and if they can't be used it may be worth trying to find out why. I'm also interested in hearing what happens if Comodo is switched off as I don't have that and it could be a factor. Oh, and ta Buckleb for adding the original settings for those who didn't take note before applying any changes. Perhaps I should have thought to mention, such is second nature to me so I didn't think beyond providing a mechanism for checking. Note that some things change these settings, such as my adding a Vodafone 3G stick as a backup. Installing the drivers turned on Timestamping, which might be handy for a specific 3G machine but really should be off for a normal home PC on ADSL or Cable as a main connection. Possibly it would be handy for a poor wireless connection, but I'd rather just improve the connection. Oh, and Matty, what's your router? Addition: Auto tuning level is usually best set to normal, but Windows can change this if it feels the network conditions warrant it. Vista tends to shift to Highly Restricted for this setting on occasion. I suspect due to boot up choices whilst things are getting it together and being dead laggy (such is a Vista boot). You need to check if your connection suddenly goes slow because this is often the issue, though some routers seem to cause it more than others. Win7 appears to be less judgemental, and I've not seen this over sensative behaviour from it so far. A nice improvment. |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Thanks so much for this, my downloads wirelessly shot up from 950kb/sec to 2.1mb/sec wirelessly! :)
|
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
My connection does seem a little more stable, particularly when using my download manager.
My system had passed all of the online tests though (after I enabled uPNP on my router). |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Quote:
So, anything's possible. Still, if a Microsoft test was blowing up routers all over the world you can bet you would have heard about it on the news by now. :p: Nice to hear the tweaks are working for some. I believe they should be right for most, so feel free to add feedback especially if any particular option is causing you trouble. I'm especially keen to hear from anyone who gets problems from turning on DCA. |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Quote:
Actually, mine did catch fire, but that was helped by the petrol that I poured over it right after I bought a D-Link. THIS IS A JOKE, BY THE WAY (pointed out in case you believe me and report me to some authority for breaking a law) Sorry if I confused you with my attempt of humour - It seemed so obvious to me that I was taking the ****. And I'm kinda amazed at how you thought I wasn't. |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Quote:
Allthough to be honest whenever i do a speed test it gives ~10MB which is what i am on, it`s just the upload speeed which is poor and that seems to be a Virgin cable thing...! |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Quote:
I've not been reading many posts about that router as I don't have it or a 50 meg connection. So I won't have seen your trials with the Netgear. ---------- Post added at 01:22 ---------- Previous post was at 01:11 ---------- Quote:
|
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Dragon Age: Origins won't connect to EA online or profile (Doing for Google)
Alright well here is something strange. I've been running these tweaks for a couple of weeks. Playing World of Warcraft and a few other online games fine. I just got Dragon Age: Origins and I could not get it to connect online. I tried everything I could think of and went through my router, firewall etc. Tested each change. No luck. I ran the revert script here as a final try. Problem fixed. Throughout the test I tried manually going to where the game tries to go which is https://profile.ea.com and I could not get there. I also tried pinging it and got varied results. Of either time outs or pinging correctly. What caused this guys? I'm pretty sure my router supports ECN.....but not entirely sure. I'm using a Netcomm NB6PLUS4W with a Netgear WG111v3 Wireless Adapter on Win7. Thanks. |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Yep, specifically it's the 'netsh int tcp set global ecncapability=enabled' that kills https://profile.ea.com for me. Never seen this with other web sites before. Clearly this shouldn't happen with ECN, so I'm enclined to blame the web site.
Anyone still running Vista that can see if it's working for them? If it works with Vista when ECN is on then it's probably Win7 at fault. If not, I suspect the web site/server is at fault. UPDATE: Looks like others on the net have found the same with this web site: http://forums.steampowered.com/forum...1011770&page=2 It looks like the finger is certainly being pointed at the web site. If you have Dragon Age you'll have to turn off ECN and moan at EA until they fix their server. You can still use the other tweaks though, CTCP being worth while alone. You could even write a batch file to switch ECN off and on when needed for when you want to play that game. This seems to be an isolated issue. |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Quote:
Do you have any idea how you can check it's current settings and switch things off on etc . I don't actually have Vista but I can see this as being a useful way of finding out a little bit about a machine I'm working with - and as I'm lazy, asking you will save me having to find out myself :p |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Firstly, Vista does auto tune RWIN but is dead twitchy and conservative, which is why it sometimes switches to 'Highly Restricted' for the session during boot or some minor glitch later on in the session and then won't switch back automatically with ease. It is for this reason that the occasional check with my script is very useful for Vista so you can switch back to 'Normal' if it goes quirky. Having a setting of 'Highly Restricted' will really slow you down, and this solves a lot of Vista speed complaints. It is a pain to baby sit, but the solution seems to be Windows 7 which has not done this to me yet at all.
The settings available for the auto tuning level are as follows: disabled: Fix the receive window at its default value of 65536 bytes which you can't then change as far as I can tell except by choosing one of the following options. highlyrestricted: Allow the receive window to grow beyond its default value, but do so very conservatively. restricted: Allow the receive window to grow beyond its default value, but limit such growth in some scenarios. normal: Allow the receive window to grow to accommodate almost all scenarios. experimental: Allow the receive window to grow to accommodate extreme scenarios. WARNING: This can dramatically degrade performance in common scenarios and should only be used for research purposes. Use the Tweak Test from the following site to guage the effects: http://www.dslreports.com/tools Have fun experimenting with that last setting :)~ |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
is there a command that allows you to see current setting though?
Also are you positive their isn't a way to disable the Auto and then manually set things? I'm pretty sure I can do a better job of tweaking things than Vista :/ |
Windows 7 TCP/IP tweaks - IE 8 Performance
Microsoft this week closed my IE performance support case - they told me about a not-yet-published RegEdit that allows IE8 to use the full extent of TCP autotuning.
Without the RegEdit, IE on Windows Vista or 7 limits windowsize to 256 KBytes. This cuts throughput in many high-bandwidth / high latency scenarios. At my employer our standard Windows XP tuning suite significantly out-performed IE on Vista or 7. I now achieve sustained wire-speed HTTP data transfers in Windows 7 with the RegEdit, the Netsh commands here, up-to-date NIC drivers (from the NIC vendor's website) and aggressive settings within Advanced NIC properties. Details and discussion: [Info] IE8 Unleashed on Windows 7 - dslreports.com Definitely worth adding to your standard Windows 7 tuning. ---------- Post added 20-11-2009 at 00:07 ---------- Previous post was 19-11-2009 at 23:54 ---------- Just ran simple speed test using this site's tool. I have 25 Mbps home broadband, generally sustain slightly higher throughput. The test reported 23.91 Mbps and ping time is 97 msec. IE 8 advertised a 1.3 MByte receive window during that transfer. Would not have been possible without the new MS regedit. |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Hey, thanks for the tweak. One question: How do i know i have applied these settings? When i run the file normally and as administrator, the message inside the cmd box is the same, "This only succeeds when run as administrator..[blah]".
I have run it as administrator, and click continue till the cmd box disappeared. Have i applied the settings properly? |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
lol, i had been wondering why i could no longer sign in to ea nation in nfs shift
thanks for the tips :) |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
For anyone wondering what the different settings are and wanting to experiment further, here's the latest official documentation:-
Netsh commands for Interface Transmission Control Protocol |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Windows XP's default networking parameters were set more than 10 years ago (when XP was being designed). These default settings are certainly out of date for many high-speed setups today. Indeed Windows XP's networking was probably set for a 56k connection!
The solution is of course to tune XP's Internet settings. This usually involves modifying the registry to make RWIN settings more broadband friendly and there is free SpeedGuide TCP Optimisation software all over the internet that can help you determine the best Internet settings for a particular setup. Many sites offer free tools for testing and tweaking DSL and other broadband connection settings on XP systems. Where some Web sites offer similar tune-ups for Win7's and Vista's networking. Don't bother! Win7 and Vista dynamically alter their networking settings by monitoring local conditions and speeds. (See the Microsoft Technet article on Win7's "Next generation TCP/IP architecture.") It's unlikely that you can tune Win7's or Vista's Internet settings any better than they tune themselves. WINDOWS VISTA / 7 USERS: Vista TCP tuning (tweaking) is NOT advisable. The Vista / Win7 TCP stack does a reasonable job of tuning the receive window dynamically, there are no known registry tweaks that would optimize Vista or Win 7 better than its default configuration. |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
you correct that XP's defaults are indeed more suitable for dialup.
The defaults only improve on XP if the lan connection is gigabit. The main problem I have discovered with win7/vista auto tuning is it changes the window size in big chunks instead of small amounts at a time and of course it has no proper manual overide. The autotuning works well enough on my VM 20mbit connection however on my adsl which can now only manage about 3-4mbit throughput it doesnt increase the tcp window beyond the non scaling enough. Still a big improvement over XP defaults tho. To say no tuning is advised tho I am not so sure. A known tweak that is a positive the majority of the time is to enable CTCP congestion provider which makes it deal with things like congestion and packet loss much better. Also makes it burst up better to faster speeds on fast lan's. Some routers are unable to handle autotuning in which case a 2nd tweak is to disable autotuning which will also disable tcp scaling and force it to a permanent rwin of around 64k depending on the mss value. |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
May well be the case. In my experience most difficulty arises usually in marrying suitable router settings, and many early routers have now had certain firmware updates that have not just been security related.
I have found that some isps don't use 1500 as an MTU setting for example, thus requiring not just the router to be set to say 1432 if specified, but also the pc's MTU setting also. As you say, the autotuning usually works well, which is the reason that it may be hard to do any better by manual tweak anyway. |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Quote:
How would you undo them if you needed to? |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Quote:
If you want to remove the changes, delete the registry entries that the .reg file added. |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
These are not registry tweaks and should not be changed there. For God sake, don't turn this in to a .reg file! These are command line tcpip settings. I am on a mobile phone right now, but the instruction to view your current settings will work in non-admin mode and you can always view your initial settings with this before you change anything. The instructions can easily be reversed. By the way, some games and sites (mostly EA stuff, poss. only EA stuff) will need ECN disabled temporarily to work).
|
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Quote:
---------- Post added at 22:52 ---------- Previous post was at 22:43 ---------- Quote:
BTW - Mac OS X Snow Leopard also has browser speed limit. It's 512 KByte windowsize, so it's twice as fast as W7 or Vista. ---------- Post added at 23:05 ---------- Previous post was at 22:52 ---------- Quote:
1. Go to the NIC vendor's website. Find, download & install the most current driver. There's still a lot of fixing & fine-tuning for W7 drivers. For example in early 2009 we found TCP throughput on our servers improved about 30% in tests when we updated to a more-current set of Broadcom drivers. 2. Review the NIC settings, typically an "Advanced" tab with the Driver info. Make sure all the assists are turned on. If you have 4 GByte memory or higher, double the number of "descriptors" or buffers for incoming & outgoing traffic. |
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Yes, use the latest NIC drivers (but not the rubbish network manager software that NVIDIA lan drivers might offer). Check out the info on the net regarding any NIC settings for your brand of NIC, they can be very different.
Nice reg. tweak find on that MS page. So, to update, after testing your system with the following link: http://www.microsoft.com/windows/usi...d/default.mspx For Win7 the following are my suggested files, save each as a text file with the names suggested: TCPIPSet.cmd Quote:
Quote:
Quote:
|
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Hi Andy, are these still the recommended settings? I have XP tweaked and working well on a high speed wired connection but now have a W7 PC to optimise for wireless. Cheers.
|
Re: Windows 7 TCP/IP tweaks - Tune your internet connection
Quote:
These days, whether you are using WinXP, Vista or 7, you can download 'TCP Optimizer' from here: http://www.speedguide.net/downloads.php The settings should largely be the same as I have recommended before but this is a little more user friendly and has even more things to tweak. For Win 7 I have used the 'optimal' settings except I have set 'ECN Capability' to enabled (which is fine for most people's hardware and causes no issue with EA's web site or games any more). You can still use my test link to check your PC's ECN capability. Note that ECN is not available for WinXP. Also, this is not about 'optimizing for wireless'. This is about getting the best TCP/IP transfer speeds which will affect both your wired and wireless connections. A poor wireless configuration can still cause issue beyond TCP/IP configuration. For your wireless settings, scan the area for other wlans using the free utility 'Inssider' on your wireless PC. Set your router to use the best channel you can find (not 'Auto'). Also, make sure your router is set to only use WPA2 with AES encryption for your wireless. Due to the standards, AES must be supported in hardware, which means your laptop's wlan card will do all the encrypting PC side. If you end up using TKIP encryption then it may well (read 'almost certainly') be done on your laptop's CPU in software. May as well offload where you can. |
All times are GMT +1. The time now is 06:32. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.