Re: Network Performance?

From: Pekka Pietikainen (pp@evil.netppl.fi)
Date: Thu Jan 11 2001 - 05:00:48 EST


On Tue, Jan 09, 2001 at 03:56:11PM -0500, Tim Sailer wrote:
> > The defaults must be large unless your application calls setsockopt() to
> > set the buffers itself. (Some FTP clients and servers can do this, but
> > for testing, your're still probably better always having the _max's and
> > _default's the same.)
>
> Hm.. OK. I think we tried that, but I'll check again.
And make sure your ftp client/server isn't resetting it to something small
afterwards. For testing this, I'd use a real IP benchmarking program
like iperf/netperf/ttcp, as they'll let you test different buffer sizes
easily (and in the case of iperf tell you what you're actually using
if you hit the limit) For a fast WAN you want something like
512k-1M buffers easily.

-- 
Pekka Pietikainen

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 15 2001 - 21:00:29 EST