From owner-freebsd-net@freebsd.org Wed Aug 3 16:57:33 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 D19B5BAE811 for ; Wed, 3 Aug 2016 16:57:33 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::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 65C6D1E8B for ; Wed, 3 Aug 2016 16:57:33 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x22e.google.com with SMTP id f65so455653832wmi.0 for ; Wed, 03 Aug 2016 09:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=BNSdKKh+nEfRACYOTUr9EcrEmfFWi9OcYhB4vODZwho=; b=lkC5q7NMpp9ZbqHAOWdcN8YTL212NDycmTZP+nmhwoAEzwoRrUAxt5Z7ZlourmcvI4 lGYHFBAIZkp5DEuLgh4SBtoOSQ69wOjhB/gPqv6VtLz/bxXv4gdsdTLeEiVJsRrPO/P3 mJKJ54FYomIewOLYicgJ5y8brWLsGtU33zBW5HrG1melfb93IEJtUqys8kfdiUfgdjBW z4OnMUuA7Jukkc+MbfxmMq3tRLyQkcji62EJoKjxLShHTAEH88C3p/CcLFnBakcSKGPM 8iDsdbpko72NQW0K19fnxAOcnKBgJ5QMV6va4PiN2mawN6j1wAnr/b/RskJ44z/wuRz4 PBPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=BNSdKKh+nEfRACYOTUr9EcrEmfFWi9OcYhB4vODZwho=; b=BWpDMMHA1xTjXNDHDMntnXclEA68wGG0iqyXoEnUlZimIRXgnYXZlfv4AT6fR0B6yq gyNyc4Rcl+ZwUZyVKp6o6j1EUOimJ1Kpx/L5NivTCtE92pFWAXRwpaK8AsTBiI88X7Uk VZ5oibK1+lHvCknjL/R7OVm7GYAYTIB9cI6rpBaznR3necjIO3RiZ2lMqON5Y1SgieYL uPkkvYyWKtfY4lekkXm4dFXtaYjZov2cJn12jfKhzb3e87DiBG1dSxo4l+g19w5/AgJ2 LPKUtfcjQv3wzulbMGhE15vt41NAfH8LuXjYcrpPLurRzUssKyhZhO7abwL2DTXsL+aZ cyrg== X-Gm-Message-State: AEkoousUMl6FtsoSFMlvRJx9QIACONtA5n5DIuzIpzsW99ADW+7/zzbQC04Vl0jNqFGeMg== X-Received: by 10.194.81.137 with SMTP id a9mr62610534wjy.106.1470243451430; Wed, 03 Aug 2016 09:57:31 -0700 (PDT) Received: from macbook-air-de-benjamin-1.home (LFbn-1-7077-85.w90-116.abo.wanadoo.fr. [90.116.246.85]) by smtp.gmail.com with ESMTPSA id yz6sm8587043wjb.35.2016.08.03.09.57.29 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 03 Aug 2016 09:57:30 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Unstable local network throughput From: Ben RUBSON In-Reply-To: Date: Wed, 3 Aug 2016 18:57:28 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <465615D0-C1CB-42F0-8964-AFAAB5C05E26@gmail.com> References: <3C0D892F-2BE8-4650-B9FC-93C8EE0443E1@gmail.com> To: freebsd-net@freebsd.org X-Mailer: Apple Mail (2.3124) 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: Wed, 03 Aug 2016 16:57:33 -0000 > On 02 Aug 2016, at 21:35, Hans Petter Selasky wrote: >=20 > The CX-3 driver doesn't bind the worker threads to specific CPU cores = by default, so if your CPU has more than one so-called numa, you'll end = up that the bottle-neck is the high-speed link between the CPU cores and = not the card. A quick and dirty workaround is to "cpuset" iperf and the = interrupt and taskqueue threads to specific CPU cores. Hans Petter, I'm testing "cpuset" and sometimes get better results, I'm still trying = to get the best. I've cpuset iperf & Mellanox interrupts, but what do you mean by = taskqueue threads ? Thank U ! Ben=