I'm certain someone will correct me if I'm wrong, but the current setting is optimized for low latency networks, like LANs, and reduces kernel memory consumption. Also, your use of a value of a million, is overly high and might lead to problems--experiment and use the lowest value that meets your needs. For more information, google for bandwidth delay product.
Bachman Kharazmi wrote: > By the way, when I now have a proper download speed, I have to ask why > the default vaule of "net.inet.tcp.recvspace" is set so low? > I have a 100MBit inet connection so it was little confusing with my > earlier bandwidth limitation. > /bkw > > On 18/02/06, Bachman Kharazmi <[EMAIL PROTECTED]> wrote: > > bw_test_512MB: ETA: 1:08 101.21/512.00 MB > > 6.03 MB/s > > > > I increased the value to 100000 > > thanks > > /bkw > > On 18/02/06, Melameth, Daniel D. <[EMAIL PROTECTED]> wrote: > > > Bachman Kharazmi wrote: > > > > I'm running obsd 3.8 release on my gateway. Two xl nics are > > > > installed. The GW does NAT which works very well, > > > > All downloads from internet=>hosts behind the gw with local IPs > > > > goes really fast. But from internet to the GW's harddisk is > > > > ~20% of what the LAN hosts speed are through the GW. > > > > > > > > I know the harddrive on the gw isn't the bottleneck. > > > > > > > > Are there anything else I should check? > > > > > > You don't really define what slow is, but you might want to try > > > increasing net.inet.tcp.recvspace to start.