+--server-tuning
| +--dd
| +--fdtree
| +--fs
| +--loader
| +--memcached
| +--metadata
| +--network
| +--perflog
| | +--cron-perflog
| | +--sample-output
| +--postgres
| +--postmark
| +--raid
| +--ram
| +--scaling
| +--swap
| Network tuning
==> 2006-tuning <==
http://www.psc.edu/networking/projects/tcptune/
Enabling High Performance Data Transfers
Thu, 30 Nov 2006
Tuning TCP for Linux 2.4 and 2.6
NB: Recent versions of Linux (version 2.6.17 and later) have full autotuning
with 4 MB maximum buffer sizes. Except in some rare cases, manual tuning
is unlikely to substantially improve the performance of these kernels over
most network paths, and is not generally recommended
==> 2010-tuning <==
http://www.performancewiki.com/linux-tuning.html
To view current TCP settings, run command:
root# sysctl net.ipv4.tcp_keepalive_time
net.ipv4.tcp_keepalive_time = 7200 // 2 hours
where net.ipv4.tcp_keepalive_time is a TCP tuning parameter.
To set a TCP parameter to a value, run command:
root# sysctl -w net.ipv4.tcp_keepalive_time=1800
==> sysctl.conf <==
# Kernel sysctl configuration file for Red Hat Linux
#
# $Revision: 1.1 $ $Date: 2009/09/21 20:58:16 $
# $Source: /doc/sitelog/cmswbk005/config/RCS/sysctl.conf,v $
# $Host: bsd118.region2.wpafb.af.mil $
# $UUID: b3ac7f53-4d14-3331-8fcb-120d6a009ad2 $
#
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
# sysctl.conf(5) for more details.
|