Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread John-Mark Gurney
Niu Zhixiong wrote this message on Sun, Aug 10, 2014 at 11:56 +0800: > Actually. In the > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-kernel-limits.html > 12.11.2.2. TCP Bandwidth Delay Product > I saw an option called > net.inet.tcp.inflight.enable > net.inet.tcp.infligh

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread John-Mark Gurney
Niu Zhixiong wrote this message on Sun, Aug 10, 2014 at 11:48 +0800: > I am using Intel I350-T4 NIC. The LRO is closed by default. And by the way, > when I am using KVM-based virtual machine(virtio NIC) do the exactly same > test. The results are same. Have you tried disabling tso? I asked that i

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread Niu Zhixiong
Actually. In the http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-kernel-limits.html 12.11.2.2. TCP Bandwidth Delay Product I saw an option called net.inet.tcp.inflight.enable net.inet.tcp.inflight.debug net.inet.tcp.inflight.min But, in FreeBSD 9.3R and 10R. I cannot find an

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread Niu Zhixiong
I am using Intel I350-T4 NIC. The LRO is closed by default. And by the way, when I am using KVM-based virtual machine(virtio NIC) do the exactly same test. The results are same. ifconfig igb0 igb0: flags=8843 metric 0 mtu 1500 options=403bb ether a0:36:9f:38:27:d0 inet 10.0.10.3 netmask 0xff0

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread Steven Hartland
- Original Message - From: "John-Mark Gurney" Niu Zhixiong wrote this message on Sun, Aug 10, 2014 at 10:50 +0800: I am sorry that I upload a WRONG SCTP capture. But, the throughput is same. SCTP is double than TCP, about 18Mbps. ??? sctp_2.pcapng.gz

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread John-Mark Gurney
Niu Zhixiong wrote this message on Sun, Aug 10, 2014 at 10:50 +0800: > I am sorry that I upload a WRONG SCTP capture. But, the throughput is same. > SCTP is double than TCP, about 18Mbps. > ??? > sctp_2.pcapng.gz > >

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread Niu Zhixiong
I am sorry that I upload a WRONG SCTP capture. But, the throughput is same. SCTP is double than TCP, about 18Mbps. ​ sctp_2.pcapng.gz ​ Regards, Niu Zhixiong --- kaia...@gmail.com On Sun, Aug 10, 2014

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread Niu Zhixiong
I am sure that wnd is about 2MB all the time. This is my latest capture, plz see Google Drive. In the latest test, TCP(0s-120s) is about 9Mbps and SCTP(0s-120s) is about 18Mbps. (The bandwidth(20Mbps) and delay(200ms) is set by dummynet) The SCTP and TCP are tested in same environment. ​ sctp.pca

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread John-Mark Gurney
Niu Zhixiong wrote this message on Sun, Aug 10, 2014 at 10:12 +0800: > During the TCP4 transmission. > Proto Recv-Q Send-Q Local Address Foreign Address(state) > tcp4 0 2097346 10.0.10.2.1350410.0.10.3.9000 > ESTABLISHED Ok, so you are getting a full 2MB in there, an

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread Niu Zhixiong
Hi During the TCP4 transmission. Proto Recv-Q Send-Q Local Address Foreign Address(state) tcp4 0 2097346 10.0.10.2.1350410.0.10.3.9000 ESTABLISHED Regards, Niu Zhixiong --- kaia...@gmail.com On Sun, Aug 10, 2014 at 4:58 AM, Michael Tuexen < michael.t

[Bug 192426] [bpf] [panic]: Kernel panic when using BPF

2014-08-09 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192426 Mark Linimon changed: What|Removed |Added Assignee|freebsd-b...@freebsd.org|freebsd-net@FreeBSD.org

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread Michael Tuexen
On 09 Aug 2014, at 22:45, John-Mark Gurney wrote: > Michael Tuexen wrote this message on Sat, Aug 09, 2014 at 21:51 +0200: >> >> On 09 Aug 2014, at 20:42, John-Mark Gurney wrote: >> >>> Niu Zhixiong wrote this message on Fri, Aug 08, 2014 at 20:34 +0800: Dear all, Last month,

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread Michael Tuexen
On 09 Aug 2014, at 22:22, hiren panchasara wrote: > On Sat, Aug 9, 2014 at 12:51 PM, Michael Tuexen > wrote: >> >> On 09 Aug 2014, at 20:42, John-Mark Gurney wrote: >> >>> Niu Zhixiong wrote this message on Fri, Aug 08, 2014 at 20:34 +0800: Dear all, Last month, I send problem

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread John-Mark Gurney
Michael Tuexen wrote this message on Sat, Aug 09, 2014 at 21:51 +0200: > > On 09 Aug 2014, at 20:42, John-Mark Gurney wrote: > > > Niu Zhixiong wrote this message on Fri, Aug 08, 2014 at 20:34 +0800: > >> Dear all, > >> > >> Last month, I send problems related to FTP/TCP in a high RTT environme

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread hiren panchasara
On Sat, Aug 9, 2014 at 12:51 PM, Michael Tuexen wrote: > > On 09 Aug 2014, at 20:42, John-Mark Gurney wrote: > >> Niu Zhixiong wrote this message on Fri, Aug 08, 2014 at 20:34 +0800: >>> Dear all, >>> >>> Last month, I send problems related to FTP/TCP in a high RTT environment. >>> After that, I

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread Michael Tuexen
On 09 Aug 2014, at 20:42, John-Mark Gurney wrote: > Niu Zhixiong wrote this message on Fri, Aug 08, 2014 at 20:34 +0800: >> Dear all, >> >> Last month, I send problems related to FTP/TCP in a high RTT environment. >> After that, I setup a simulation environment(Dummynet) to test TCP and SCTP >>

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread Michael Tuexen
On 09 Aug 2014, at 11:51, Eggert, Lars wrote: > At 400ms at @ 20Mbps, your are probably receive window limited. Bump > net.inet.tcp.recvspace. (Your net.inet.sctp.recvspace is much larger, which > probably explains the performance difference.) The program he is using is netperfmeter and I think

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread John-Mark Gurney
Niu Zhixiong wrote this message on Fri, Aug 08, 2014 at 20:34 +0800: > Dear all, > > Last month, I send problems related to FTP/TCP in a high RTT environment. > After that, I setup a simulation environment(Dummynet) to test TCP and SCTP > in high delay environment. After finishing the test, I can

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread Eggert, Lars
At 400ms at @ 20Mbps, your are probably receive window limited. Bump net.inet.tcp.recvspace. (Your net.inet.sctp.recvspace is much larger, which probably explains the performance difference.) On 2014-8-8, at 14:34, Niu Zhixiong wrote: > Dear all, > > Last month, I send problems related to FTP