Re: [Nolug] Linux network optimizations

From: Randy Wild <randywild1_at_yahoo.com>
Date: Thu, 27 Jan 2011 19:31:15 -0800 (PST)
Message-ID: <165656.40487.qm@web121709.mail.ne1.yahoo.com>

Petri I use Rosewill RNX-G1/G1W for my "USB" NIC and it has worked great, although I only tested in on Ubuntu 10.10 and 10.04. It was only $19.00.   ________________________________ From: Petri Laihonen <pietu@weblizards.net> To: nolug@nolug.org Sent: Thu, January 27, 2011 7:42:48 PM Subject: Re: [Nolug] Linux network optimizations Ubuntu. Specifically a mythbuntu. I need to retire my old file server, so I decided to go with this one. Network "card" is DYNEX USB stick.  It is a $10 wonder which crashes quite a few modern Linux distros when plugged in. If I have time I'll try to do few things mentioned in the thread. Basically I was transferring files from my office at UNO. (LinuxMint box) That is one of the reasons the file transfer rate was topped at around 1.6MB/s. P On Tue, Jan 25, 2011 at 8:34 PM, Brad Bendily <bendily@gmail.com> wrote: Which OS was this? > > > > >On Jan 25, 2011, at 8:21 PM, Petri Laihonen <pietu@weblizards.net> wrote: > >> Some time back, I was with the impression Linux has top performing network >>stack, whereas winblows did not. >> >> It turns out the default networking does not seem to be so good after all. >> >> I was researching the reasons why SCP transfers get stalled and found few lines >>to be added to /etc/sysctl.conf file. After adding the lines and "restarting" >>the sysctl, my SCP transfer speeds increased from 300KB/s to 1.6MB/s. Quite a >>big difference for networking system which was supposed to be top notch from the >>get-go. >> >> Sharing the wealth.... >> >> I added these to the bottom of /etc/sysctl.conf file. >> >> net.core.rmem_default = 524288 >> net.core.rmem_max = 524288 >> net.core.wmem_default = 524288 >> net.core.wmem_max = 524288 >> net.ipv4.tcp_wmem = 4096 87380 524288 >> net.ipv4.tcp_rmem = 4096 87380 524288 >> net.ipv4.tcp_mem = 524288 524288 524288 >> net.ipv4.tcp_rfc1337 = 1 >> net.ipv4.ip_no_pmtu_disc = 0 >> net.ipv4.tcp_sack = 1 >> net.ipv4.tcp_fack = 1 >> net.ipv4.tcp_window_scaling = 1 >> net.ipv4.tcp_timestamps = 1 >> net.ipv4.tcp_ecn = 0 >> net.ipv4.route.flush = 1 >> >> then restarted it by >> ~$ sudo /sbin/sysctl -p >> >> Voila..... >> >> P >___________________ >Nolug mailing list >nolug@nolug.org >
___________________
Nolug mailing list
nolug@nolug.org
Received on 01/27/11

This archive was generated by hypermail 2.2.0 : 01/28/11 EST