Re: Network Performance?

John Heffner (jheffner@psc.edu)
Tue, 9 Jan 2001 14:29:36 -0500 (EST)


On Tue, 9 Jan 2001, Tim Sailer wrote:

> Here is some more data:
>
> Inbound = 99.66 kB/s
> Outbound= 151 kB/s
>
>
> --------------------------------------------
> ports:/home/ftp# sysctl -a | fgrep net/core
> net/core/optmem_max = 10240
> net/core/message_burst = 50
> net/core/message_cost = 5
> net/core/netdev_max_backlog = 300
> net/core/rmem_default = 32767 <<<<<<<<<
> net/core/wmem_default = 32767 <<<<<<<<<
> net/core/rmem_max = 2097152
> net/core/wmem_max = 2097152
> --------------------------------------------

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.)

-John

-
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/