Skip to contentSkip to conversation

Performance tuning w/kernel SYSCTL options

DISCUSSION Jeff Bonner 2 participants 2 messages Jun 5, 2002

lore
Share & tools
lore
#0 lore raw

I have the following in my iptables script, but commented out for now because I'm not sure if they're necessary or useful:

# echo 30  > /proc/sys/net/ipv4/tcp_fin_timeout         # Reduce dead
sockets?
# echo 180 > /proc/sys/net/ipv4/tcp_keepalive_intvl     # Is this even
needed?

I've read some of the documentation on these (and many other SYSCTL items), but honestly, some is above my head. What might be the appropriate values, if any, to use for a 1.5Mbps down/128Kbps up cablemodem connection, on a 486/66 with Debian Woody, serving 3 NAT/masq'd machines?

Thanks in advance,

Jeff Bonner

#1 lore raw

I'd suggest you to read:

TCP/IP Illustrated, Volume 1: The Protocols, Addison-Wesley, 1994, ISBN 0-201-63346-9

There's no clear-cut answer to the questions below. It's always a trade-off and most of the time the default values are the best but for your situation there are lots of factors that can be determinant other than the information you provided.

Go for this book. You'll enjoy reading it.

God Bless Ricard.

Ramin

Quoted 17 lines · Jeff Bonner

I have the following in my iptables script, but commented out for now because I'm not sure if they're necessary or useful:

# echo 30  > /proc/sys/net/ipv4/tcp_fin_timeout         # Reduce dead
sockets?
# echo 180 > /proc/sys/net/ipv4/tcp_keepalive_intvl     # Is this even
needed?

I've read some of the documentation on these (and many other SYSCTL items), but honestly, some is above my head. What might be the appropriate values, if any, to use for a 1.5Mbps down/128Kbps up cablemodem connection, on a 486/66 with Debian Woody, serving 3 NAT/masq'd machines?

Thanks in advance,

Jeff Bonner