- 论坛徽章:
- 0
|
参见 http://www.freebsdchina.org/forum/viewtopic.php?p=205988#205988 遇到的问题
Topics in High-Performance Messaging
http://www.29west.com/docs/THPM/udp-buffer-sizing.html
中的内容 书中也只把linux aix solaris freebsd 系统的相应 maxsockbuf 设置到了 8388608 8M。
感觉16M的确太大了 不过有意思的是 提到 AIX 的BUF 只能设置 1M、 4M、 8M, 挺怪的, 不知道是算先进还是落后啊 :)
8.8. Setting Kernel UDP Buffer Limits
The examples in this table give the commands needed to set the kernel UDP buffer limit to 8 MB. Root privilege is required to execute these commands.
Kernel Command
Linux sysctl -w net.core.rmem_max=8388608
Solaris ndd -set /dev/udp udp_max_buf 8388608
FreeBSD, Darwin sysctl -w kern.ipc.maxsockbuf=8388608
AIX no -o sb_max=8388608 (note: AIX only permits sizes of 1048576, 4194304 or 838860
[ 本帖最后由 zmoon 于 2007-10-23 19:24 编辑 ] |
|