From owner-freebsd-net@freebsd.org Thu Jul 21 17:27:27 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB567BA0EBE for ; Thu, 21 Jul 2016 17:27:27 +0000 (UTC) (envelope-from ricera10@gmail.com) Received: from mail-yw0-f176.google.com (mail-yw0-f176.google.com [209.85.161.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 72D4F19CD for ; Thu, 21 Jul 2016 17:27:26 +0000 (UTC) (envelope-from ricera10@gmail.com) Received: by mail-yw0-f176.google.com with SMTP id u134so80322978ywg.3 for ; Thu, 21 Jul 2016 10:27:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=S+Ah1h2oWuG+iPrP4X0V2iBpfBxyobhjeU2LEAjIv+A=; b=EaLdzf5i7SPnu04D3xTVr5SI+VvS5YzfAXI8ijrqlvKNI5o9z2YI+wIjjI3GBkBpK3 /h4SxK8QXSJjkmjf17BrForuhqQal7nKf8Jy6c6W0ZFxT0tADP/6otSkPCo9kTSK1ZuK L4CGPYPuUGXL3qveQhjo/wO7YRIVFTYYrsev4C9TVocGDV9h2/CjFjBO5JK0dNW95A7u c6Eg4sqceVv15qBt7IdIpyZk/RBDHnkssqpDMw0yOtJedaGouyblFcR3MIZRN7sVVFk/ uSTECGzO8ILUR2MwdFuGzww88LQX3io8frxdb10xaJTKTGDnAuEfmNHuQSY4wyNupb1d /itA== X-Gm-Message-State: ALyK8tKhSpT3TeVw2qdcfUPFhzZwt4UM8xaI+6EVf3Jo/Iwy+DhHTkyHNOTFswI9i47YQQ== X-Received: by 10.129.48.144 with SMTP id w138mr33430793yww.204.1469122040142; Thu, 21 Jul 2016 10:27:20 -0700 (PDT) Received: from mail-yw0-f180.google.com (mail-yw0-f180.google.com. [209.85.161.180]) by smtp.gmail.com with ESMTPSA id u187sm3651914ywu.27.2016.07.21.10.27.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jul 2016 10:27:20 -0700 (PDT) Received: by mail-yw0-f180.google.com with SMTP id r9so81131127ywg.0 for ; Thu, 21 Jul 2016 10:27:19 -0700 (PDT) X-Received: by 10.129.77.4 with SMTP id a4mr35769372ywb.67.1469122039719; Thu, 21 Jul 2016 10:27:19 -0700 (PDT) MIME-Version: 1.0 References: <1244557023.708807.1469061382192.JavaMail.zimbra@dunbar.net> In-Reply-To: <1244557023.708807.1469061382192.JavaMail.zimbra@dunbar.net> From: Eric Joyner Date: Thu, 21 Jul 2016 17:27:10 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Slow performance with Intel X540-T2 10Gb NIC To: Chris Dunbar , freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2016 17:27:27 -0000 (Replying-all this time) Did you try to set these settings that ESnet recommends? https://fasterdata.es.net/host-tuning/freebsd/ We don't use iperf3 here at Intel (we use netperf instead), so I'm not sure I can be much help diagnosing what's wrong. On Wed, Jul 20, 2016 at 5:39 PM Chris Dunbar wrote: > Hello, > > I am new to FreeBSD and recently built a file server out of new components > running FreeBSD 10.3. I installed an Intel X540-T2 10 Gb NIC and am > experiencing what I consider to be slow transfer speeds. I am using iperf3 > to measure the speed and test the results of modifications. So far nothing > I have done has made a noticeable difference. If I run iperf3 -s on the > FreeBSD server, I see transfer speeds of approximately 1.6 Gb/s. If I run > iperf3 in client mode, the speed improves to ~2.75 Gb/s. However, if I > replace FreeBSD with CentOS 7 on the same hardware, I see iperf3 speeds > surpassing 8 GB/s. The other end of my iperf3 test is a Windows 10 box that > also has an Intel X540-T2 installed. > > I did notice that FreeBSD 10.3 (and 11.0 alpha 6 for that matter) includes > a slightly older Intel driver (v3.1.13-k). I managed to build a custom > kernel that removed the Intel PRO/10GbE PCIE NIC drivers. That allowed me > to manually load the latest 3.1.14 driver downloaded from Intel's web site. > Unfortunately that did not produce any improvements. I am working my way > through man tuning() and some other articles on network performance. So far > nothing I tweak makes a noticeable difference. I'm increasingly skeptical > that I am going to find a setting or two that more than doubles the speed I > am currently experiencing. > > I am open to any and all suggestions at this point. > > Thank you! > Chris > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >