So, while doing some research on cable-modems yesterday, I discovered that they have notoriously large transmission buffers. Now, having previously determined that overlarge transmission buffers were bad, I set out to see what I could do about it.

Turns out that the answer is “a whole lot”.

There’s a Linux box running as a router. It connects to the cable-modem on eth0 and the rest of the local systems on eth1. Inbound bandwidth is 20Mbps, and outbound is 512Kbps.

Based on that, the answer was exactly one single command:

tc qdisc add dev eth0 root tbf rate 500kbit latency 50ms burst 1540

Bang. Instant performance improvement across the board. Smoother sharing of the cable-modem bandwidth, smoother downloads, better interactive response on remote hosts. It was really quite astonishing how much better it was right away.

Being that I’m a little pressed for time today, I’ll have to explain more later on (in part 2), but the short version is that this prevents any of your local hardware from jamming up network traffic in long queues.

More soon.

Update: Part 2 has been posted.

Tags: ,

Categories: Internet, Technology.

Possibly related posts

Jane’s story: Assembling an ideal Second Life new-user experience (part two), Jane’s story: Assembling an ideal Second Life new-user experience (part one), Modem wars, part 2: Eliminating a very common source of lag, Comic – Day Trip – Part 2, Comic – Day Trip – Part 1

3 Responses to “Modem wars, part 1”


  1. Tigro Spottystripes says:

    That sounds like an improvement, let us know if it does help in practice :)

  2. It seriously improved things for me. All Internet access is better. Incidences of lag symptoms are hugely reduced.

  3. Part 2 has been posted. See above.



Leave a Reply


Notify me of followup comments via e-mail. You can also subscribe without commenting.

Commenters are to be civil, courteous and respectful to others, insofar as it is possible to do so. Beyond that, you're not required to agree with the opinions expressed by me or by others. Think for yourselves!
First time commenters will wind-up in the moderation queue and your comment won't appear right away. Ditto for anything that gets flagged by the anti-spam rules.
Got a news tip or a press-release? Send it to news@taterunino.net.
  • Support us

    Writing is my day job. Site advertising pays for the hosting, but nothing else. Help keep us in coffee and keyboards

    ... or donate in Second Life at this location.

  • ...or use Flattr

  • Page optimized by WP Minify WordPress Plugin