In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>I'd personally suggest just tuning net.inet.tcp.*space to 64k at most.

1.  Depends on your application.  To avoid TCP window size related slowdowns,
    it needs to be at least as large as the bandwidth delay product (multiply
    bandwidth by RTT).

2.  net.inet.tcp.*space affects the _defaults_.  Changing them means that
    you'll use huge amounts of memory even in places where it doesn't matter
    (like ftp control connections).

    Instead, use setsockopt with SO_SNDBUF and SO_RCVBUF where appropriate.

-- 
<a href="http://www.poohsticks.org/drew/";>Home Page</a>
For those who do, no explanation is necessary.  
For those who don't, no explanation is possible.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to