Free and Discounted Ebooks
Join 130,000 readers! Get our ebook deals straight to your inbox.

ADSL Bandwidth Management HOWTO

Cover image for


Author: Dan Singletary
Published: 2003
Language: English
Wordcount: 5,809 / 20 pg
Flesch-Kincaid Reading Ease: 69.8
LoC Category: TX
Downloads: 12,391
Added to site: 2008.05.12 20866

length from the default of 100, which on an ADSL line could take as much as 10 seconds to empty with a 1500 byte mtu.


3.5. Attempting to Throttle Inbound Traffic

By using the Intermediate Queuing Device (IMQ), we can run all incoming packets through a queue in the same way that we queue outbound packets. Packet priority is much simpler in this case. Since we can only (attempt to) control inbound TCP traffic, we'll put all non-TCP traffic in the 0x00 class, and all TCP traffic in the 0x01 class. We'll also place "small" TCP packets in the 0x00 class since these are most likely ACK packets for outbound data that has already been sent. We'll set up a standard FIFO queue on the 0x00 class, and we'll set up a Random Early Drop (RED) queue on the 0x01 class. RED is better than a FIFO (tail-drop) queue at controlling TCP because it will drop packets before the queue overflows in an attempt to slow down transfers that look like they're about to get out of control. We'll also rate-limit bot



Join 120,000+ fellow readers! Get Free eBooks and book bargains from ManyBooks in your inbox. 

We respect your email privacy

login | register

User ID


reset password

Author of the Day

Bill Carson
Bill Carson creates riveting crime novels that leave readers thinking about life. His first book in the Detective Nick Harland series, Necessary Evils, is no exception, looking at how people handle love, loss, lust, greed and many more. As our author of the day, Carson talks to us about his writing habits, who Detective Nick Harland really is and why John Kane does such horrible things.
Read full interview...