Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Enthusiast Zone > Networking > Optimizing ADSL connections

Optimizing ADSL connections
Thread Tools
Fresh-Faced Recruit
Join Date: May 2003
Status: Offline
Reply With Quote
May 11, 2003, 11:55 PM
 
Hey,
With an asynchronous connection, download speeds can be affected by heavy upstream activity. This occurs because after you recieve a TCP packet, you are supposed to send an ACK back to verify that you have recieved it. If your upstream is saturated, the ACK gets queued and if it taked to long to get it out, it screws up the download.

The document: http://www.benzedrine.cx/ackpri.html describes a method for fixing this problem in OpenBSD. Basically, he sets the computer to prioritixe the ACK instructions in the TCP queue. My question is, is this possible in OS X? How?

Thanks!

PS: I cross-posted this is OS X, Unix, and Networking. Feel free to lock/delete if this is a breach of etiquette.
     
Grizzled Veteran
Join Date: Sep 2002
Location: Silicon Valley, CA
Status: Offline
Reply With Quote
May 16, 2003, 03:22 AM
 
Originally posted by theseum:
Hey,
With an asynchronous connection, download speeds can be affected by heavy upstream activity. This occurs because after you recieve a TCP packet, you are supposed to send an ACK back to verify that you have recieved it. If your upstream is saturated, the ACK gets queued and if it taked to long to get it out, it screws up the download.

The document: http://www.benzedrine.cx/ackpri.html describes a method for fixing this problem in OpenBSD. Basically, he sets the computer to prioritixe the ACK instructions in the TCP queue. My question is, is this possible in OS X? How?

Thanks!

PS: I cross-posted this is OS X, Unix, and Networking. Feel free to lock/delete if this is a breach of etiquette.
look for something called BroadbandOptimizer
MacBook Pro 15" Unibody | iPhone 16GB 3G
     
Administrator
Join Date: Apr 2001
Location: San Antonio TX USA
Status: Online
Reply With Quote
May 16, 2003, 08:17 AM
 
theseum,

You describe the situation very well, and in nicely understandable terms. One thing to note about this problem is that it takes a LOT of upstream traffic to slow your downloads if your connection, modem, router, etc. are properly configured. Of course if your ISP doesn't ensure that THEIR part of the connection is optimized, you can do anything you want to YOUR part and still not see any improvement.

Another issue is the difference between your upstream and downstream speeds. My ADSL connection gives me up to 1.5Mbps down with up to 125kbps up. This is fine for surfing, streaming files, etc., and usually isn't a problem with a single user playing online games. If I was serving files through this connection, I'd have serious problems with downloads while files were going out. Moral: if you plan to serve, buy a big enough connection.

A few tweaks I can suggest include optimizing the connection between your modem and router (ensure you have really high quality ethernet cable between them, and keep it short-a 1meter Cat5E cable is worth the price here), and making sure your router's MTU setting is appropriate; with most DSL connections it should be set for 1492, though WAN conditions and ISP settings may call for lower settings. Your best bet for objective measurements of your connection and great hints for optimizing what you can is to go to Broadband Reports' Tools page. Use the tools to measure your speed, and the tweaks forum to find ways to go faster.
Glenn -----
OTR/L, MOT, Tx
     
Dedicated MacNNer
Join Date: Jul 2002
Location: Boston, MA
Status: Offline
Reply With Quote
May 19, 2003, 08:14 PM
 
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 05:58 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2