From owner-freebsd-net@freebsd.org Mon Aug 15 14:49:24 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 9F256BB93D1 for ; Mon, 15 Aug 2016 14:49:24 +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 2E02115DA for ; Mon, 15 Aug 2016 14:49:24 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x22e.google.com with SMTP id i5so108066086wmg.0 for ; Mon, 15 Aug 2016 07:49:24 -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=bT2xJ/X30FXDi6t/g1wF7v7I5uXhVD5sZrOEGtqOD2M=; b=X1IsKn0a4T4lCNpObqcICoqe1FUBgQd+mbtHwD41fC6xSQ0PLjzVyX3yo5lCkukYC4 r/nsh442ORG0eYE5t7H15A2rzI75gvwpttjpFjs4eK48o6itFYIQ0lpjciImoWv0t6AL 3jvsNVuABpBmOzseUI4vjck0Lc5ekPykYyqfHjxRAMSiGZLOtWEfLhCTQGr0FdPc5y1q KOk9UIl2xX3pVv0BvDqT8+hKroJmeAxChLLyToqCZaBrU9uvUhnT6C6yzUeXkaSCU4h2 zuQUOxaS/QTAhfKor2LtPbQJeabkuS6AGkjV6NA3wpLnSLtY47JNfM73eoAycA1GkTj4 t8Cg== 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=bT2xJ/X30FXDi6t/g1wF7v7I5uXhVD5sZrOEGtqOD2M=; b=OYXE10TxLO6RQTgqqp+vYIw6KzjFGSNJ7XzunfBaAI1evY9pio2ZeVvWjcndEcPmmN b7NfYtI+2CBFXqQNubuvrvXXErtFTrOMspcETl2SFlwj+oJ5L6KuBqTQA7MYxa7gfFlz XyJG8PpW8Nd3gAXAsw8xrCF2f8qPBDaCZ3W4GLbmKL3pKUi2oZ2QxLI8EYZNZ6cY1rHh LAJwQsPZQEBi1bHkza3AI5T1EujEAGmB1HS+lcInbpa9hT6i6wtmzMs9bcrxvY5pGtp7 hNdf0DmJ0jgDTush/vYZFVazCbXhnQOZ7Je2KhWFyvOL8TJekSO7hfq/Nd77iIw3jq35 50rQ== X-Gm-Message-State: AEkoousUW250rhIasSJy14U6qkoAFd2E86v1eQktOaBKDN4fsUWXhIuiqtPEgJyfwUerjA== X-Received: by 10.194.221.232 with SMTP id qh8mr31519130wjc.117.1471272562136; Mon, 15 Aug 2016 07:49:22 -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 x6sm21895647wjk.26.2016.08.15.07.49.21 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Aug 2016 07:49:21 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Unstable local network throughput From: Ben RUBSON In-Reply-To: Date: Mon, 15 Aug 2016 16:49:20 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <91AEB1BD-44EA-43AD-A9A1-6DEBF367DF9B@gmail.com> References: <3C0D892F-2BE8-4650-B9FC-93C8EE0443E1@gmail.com> <3B164B7B-CBFB-4518-B57D-A96EABB71647@gmail.com> <5D6DF8EA-D9AA-4617-8561-2D7E22A738C3@gmail.com> <7DD30CE7-32E6-4D26-91D4-C1D4F2319655@gmail.com> To: FreeBSD Net 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: Mon, 15 Aug 2016 14:49:24 -0000 > On 12 Aug 2016, at 00:52, Adrian Chadd wrote: >=20 > Which ones of these hit the line rate comfortably? So Adrian, I ran tests again using FreeBSD 11-RC1. I put iperf throughput in result files (so that we can classify them), = as well as top -P ALL and pcm-memory.x. iperf results : columns 3&4 are for srv1->srv2, columns 5&6 are for = srv2->srv1 (both flows running at the same time). Results, expected throughput (best first) : 11, 01, 05, 07, 06 Results, bad (best first) : 04, 02, 09, 03 Results, worst (best first) : 10, 08 00) Idle system http://pastebin.com/raw/K1iMVHVF 01) No pinning http://pastebin.com/raw/7J3HibX0 02) numactl -l fixed-domain-rr -m 0 -c 0 http://pastebin.com/raw/Yt7yYr0K 03) numactl -l fixed-domain-rr -m 0 -c 0 + cpuset -l <0-11> -x http://pastebin.com/raw/1FAgDUSU 04) numactl -l fixed-domain-rr -m 0 -c 0 + cpuset -l <12-23> -x http://pastebin.com/raw/fTAxrzBb 05) numactl -l fixed-domain-rr -m 1 -c 1 http://pastebin.com/raw/kuAHzKu2 06) numactl -l fixed-domain-rr -m 1 -c 1 + cpuset -l <0-11> -x http://pastebin.com/raw/tgtaZgwb 07) numactl -l fixed-domain-rr -m 1 -c 1 + cpuset -l <12-23> -x http://pastebin.com/raw/16ReuGFF 08) No pinning, default kernel (no NUMA option) http://pastebin.com/raw/Ah74fKRx 09) default kernel (no NUMA option) + cpuset -l <0-11> + cpuset -l <0-11> -x http://pastebin.com/raw/YE0PxEu8 10) default kernel (no NUMA option) + cpuset -l <12-23> + cpuset -l <12-23> -x http://pastebin.com/raw/RPh8aM49 11) No pinning, default kernel (no NUMA option), NUMA BIOS disabled http://pastebin.com/raw/LyGcLKDd Ben