Posts Tagged ‘slow’

Slow Network Transfer with Vista

26. June 2009

No Comments »

The Windows Vista TCP/IP stack came packed with a multitude of new features, one being Receive Window Auto-Tuning. The TCP receive window size is the amount of data that a TCP receiver allows a TCP sender to send before having to wait for an acknowledgment. After the connection is established, the receive window size is advertised in each TCP segment. Advertising the maximum amount of data that the sender can send is a receiver-side flow control mechanism that prevents the sender from sending data that the receiver cannot store. A sending host can only send at a maximum the amount of data advertised by the receiver before waiting for an acknowledgment and a receive window size update.

While the intention of this feature is to enhance user experience, this has certainly not been the case for me. Rather than improving network transfers it caped mine at 50kb/s. To disable Receive Window Auto-Tuning open up an elevated command prompt and issue the command:

netsh interface tcp set global autotuninglevel=disable

Slow connection to Ubuntu repositories

9. May 2009

No Comments »

While attempting to get a fully functional LAMP stack running on my Ubuntu install, I opted to use the repositories for some necessary libraries. The first package I installed was approximately 20MB and it took about three hours. While it was downloading (since I had some spare time), I checked my internet connection. I soon found out that it wasn’t my ISP since I was getting 12Mb/s down. I also scanned the Ubuntu forums for any sign of server maintenance that could be causing the slowness. I didn’t find anything. I then tried changing the repository download location:

System->Administration->Synaptic Package Manager from there Settings->Repositories. From the “Download from” drop down, select “Other.” Click on “Select Best Server” will ping all of the repository locations and select the location with the best ping.

That didn’t help either. After many fruitless attempts I narrowed the fault down to my router. I upgraded its firmware and that fixed it!