Sun Microsystems 820434310 Server User Manual


 
Add thefollowing to /etc/sysctl.conf
# Disables packet forwarding
net.ipv4.ip_forward = 0
# Enables source route verification
net.ipv4.conf.default.rp_filter = 1
# Disables the magic-sysrq key
kernel.sysrq = 0
net.ipv4.ip_local_port_range = 1204 65000
net.core.rmem_max = 262140
net.core.rmem_default = 262140
net.ipv4.tcp_rmem = 4096 131072 262140
net.ipv4.tcp_wmem = 4096 131072 262140
net.ipv4.tcp_sack = 0
net.ipv4.tcp_timestamps = 0
net.ipv4.tcp_window_scaling = 0
net.ipv4.tcp_keepalive_time = 60000
net.ipv4.tcp_keepalive_intvl = 15000
net.ipv4.tcp_fin_timeout = 30
Add thefollowing as the lastentry in /etc/rc.local
sysctl -p /etc/sysctl.conf
Reboot the system.
Use thiscommand to increasethe size of the transmit buer:
tcp_recv_hiwat ndd /dev/tcp 8129 32768
Tuning UltraSPARC® T1–Based Systems
Use a combination of tunable parameters and other parameters to tune UltraSPARC T1–based
systems. These values are an example of how you might tune your system to achieve the desired
result.
Tuning Operating System and TCP Settings
The following table shows the operating system tuning for Solaris 10 used when benchmarking
for performance and scalability on UtraSPARC T1–based systems (64 bit systems).
2
3
4
5
TuningUltraSPARC®T1–BasedSystems
Chapter5 • Tuningthe OperatingSystemand Platform 103