Re: TCP packet out-of-order problem

2009-01-06 Thread Lin Jui-Nan Eric
Oops, we surely have kern.ipc.nmbclusters="0" in loader.conf, but I think that should not modify net.inet.tcp.reass.maxsegments to "0" since we wish unlimited nmbclusters but not zero TCP reassembly segments. On Tue, Jan 6, 2009 at 4:16 PM, Robert Watson wrote: > > On Tue, 6 Jan 2009, Lin Jui-Nan

Re: TCP packet out-of-order problem

2009-01-06 Thread Robert Watson
On Tue, 6 Jan 2009, Lin Jui-Nan Eric wrote: I thought that the system auto-tune improperly in this case. Hmm. Do you have a custom setting for kern.ipc.nmbclusters in loader.conf or sysctl.conf? What does kern.ipc.nmbclusters configure itself to on your system? Also, could you send me th

Re: TCP packet out-of-order problem

2009-01-05 Thread Lin Jui-Nan Eric
Hi Robert, I thought that the system auto-tune improperly in this case. On Mon, Jan 5, 2009 at 9:13 PM, Robert Watson wrote: > On Fri, 2 Jan 2009, Lin Jui-Nan Eric wrote: > >> After running "netstat -s -p tcp", we found that lots of packets are >> discarded due to memory problems. We googled for

Re: TCP packet out-of-order problem

2009-01-05 Thread Robert Watson
On Fri, 2 Jan 2009, Lin Jui-Nan Eric wrote: After running "netstat -s -p tcp", we found that lots of packets are discarded due to memory problems. We googled for it, and found that sysctl oid "net.inet.tcp.reass.maxsegments" became 0, therefore packets never reassembled. Then we checked our

Re: TCP packet out-of-order problem

2009-01-01 Thread Lin Jui-Nan Eric
Dear All listers, After running "netstat -s -p tcp", we found that lots of packets are discarded due to memory problems. We googled for it, and found that sysctl oid "net.inet.tcp.reass.maxsegments" became 0, therefore packets never reassembled. Then we checked our /boot/loader.conf and /etc/sysc

Re: TCP packet out-of-order problem

2008-12-31 Thread Lin Jui-Nan Eric
Hello, Yes, it's 1 now. On Wed, Dec 31, 2008 at 6:49 PM, Václav Haisman wrote: > Lin Jui-Nan Eric wrote, On 30.12.2008 21:06: >> Dear listers, >> >> We recently found our new FreeBSD server (located in some foreign >> region) has poor network performance. After doing some tcpdump and >> iperf te

Re: TCP packet out-of-order problem

2008-12-31 Thread Václav Haisman
Lin Jui-Nan Eric wrote, On 30.12.2008 21:06: > Dear listers, > > We recently found our new FreeBSD server (located in some foreign > region) has poor network performance. After doing some tcpdump and > iperf testing, we found that out-of-order TCP packets are not inserted > into queue. > > This i

TCP packet out-of-order problem

2008-12-30 Thread Lin Jui-Nan Eric
Dear listers, We recently found our new FreeBSD server (located in some foreign region) has poor network performance. After doing some tcpdump and iperf testing, we found that out-of-order TCP packets are not inserted into queue. This is an 100Mbps line, and TSO is disabled. % uname -a FreeBSD b