Tuning Ultrasparc T1-Based Systems; Tuning Operating System And Tcp Settings - Sun Microsystems Sun GlassFish Enterprise Server 2.1 Tuning Manual

Performance tuning guide
Hide thumbs Also See for Sun GlassFish Enterprise Server 2.1:
Table of Contents

Advertisement

Add the following to /etc/sysctl.conf
2
# 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 the following as the last entry in /etc/rc.local
3
sysctl -p /etc/sysctl.conf
Reboot the system.
4
Use this command to increase the size of the transmit buffer:
5
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).
Chapter 5 • Tuning the Operating System and Platform
Tuning UltraSPARC® T1–Based Systems
103

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Sun GlassFish Enterprise Server 2.1 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents