TCP tuning
From: Marc Girod (girod_at_shire.ntc.nokia.com)
Date: 10/27/04
- Next message: Security Alert: "SSRT3622 rev.4 HP-UX Bind v920 Denial of Service (DoS)"
- Previous message: Marcin 'Rambo' Roguski: "Re: WTB/WTG; Unusable HPPA CPU"
- Next in thread: Rick Jones: "Re: TCP tuning"
- Reply: Rick Jones: "Re: TCP tuning"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 27 Oct 2004 10:08:46 GMT
Hello,
We are trying to optimize some host for use as ClearCase shipping
servers. In this job, they are dedicated to receive and forward
packets of variable size over tcp, through firewalls, often too
distant destinations.
We are currently looking at tcp parameters, after noticing in the
output of "netstat -a | grep shipping" that many of our dedicated
ports remain for long in 'TIME_WAIT' state (also 'FIN_WAIT_2' and
maybe others).
We looked more precisely (and modified) at:
# ndd -get /dev/tcp tcp_time_wait_interval
60000
# ndd -set /dev/tcp tcp_time_wait_interval 10000
and noticed also:
tcp_rexmit_interval_initial 1500
tcp_rexmit_interval_max 60000
We found some hints in a k-mine page suggeting that the 'max' value
could be changed too, and that tcp_time_wait_interval should be an
integer multiple of the 'initial' value.
On an other hand, we guessed that:
TJ> After digging deeper into TIME_WAIT issue, it probably has no
TJ> (big) impact in this case. Shipping_server seems to be clever
TJ> enough to mark tcp ports as "reusable", so altough there are many
TJ> ports/connections in TIME_WAIT state, the ports can still be
TJ> reused immediately by new connections.
TJ> For example in the following listing there are many TIME_WAIT's on
TJ> a port "shipping59", but the same port is also in a LISTEN state,
TJ> ready for new connections.
Any insights on these issues?
-- Marc Girod P.O. Box 323 Voice: +358-71 80 25581 Nokia BI 00045 NOKIA Group Mobile: +358-50 38 78415 Valimo 21 / B616 Finland Fax: +358-71 80 64474
- Next message: Security Alert: "SSRT3622 rev.4 HP-UX Bind v920 Denial of Service (DoS)"
- Previous message: Marcin 'Rambo' Roguski: "Re: WTB/WTG; Unusable HPPA CPU"
- Next in thread: Rick Jones: "Re: TCP tuning"
- Reply: Rick Jones: "Re: TCP tuning"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|