This topic describes how to tune the Linux operating system to optimize the performance of your WebSphere Application Server. Because the Linux operating system is not WebSphere Application Server product, be aware that it can change and results can vary.
Why and when to perform this task
When you have a performance concern, check the operating system settings to determine if these settings are appropriate for your application.Steps for this task (dependent on configuration)
echo 30 > /proc/sys/net/ipv4/tcp_fin_timeout
echo 3000 > /proc/sys/net/core/netdev_max_backlog echo 3000 > /proc/sys/net/core/somaxconn
cd /proc/sys/net/ipv4 edit tcp_keepalive_intv
edit tcp_keepalive_probes
Some applications require a very large heap for optimal performance. The CPU overhead of managing a large heap can be reduced by using the "large page" support that is provided by the CPU and operating system. The following example assumes a large page size of 4MB and a desired heap size of 2300MB.
vm.nr_hugepages = 575
kernal.shmmax = 2511724800
kernal.shmall = 2511724800
echo "0x10000000" > /proc/self/mapped_base
Result
This tuning procedure improves performance of WebSphere Application Server on the Linux operating system.What to do next
After tuning your operating system for performance, consult other tuning topics for various tuning tips.