Tuning Linux for Load Runner
Here are the steps I have used in the past to configure some Centos boxes being used as LoadRunner load generators to get better performance when trying to generate a lot of traffic.
Note: these were machines that were only accessible from within a very limited environment, I don’t think these suggestions are good from a security perspective.
1) Increase the available TCP ports used for outbound connections
edit etc/sysctl.conf and add
net.ipv4.ip_local_port_range = 1024 65000
To apply the change immediately:
root@host# sysctl net.ipv4.ip_local_port_range=”1024 65000″
2) Disable IP Tables
use the service and chkconf commands to stop the service and disable it from starting at boot
root@host# service iptables save
root@host# service iptables stop
root@host# chkconfig iptables off
3) Disable Selinux
edit /etc/selinux/config and change the selinux line to be:
SELINUX=disabled
and reboot.
To apply the change immediately, use:
root@host# echo 0 >/selinux/enforce
1) Increase the available TCP ports used for outbound connections
edit etc/sysctl.conf and add
net.ipv4.ip_local_port_range = 1024 65000
To apply the change immediately:
root@host# sysctl net.ipv4.ip_local_port_range=”1024 65000″