This topic describes how to tune the Linux operating system to optimize the performance of your WebSphere Application Server.
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. Because the Linux operating system is not a WebSphere Application Server product, be aware that it can change and results can vary.Step for this task
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
echo 15 > /proc/sys/net/ipv4/tcp_keepalive_intvl
echo 5 > /proc/sys/net/ipv4/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
kernel.shmmax = 2511724800
kernel.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.