lkml.org 
[lkml]   [2001]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Network Performance?
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/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.062 / U:4.472 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site