send buffer size?

#1
What's a good send buffer size if serve multimedia files ranging from 100-300MB? And how to find out the default OS send and receive buffer size?
I noticed high loads when serving these multimedia files for the first time today. And iowait is very high.


free -m
total used free shared buffers cached
Mem: 3041 2921 120 0 31 2467
-/+ buffers/cache: 421 2619
Swap: 2047 0 2047
 
Last edited:

mistwang

LiteSpeed Staff
#2
You can set send buffer to the maximum value "65535". You may be able to find out the default in Linux /proc system somewhere, google it.
 
#3
My default OS send and receive buffer size is 16777216. However, the web console says 65,535 is the max. Which value will it use if the default is bigger than that? How come it's only 65,535 max?
 
Top