On 2006/02/02 11:33, Stuart Henderson wrote: > On 2006/02/02 22:08, [EMAIL PROTECTED] wrote: > > Quoting Graham Gower <[EMAIL PROTECTED]>: > > > This begs the question, what should you do if your bandwidth is variable? > > > > I've wondered that myself. I figured someone in that situation might > > have to settle for an upload bandwidth limited to the worst case? > > It's usually possible to monitor the router's reported connection speed > (maybe available by SNMP or logged to syslog, which might be easier than > connecting to the router's cli or web interface to retrieve the information) > and use the correct value in the ruleset. It shoulddn't be used "raw" as > ATM overheads need to be allowed for. A shell script and standard tools > should just about do the trick, though e.g. Perl is probably simpler.
...but catering for the worst-case results in quite inefficient use of the line: http://www.adsl-optimizer.dk/thesis/ has a lot more detail about this. One particular thing that stands out: TCP ACKs use a lot more of your line capacity than you're probably expecting.

