From owner-freebsd-net@FreeBSD.ORG Mon Aug 11 07:31:20 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 8699A2AA for ; Mon, 11 Aug 2014 07:31:20 +0000 (UTC) Received: from mail-qg0-x22a.google.com (mail-qg0-x22a.google.com [IPv6:2607:f8b0:400d:c04::22a]) (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 3DCE429D8 for ; Mon, 11 Aug 2014 07:31:20 +0000 (UTC) Received: by mail-qg0-f42.google.com with SMTP id j5so8109562qga.15 for ; Mon, 11 Aug 2014 00:31:19 -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=Emqxi1U+S3jlxmgswSR5DHUHVDj0MuIiYpEBTsdlDh8=; b=LVcMjUwm97ddRLalaBlVWek/4Obs8dTzsWozjDZ3sDR5Y5bQlMMiWs/+ZIqLlSDb2l bgqg04a4jSq+N6bz4tbsT/LjHBcH70K1Xhet+BWZLezHHpDLWrjVlbfA4FdbgTrfXP2I IGvYarQl5lqAFfLNHtLMzU4Nl9TNG6uh08e4yFxd2mg7csiKEy5/9WroAM7dmIKRWT7Z Ni7nrq4SNla1PArtIuaWvmutBWk8aVugbwfdhKIrtrsb/6OuWiMZ6qM2xfPXoM4MQp9M LOQ6bOE++wQaWrI3jLhTK8gcmrrKlgKlpf3XNWZ+nFUoEa4wqKlVO52PBFsbftZ+LUUu rL/w== MIME-Version: 1.0 X-Received: by 10.140.41.38 with SMTP id y35mr44554655qgy.69.1407742279326; Mon, 11 Aug 2014 00:31:19 -0700 (PDT) Received: by 10.224.65.65 with HTTP; Mon, 11 Aug 2014 00:31:19 -0700 (PDT) In-Reply-To: <0CF85443-26AC-4931-9D00-3396C18C7690@lurchi.franken.de> 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> <0CF85443-26AC-4931-9D00-3396C18C7690@lurchi.franken.de> Date: Mon, 11 Aug 2014 15:31:19 +0800 Message-ID: Subject: Re: A problem on TCP in High RTT Environment. From: Niu Zhixiong To: Michael Tuexen Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: "freebsd-net@freebsd.org" , John-Mark Gurney , "Eggert, Lars" , Bill Yuan 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:31:20 -0000 During TCP benchmark. root@Freetest0: # netstat -m 35806/2129/37935 mbufs in use (current/cache/total) 35251/1037/36288/1011638 mbuf clusters in use (current/cache/total/max) 35251/1030 mbuf+clusters out of packet secondary zone in use (current/cache= ) 0/6/6/505818 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/149872 9k jumbo clusters in use (current/cache/total/max) 0/0/0/84303 16k jumbo clusters in use (current/cache/total/max) 79481K/2630K/82111K bytes allocated to network (current/cache/total) 15/18307/31 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters) 0/0/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 During SCTP benchmark 36131/1804/37935 mbufs in use (current/cache/total) 35394/894/36288/1011638 mbuf clusters in use (current/cache/total/max) 35394/887 mbuf+clusters out of packet secondary zone in use (current/cache) 0/6/6/505818 4k (page size) jumbo clusters in use (current/cache/total/max) 0/0/0/149872 9k jumbo clusters in use (current/cache/total/max) 0/0/0/84303 16k jumbo clusters in use (current/cache/total/max) 79950K/2263K/82213K bytes allocated to network (current/cache/total) 15/18307/31 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters) 0/0/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 =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:17 PM, Michael Tuexen < Michael.Tuexen@lurchi.franken.de> wrote: > On 11 Aug 2014, at 09:08, 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. O= n > 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. > Was there any suspicious output provided by netstat -m when the problems > occur? > > Best regards > Michael > > > > Lars > >