From owner-freebsd-net@FreeBSD.ORG Mon Aug 11 07:32:03 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 542AB340 for ; Mon, 11 Aug 2014 07:32:03 +0000 (UTC) Received: from mail-qc0-x22e.google.com (mail-qc0-x22e.google.com [IPv6:2607:f8b0:400d:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0C43B2A6C for ; Mon, 11 Aug 2014 07:32:02 +0000 (UTC) Received: by mail-qc0-f174.google.com with SMTP id l6so1276959qcy.19 for ; Mon, 11 Aug 2014 00:32:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dVyiNqOPXmvK5L5n1Bfbz+0QWpl7Zn2CeASi9k5vefM=; b=jCr2yiCccO6mpdI07cGy6lw1H0NcsVmSrBxSC1IZlyv2nGhWzZc+8n/gKNybjOGRiD dJH4nCKDxiKAH4r0a1PjmtM7XfT/X2tCrIof9GoDwuK+liwE/svJmPvGPUmE3EUm5ATv VF5ERABQQBNdUA9IH35K+CAKvv7oZWpiatDG69ZQfUbCmpgzCgYvO/csulhqzE5WiNyt CnrwW9AwxDD1BeAiXEU4vBs4XXA/zuxwafSr2Fb/f1HxnF5PDcJ04eflltbVYMXeOw3+ ScyoxqQzLyF5xxsqgQrhLnB/qwusXKqDv7om7tk7ACxtxnXIuZrdafb1pkgxwBcNEU2c JjiQ== MIME-Version: 1.0 X-Received: by 10.229.137.131 with SMTP id w3mr60120853qct.23.1407742322120; Mon, 11 Aug 2014 00:32:02 -0700 (PDT) Received: by 10.224.65.65 with HTTP; Mon, 11 Aug 2014 00:32:01 -0700 (PDT) In-Reply-To: <17A804F3-BEA6-46F4-887F-B68750618FD9@netapp.com> References: <20140809184232.GF83475@funkthat.com> <8AE1AC56-D52F-4F13-AAA3-BB96042B37DD@lurchi.franken.de> <20140809204500.GG83475@funkthat.com> <3F6BC212-4223-4AAC-8668-A27075DC55C2@lurchi.franken.de> <20140810022350.GI83475@funkthat.com> <20140810033212.GL83475@funkthat.com> <17A804F3-BEA6-46F4-887F-B68750618FD9@netapp.com> Date: Mon, 11 Aug 2014 15:32:01 +0800 Message-ID: Subject: Re: A problem on TCP in High RTT Environment. From: Niu Zhixiong To: "Eggert, Lars" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: Michael Tuexen , John-Mark Gurney , Bill Yuan , "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2014 07:32:03 -0000 Thanks for your reminding. I tried hw.igb.num_queues=3D2 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 =EF=BC=8D=EF=BC=8D=EF=BC=8D=EF=BC=8D=EF=BC=8D=EF=BC=8D=EF=BC=8D=EF=BC=8D=EF= =BC=8D=EF=BC=8D=EF=BC=8D=EF=BC=8D=EF=BC=8D=EF=BC=8D=EF=BC=8D kaiaixi@gmail.com On Mon, Aug 11, 2014 at 3:08 PM, Eggert, Lars wrote: > Hi, > > On 2014-8-10, at 5:48, Niu Zhixiong wrote: > > I am using Intel I350-T4 NIC. > > igb driver? > > I've been having weird issues with this driver under 10-RELEASE, too. On > one machine, I had to limit hw.igb.num_queues=3D2 in order to get any sor= t of > useful connectivity. On another machine, I had to severely bump > kern.ipc.nmbclusters & friends. I'm not sure this is the issue here, sinc= e > SCTP seems to be working OK, but I'm not trusting igb NICs at the moment. > > Lars >