lkml.org 
[lkml]   [2001]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjecttcp stack tuning and Checkpoint FW1 & Legato Networker
Hi,

Can someone point me to a document that describes how to tune the tcp
stack for Linux kernels 2.4.x and 2.2.x

I want to set the tcp_keepalive timer to 60 seconds and understand
possible implications for Linux.

Simply I have a problem with Checkpoint FW1 and Legato Backup:

When making a backup over a Checkpoint FW from Linux using Legato on a
Solaris Server.

When legoto starts to make a backup it opens a tcp connection from the
backup client to the backup server with a standard tcp threeway
handshake. When the backup is completed (this can take a while) the
client sends 1 packet to close the connection and includes in this the
result of the backup - success/failure.

Problem is that checkpoint seem to have taken it upon themseleves to treat
a tcp established session as "tcp_start" and not honour the state unless
the connection has additional packets sent.

the initial period after tcp establishment (3way handshake) with no
payload defaults to 60 seconds. Once data has been sent this connection
is moved to a state table and the connection will be honoured for 3600
seconds or whatever I choose to set it to.

Because of the tcp_start timer in checkpoint any partition with a size
sufficient to make the backup take > 60 secs will fail to receive the
success/failure packet and therefore reported as Bad.

If I set the tcp_keepalive timer to 60 seconds then keepalives will keep
the connection established for the duration of the backup which could be
50 minutes for a large partition. I can set this under solaris with ndd
tcp_keepalive_interval 60000 (ms)

Thanks
Mark


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

\
 
 \ /
  Last update: 2005-03-22 12:56    [W:0.044 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site