Date: Sun, 23 Mar 2008 22:13:53 -0700 From: "Jin Guojun [VFFS]" <j_guojun@lbl.gov> To: Daniel Andersson <engywook@gmail.com> Cc: freebsd-performance@freebsd.org Subject: Re: Tuning: 100mbit faster, gbit slower. Message-ID: <47E73891.8000803@lbl.gov> In-Reply-To: <24adbbc00803231521h78844f26q77c48573f82408b9@mail.gmail.com> References: <24adbbc00803231521h78844f26q77c48573f82408b9@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
You cannot do blind tuning according those numbers. They are for 1-10Gbps pipe. The proper number is "pipe diamter" x "pipe length" = capacity In your case, the maximum number = 100Mbps x "delay from your machine to server" -Jin Daniel Andersson wrote: >Hey! > >I was trying to milk the most out of my 100/100. What I >ended up with was something, to me, quite odd. When I >hadn't done anything I could ftp things from my server >box at 50mb/s and run rtorrent at about 9-10 mb/s at most. >After my "tuning" I can only ftp at a very "choppy" >30-40mb/s, but rtorrent runs at about 11mb/s. >This is what I did: > >kern.ipc.maxsockbuf=16777216 >net.inet.tcp.sendbuf_max=16777216 >net.inet.tcp.recvbuf_max=16777216 > >according to >http://dsd.lbl.gov/TCP-tuning/FreeBSD.html >every other setting there was default >I believe. > >I also set these: > >net.inet.tcp.recvspace: 262144 >net.inet.tcp.sendspace: 262144 > >dmesg: >http://pastebin.org/24780 > >Am I just imagining that rtorrent runs faster? >Can't ftp handle high buffers or did I mess >something up? Is there something else I >could do to make it faster? Setting up >polling perhaps? > >Cheers, >Daniel Andersson > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47E73891.8000803>