A minor network speed boost

For the past few months I’ve been suffering with noticeably slow network speeds on my battered Thinkpad. It’s running almost 24/7 as an rtorrent slave, so the crappy performance wasn’t really a big deal, and that’s why I didn’t chase it very much. I don’t really care if I seed the Ubuntu 8.04.1 ISOs at 2kbps or 20, since I’m only doing it to help out.

Yesterday I noticed this bug report for Ubuntu, which rather tersely mentions network speeds on the 2.6.2? kernel. Apparently, if the comments are correct, one of the sysctl.conf options is set in a way that can interfere with performance.

Mind you that laptop is running Arch, and the network port is nothing spectacular anyway, but installing procps (which owns the sysctl framework) and adding this line to /etc/sysctl.conf

net.ipv4.tcp_window_scaling = 0

doubled the download and upload speeds in rtorrent. Of course, they were rather paltry to start with, so doubling them isn’t that spectacular, but at least I’m getting total download speeds in the 50-60kbps range, when they were barely peaking at 12kbps before.

I can’t guarantee it’s a winner for every system, but I’ve added it to two Arch systems and an Ubuntu one, and it doesn’t seem to hurt anything. First thing, do no harm. ;)

About these ads

1 Response to “A minor network speed boost”


  1. 1 Onyros 2008/10/09 at 9:46 PM

    Jeez… I gotta keep tabs on this one, too.

    It didn’t double my rtorrent speeds, it quadrupled them. Thanks!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,959,707 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: