Re: A problem on TCP in High RTT Environment.

2014-08-12 Thread Niu Zhixiong
e/d/0By8sTL79ob4tR0hGWHZFZzFWRUk/edit?usp=drive_web> ​ Regards, Niu Zhixiong --- kaia...@gmail.com On Tue, Aug 12, 2014 at 1:15 AM, John-Mark Gurney wrote: > Niu Zhixiong wrote this message on Sun, Aug 10, 2014 at 20:27 +0800: > > Hi, I am not sure whether my last email

Re: A problem on TCP in High RTT Environment.

2014-08-11 Thread Niu Zhixiong
hw.igb.num_queues=2 speed is 13.1Mbps. and without it the speed is 13.1Mbps. For 60s test at 20Mbps, 10ms delay with hw.igb.num_queues=2 speed is 18.0619Mbps. and without it the speed is 18.12Mbps. Regards, Niu Zhixiong --- kaia...@gmail.com On Mon, Aug 11, 2014 at 7:50 PM, Michael Tuexen

Re: A problem on TCP in High RTT Environment.

2014-08-11 Thread Niu Zhixiong
/0 requests for jumbo clusters delayed (4k/9k/16k) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile Regards, Niu Zhixiong --- kaia...@gmail.com On Mon, Aug 11, 2014 at 3:17 PM

Re: A problem on TCP in High RTT Environment.

2014-08-11 Thread Niu Zhixiong
Thanks for your reminding. I tried hw.igb.num_queues=2 just now. But, the throughput is still slow. And When I tested same things in my Virtual machine-based environment(use Virtio), the throughput is similar(SCTP is 2x than TCP). Regards, Niu Zhixiong --- kaia...@gmail.com On Mon

Re: A problem on TCP in High RTT Environment.

2014-08-10 Thread Niu Zhixiong
s, Niu Zhixiong --- kaia...@gmail.com On Sun, Aug 10, 2014 at 1:24 PM, Niu Zhixiong wrote: > Hi, > After disabled tso, the speed become even poorer. > This is the packets captures. Plz see google drive. > ​ > tcp_with_tso_off.pcapng.gz > <htt

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread Niu Zhixiong
anything related to inflight in sysctl net.inet.tcp. Regards, Niu Zhixiong --- kaia...@gmail.com On Sun, Aug 10, 2014 at 11:48 AM, Niu Zhixiong wrote: > 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(

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread Niu Zhixiong
0xff00 broadcast 10.0.10.255 inet6 fe80::a236:9fff:fe38:27d0%igb0 prefixlen 64 scopeid 0x1 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active Regards, Niu Zhixiong --- kaia...@gmail.com On Sun, Aug 10, 2014 at 11:32 AM, John-Mark Gurney wrote: > Niu Zhixiong wr

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 <https://docs.google.com/file/d/0By8sTL79ob4tMlh4WDlTSndHX0k/edit?usp=drive_web> ​ Regards, Niu Zhixiong --- kaia...@gmail.com On Sun, Aug 10

Re: A problem on TCP in High RTT Environment.

2014-08-09 Thread Niu Zhixiong
. ​ sctp.pcapng.gz <https://docs.google.com/file/d/0By8sTL79ob4tYl9sM2V5a19iNVU/edit?usp=drive_web> ​​ tcp.pcapng.gz <https://docs.google.com/file/d/0By8sTL79ob4tV0NMR1FYLUQ3MWs/edit?usp=drive_web> ​ Regards, Niu Zhixiong --- kaia...@gmail.com On Sun, Aug 10, 2014 at 10:23 A

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

A problem on TCP in High RTT Environment.

2014-08-08 Thread Niu Zhixiong
net.inet.sctp.rttvar_rtt: 5 net.inet.sctp.rttvar_eqret: 0 net.inet.sctp.rttvar_steady_step: 20 net.inet.sctp.use_dcccecn: 1 net.inet.sctp.blackhole: 0 net.inet.sctp.debug: 0 Regards, Niu Zhixiong --- kaia...@gmail.com ___ freebsd-net@freebsd.org

Re: A TCP problem on High Delay

2014-07-20 Thread Niu Zhixiong
net.inet.tcp.maxtcptw: 12963 net.inet.tcp.nolocaltimewait: 0 Regards, Niu Zhixiong --- kaia...@gmail.com On Mon, Jul 21, 2014 at 12:22 AM, bycn82 wrote: > Hi, > Yes, according to your pcap files,it is because of the window size. > more information here http://www.ietf.org/rfc/rfc1323.

A TCP problem on High Delay

2014-07-20 Thread Niu Zhixiong
Dear All, I set up an FTP server in a high delay but fairly BW environment. When I try to download files from this FreeBSD FTP server, A FreeBSD client is always slower than Linux Client. (Linux Client is about 1MB/s, But FreeBSD client 300KB/s). I am sure that the two clients are in same n

Re: A question on modifying packet.

2014-07-09 Thread Niu Zhixiong
Sry, The problem is that I receive the packet from this NIC and send this packet via the same NIC? Does netmap can help me? Regards, Niu Zhixiong --- kaia...@gmail.com On Thu, Jul 10, 2014 at 1:47 AM, Sami Halabi wrote: > use netgraph. > In theory it should work.. in pract

A question on modifying packet.

2014-07-08 Thread Niu Zhixiong
Hi, all I have only one NIC. I want to capture packets from one certain ip address and change the both src and dst addresses and forward to other destination via the same NIC. It is possible? Is there any library to help me do this? Regards, Niu Zhixiong --- kaia...@gmail.com

About TFTP

2014-05-27 Thread Niu Zhixiong
inetd? Thanks in advance. Regards, Niu Zhixiong --- kaia...@gmail.com ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

A problem on SCTP

2014-03-09 Thread Niu Zhixiong
332259025] root@freetest0:~ # uname -a FreeBSD freetest0 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Fri Jan 17 01:46:25 UTC 2014 r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 Could somebody help me? Thank you in advance. Regards, Niu Zhixion