From owner-freebsd-net@FreeBSD.ORG Mon Feb 10 23:41:11 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 472F6DCA for ; Mon, 10 Feb 2014 23:41:11 +0000 (UTC) Received: from mail-pa0-x22a.google.com (mail-pa0-x22a.google.com [IPv6:2607:f8b0:400e:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 183F1174F for ; Mon, 10 Feb 2014 23:41:11 +0000 (UTC) Received: by mail-pa0-f42.google.com with SMTP id kl14so6929170pab.1 for ; Mon, 10 Feb 2014 15:41:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=XjQ30aJHnQyukg/J95giCTYOdW8bch5SRY7DR2Pz/ts=; b=GszR7q7JVaxe6kicfEiz/BKwvUozCzFM+m1PnqxZOfZoYzaQ3fINknxJI7nBLzuWia bMuFDEycHu2J+EfkqMWbhKSrl4duuAXhU3V4oSz1Rkqgd+sRKjrqywsPnNo31nHLxZ/s fI58dcjiZbfFOA+lLcV8Fz25CEj5UJo+miI8ZInTFUYn5uT9rGz0L11lzn9APBeQRIG7 9NNZxRTwyXMIAvp2wAtvkYK4bvIXK+8BRuY/8E8bdpU/9r9agkiHJKkCEElW6qFg6MQf YiaYk4G0HmID4Gz5VUYJAJqxr96TAFvWXrvZjqsHAc9NA9pNpYF9KEqilY9x4xsqCd/r wREQ== X-Received: by 10.66.119.172 with SMTP id kv12mr28715058pab.34.1392075670743; Mon, 10 Feb 2014 15:41:10 -0800 (PST) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id zc6sm121598029pab.18.2014.02.10.15.41.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Feb 2014 15:41:08 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: Terrible NFS performance under 9.2-RELEASE? From: aurfalien In-Reply-To: <20140210233002.GA2103@lorvorc.mips.inka.de> Date: Mon, 10 Feb 2014 15:41:05 -0800 Content-Transfer-Encoding: 7bit Message-Id: <77B2BE60-DB3C-4349-B105-6DA1CB2342CA@gmail.com> References: <2059385169.3089582.1391993655512.JavaMail.root@uoguelph.ca> <20140210233002.GA2103@lorvorc.mips.inka.de> To: Christian Weisgerber X-Mailer: Apple Mail (2.1827) Cc: freebsd-net@freebsd.org, Rick Macklem 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:41:11 -0000 On Feb 10, 2014, at 3:30 PM, Christian Weisgerber wrote: > 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. So basically either; TCP w/32K r/w or UDP Correct? - aurf "Janitorial Services"