From owner-freebsd-current@freebsd.org Sun Mar 18 08:47:37 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 431AAF66609 for ; Sun, 18 Mar 2018 08:47:37 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CA5B686347 for ; Sun, 18 Mar 2018 08:47:36 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 8B309F66608; Sun, 18 Mar 2018 08:47:36 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63F2CF66607 for ; Sun, 18 Mar 2018 08:47:36 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wr0-x236.google.com (mail-wr0-x236.google.com [IPv6:2a00:1450:400c:c0c::236]) (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 C22A086346 for ; Sun, 18 Mar 2018 08:47:35 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wr0-x236.google.com with SMTP id d10so15594404wrf.3 for ; Sun, 18 Mar 2018 01:47:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:reply-to:mime-version :content-transfer-encoding; bh=K66jFDNhe/X5OFRnocPl6s/RqpWi1JwBSSMN1ywkOHY=; b=OHGgME9cFCJXPTxEoWjFxQsBRFHh9u5oNrFKTGF6U3vnZTNrfQoQmkHdZzJd3igW4y ZDzN5lVHz2gjdECY0KUS4D7NXwDYggr2dXau45MUw6IikukLd+FQH3Zb1I3qQ3tu7wuw fqj6SS0+UF4mnPuaXobADMa6b8g0LqVwiNXtxy3uw8G9VE3UUc3zMNyg9s3k8ngPAyh3 gjAG+rEcQJS3XlLBBzHouenJCtSF7ZY3Nx3VP2jOUHooPS6MVOst9andWTikeZws6nlm 0SgqCW8wi+ZtWb978X2TShccJL5sL6fwgdaaQVjMbdxqEHxv+Yqi09Fb7WpyU3kj4kgU 6PhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:reply-to :mime-version:content-transfer-encoding; bh=K66jFDNhe/X5OFRnocPl6s/RqpWi1JwBSSMN1ywkOHY=; b=my6LJQeXhF8cCs/T21GIRD7IMOSuqezY8Xcez9VGhubQHEcz7g2Bm2XPQ8KG1hdlSg n5ZQd6sHl4dunOy/Z1OHgUpCpkVj75BYPNX5p+iwGr9u4mGMX8113odkBAjxs0BocDM5 OHVOL77oL0mIpX7QSMfraHGm8eqS3JotLHP2T2vJsLLYf6vGkXwOcgsl8LUjGdnFHxE6 vTOLIK9pguNQaFmuYlF+1n9B/03CAAXmuC9cu6eZHj4eJSk0mUKnm2MbElhJxZ/u4TeK NGST93kpheTs+LXQxXOV+qVXQV9zGprI34scvxXYvuotlFk/OWmUpT1L5ppNwpS8iZZr g9cA== X-Gm-Message-State: AElRT7FcyMK4+wLGqkGoEqDspD/A572nGKbcx7X+/8uc/QazD0HFozTt 9du+QdfkDHvZ1a2xtwwK9A64Iw== X-Google-Smtp-Source: AG47ELvXVbwA0htzzAXlT9z4M29BB5guz1gI9uvJMi0BDAZHG+IiGDKjkzG3RGH2gQ9ACWTwOyrbSQ== X-Received: by 10.223.200.2 with SMTP id d2mr5925829wrh.81.1521362853766; Sun, 18 Mar 2018 01:47:33 -0700 (PDT) Received: from ernst.home (p5B02330E.dip0.t-ipconnect.de. [91.2.51.14]) by smtp.gmail.com with ESMTPSA id d48sm4914026wrd.12.2018.03.18.01.47.32 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 18 Mar 2018 01:47:32 -0700 (PDT) Date: Sun, 18 Mar 2018 09:47:31 +0100 From: Gary Jennejohn To: current@freebsd.org Subject: network performance over 1GBps links degraded Message-ID: <20180318094731.52dba55b@ernst.home> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2018 08:47:37 -0000 I have two computers, both with 1Gbps interfaces plugged into a 1Gb switch. One computer is running FreeBSD HEAD and the other some version of Linux. Under FreeBSD I have re0 and under Linux I don't know what the hardware is. Both interfaces are using a MTU of 4088 because that's the maximum my re0 supports. I tend to copy files from one to the other using ftp fairly frequently. I noticed that the transfer speed has dropped to only about 12MBps. I'm used to seeing about 27MBps during the ftp transfers. I also observed the drop in transfer speed between FreeBSD and a Windows 10 computer. Formerly, I was seeing about 30MBps. Windows 10 also has MTU 4088 set. I tested with a FreeBSD kernel from March 7 and one from March 17, but both show the miserable performance. Unfortunately, I don't have any older kernels backed up. I can't say exactly when the performance degraded, but possibly there was some change to the kernel on or before March 7 which caused it. Has anyone else seen this? There were several changes to the networking stack lately. I wonder whether anyone has an idea what could be the cause of the performance degredation, and what sysctls I could set to get the old performance back. -- Gary Jennejohn