
how-to block ads
|
|
Share Topic  |
 |
|
|
|
 SteveI know your IP addressConsultant join:2001-03-10 Yorba Linda, CA kudos:5 | reply to shdesigns
Re: maximum number of open sockets, files, threads, etc..? said by shdesigns: Each socket may gave 256k TX and RX buffers (seems to be default minimum) with file descriptors allocated also. Can TX and RX buffer sizes be tuned separately? I would think that for web-type service, maxing out the TX buffer and minimizing the RX buffer would make a big diff in scaling.
If they can't be, then this smells like a great optimization to add to the kernel.
Steve -- Stephen J. Friedl | Unix Wizard | Microsoft Security MVP | Tustin, California USA | my web site | | |
|  shdesignsPowered By Infinite Improbabilty DrivePremium join:2000-12-01 Stone Mountain, GA 1 edit | said by Steve:Can TX and RX buffer sizes be tuned separately? I would think that for web-type service, maxing out the TX buffer and minimizing the RX buffer would make a big diff in scaling. If they can't be, then this smells like a great optimization to add to the kernel. Steve /proc/sys/net/ipv4:
tcp_rmem - 4096 87380 16777216 tcp_wmem - 4096 87380 16777216 tcp_mem - 98304 131072 196608
I think those are min/default/max
edit: I bet Apache opens sockets with its own settings. -- Scott Henion
Embedded Systems Consultant, shenion on #ATU @irc.freenode.net SHDesigns home | |
|