From owner-freebsd-net@FreeBSD.ORG Mon Feb 10 23:30:21 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8B28C87C for ; Mon, 10 Feb 2014 23:30:21 +0000 (UTC) Received: from mail-in-09.arcor-online.net (mail-in-09.arcor-online.net [151.189.21.49]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3EEAA15ED for ; Mon, 10 Feb 2014 23:30:21 +0000 (UTC) Received: from mail-in-05-z2.arcor-online.net (mail-in-05-z2.arcor-online.net [151.189.8.17]) by mx.arcor.de (Postfix) with ESMTP id 2019F197AE3; Tue, 11 Feb 2014 00:30:02 +0100 (CET) Received: from mail-in-08.arcor-online.net (mail-in-08.arcor-online.net [151.189.21.48]) by mail-in-05-z2.arcor-online.net (Postfix) with ESMTP id 080DA6F2503; Tue, 11 Feb 2014 00:30:03 +0100 (CET) X-Greylist: Passed host: 188.105.84.234 X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-08.arcor-online.net D0ED43AF011 X-Greylist: Passed host: 188.105.84.234 Received: from lorvorc.mips.inka.de (dslb-188-105-084-234.pools.arcor-ip.net [188.105.84.234]) by mail-in-08.arcor-online.net (Postfix) with ESMTPS id D0ED43AF011; Tue, 11 Feb 2014 00:30:02 +0100 (CET) Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.14.7/8.14.7) with ESMTP id s1ANU2ij002116; Tue, 11 Feb 2014 00:30:02 +0100 (CET) (envelope-from naddy@lorvorc.mips.inka.de) Received: (from naddy@localhost) by lorvorc.mips.inka.de (8.14.7/8.14.7/Submit) id s1ANU2Xi002115; Tue, 11 Feb 2014 00:30:02 +0100 (CET) (envelope-from naddy) Date: Tue, 11 Feb 2014 00:30:02 +0100 From: Christian Weisgerber To: Rick Macklem Subject: Re: Terrible NFS performance under 9.2-RELEASE? Message-ID: <20140210233002.GA2103@lorvorc.mips.inka.de> References: <2059385169.3089582.1391993655512.JavaMail.root@uoguelph.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2059385169.3089582.1391993655512.JavaMail.root@uoguelph.ca> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.17 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, 10 Feb 2014 23:30:21 -0000 Rick Macklem: > > When I switched my desktop box from FreeBSD 7 to 9, NFS read > > performance from my media server (running OpenBSD) became extremely > > poor. I couldn't even stream a movie any longer. Disabling TSO > > on the nfe(4) interface had no effect. My workaround was to switch > > from a TCP mount to a UDP one. The problem has persisted to FreeBSD > > 10. > > > > I can now report that switching to [rw]size=32768 with a TCP mount > > also works fine. > > > If it is convenient, trying a 64K TCP mount with a kernel that has the > attached patch (which makes it use page size clusters and reduces the > # of segments to 18) to see if it works well, would be interesting. No, this works very poorly. -- Christian "naddy" Weisgerber naddy@mips.inka.de