"httperf is a tool for measuring web server performance. It provides a flexible facility for generating various HTTP workloads and for measuring server performance."
-
Set open files to 65535 via
ulimit -n -
Recompile
httperfwith/usr/include/bits/typesizes.h's__FD_SETSIZEdialled up to 65535 (( http://gom-jabbar.org/articles/2009/02/04/httperf-and-file-descriptors )) -
Twiddle the TCP stack for faster socket recycling (( http://www.speedguide.net/articles/linux-tweaking-121 )) ((http://serverfault.com/questions/331513/httperf-hangs-when-using-hog)) :
echo 1 > /proc/sys/net/ipv4/tcp_tw_recycle echo 1 > /proc/sys/net/ipv4/tcp_tw_reuse
last updated: