Linux – need for tcp fine-tuning on heavily used proxy server

linuxperformance

I am using squid like Internet proxy server on RHEL 4 update 6 & 8 with quite heavy load i.e. 8k established connections during peak hour. Without depending much on application provider's expertise I want to achieve maximum o/p from linux. W.r.t. that I have certain questions as following:

  1. How to find out if there is scope for further tcp fine-tuning (without exhausting available resources) as the benchmark values given by vendor looks poor! Is there any parameter value that is available from OS / network stack that will show me the results.
  2. If at all there is scope, how shall I identify & configure OS tcp stack parameters i.e. using sysctl or any specific parameter
  3. Post tuning how shall I clearly measure performance enhancement / degradation ?

Best Answer

The sysctl values listed in the page below are similar to other places I remember reading that cover solving C10k or C100k problems:

http://www.metabrew.com/article/a-million-user-comet-application-with-mochiweb-part-1

(search for "Tuning the Linux Kernel" on the page)