From owner-freebsd-net@freebsd.org Thu Jul 21 21:07:17 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 413D2BA0872 for ; Thu, 21 Jul 2016 21:07:17 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-vk0-x22e.google.com (mail-vk0-x22e.google.com [IPv6:2607:f8b0:400c:c05::22e]) (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 ED41E1289 for ; Thu, 21 Jul 2016 21:07:16 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by mail-vk0-x22e.google.com with SMTP id s189so130981877vkh.1 for ; Thu, 21 Jul 2016 14:07:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JAQBn2X1ZcKgduuiTghYh6/KYgXa8+wH1O0TPEDxV8I=; b=HnMu0iMN7o48dEqYuZYSz8GKZc1xGdAnqzUPpTxjoA8rw4k2iOdqLLWRXv3xIPrDXh +5mMsQRIUVkotWRwedOMW9Y5ZAASdNrS1Wo1w6Lu7kL728Mgu3c1Z4bHtmUqy2KT0zfi oJl2fbMLya7TuaWZ0vLdPw+iHqPA1Hq7vZVI6tYYlzgCJGmoFoy4eN57rpsmfN/pKuWs OjBt1Ah0cbKTqIwSNsYkDWxV6TkIOKVSTjDAhiwFo4FposzaQGWnZS4lWa915hiEeGkf DKOi8oiL4TGhYIcnrHx+m53pyb2yyHPHin+ASHlIY+nLPoLUnsI1s0tn/HsCfcregNkW Js9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=JAQBn2X1ZcKgduuiTghYh6/KYgXa8+wH1O0TPEDxV8I=; b=hhj5zyhtam578WWqmJQ3bE3zfS1ZPho++4cHeP4qIdMsUh02XhrB7y5UyiVFZa6L88 6ZRr+Ia+ZhBYNcADCFyZKEqxrY1ZzbSDVwEmiynqKwp9xI6FGExUoNz22jbTcSEc5Id6 QekMQvNLA79SibacjJj+5wJy1QBUvJKQebS3SMKlc7QhJQuYN+iFOSe2C5G5wqrgbPAY TXOxR7DhWCX3yfwTRn0SYXKGwiZeVn1JjrpNSR+hHIhZedXf8kJR3A7dgDh1aLHleNAN vV0X0V6VoZyhnGp8TBmmdhfLPZjSOkHQiEp7c+S2b1pgxKiKZnVETKZisj3TdGwoPv4m C+Cg== X-Gm-Message-State: AEkoousOKPdKOBCxYzpHWcQb7dceshBPqyJrhSDDlgd8boW72WIYhnSDeCdh/y9F7f/uWs+4pll75Loo0g/jcw== X-Received: by 10.159.41.163 with SMTP id s32mr148342uas.149.1469135236149; Thu, 21 Jul 2016 14:07:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.76.132 with HTTP; Thu, 21 Jul 2016 14:07:15 -0700 (PDT) In-Reply-To: <1441424852.712842.1469134420198.JavaMail.zimbra@dunbar.net> References: <1244557023.708807.1469061382192.JavaMail.zimbra@dunbar.net> <1441424852.712842.1469134420198.JavaMail.zimbra@dunbar.net> From: Jack Vogel Date: Thu, 21 Jul 2016 14:07:15 -0700 Message-ID: Subject: Re: Slow performance with Intel X540-T2 10Gb NIC To: Chris Dunbar Cc: freebsd-net 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 21:07:17 -0000 NUMA issues maybe? They have been a problem on some recent system architectures. On Thu, Jul 21, 2016 at 1:53 PM, Chris Dunbar wrote: > Eric, et al: > > I haven't tried netperf yet, but I do have some new information to share. > I have two systems that I am using for testing: the new server and an older > (not too old) desktop PC. I installed CentOS on the new server again > because I know it can achieve >9 GB/s with the X540. I replaced Windows on > the desktop PC with FreeBSD 10.3 (it also has an X540) and ran iperf3 > again. I was able to achieve >9 GB/s so I know the problem isn't the X540 > and I know the problem isn't anything with the default installation of > FreeBSD 10.3. So, what in the world might be nutty in my BIOS settings (or > elsewhere) that would cause the new server + FreeBSD 10.3 + X540 to equal > slow performance? > > Regards, > Chris > > > From: "Eric Joyner" > To: "chris" , "freebsd-net" > Sent: Thursday, July 21, 2016 1:27:10 PM > Subject: Re: Slow performance with Intel X540-T2 10Gb NIC > > (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 < chris@dunbar.net > 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 " > > > > > _______________________________________________ > 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" >