From owner-freebsd-net@FreeBSD.ORG Sun Jan 26 03:13:17 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 8AD51B4D; Sun, 26 Jan 2014 03:13:17 +0000 (UTC) Received: from hergotha.csail.mit.edu (wollman-1-pt.tunnel.tserv4.nyc4.ipv6.he.net [IPv6:2001:470:1f06:ccb::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 452041188; Sun, 26 Jan 2014 03:13:17 +0000 (UTC) Received: from hergotha.csail.mit.edu (localhost [127.0.0.1]) by hergotha.csail.mit.edu (8.14.7/8.14.7) with ESMTP id s0Q3DFEw045684; Sat, 25 Jan 2014 22:13:15 -0500 (EST) (envelope-from wollman@hergotha.csail.mit.edu) Received: (from wollman@localhost) by hergotha.csail.mit.edu (8.14.7/8.14.4/Submit) id s0Q3DFYt045681; Sat, 25 Jan 2014 22:13:15 -0500 (EST) (envelope-from wollman) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <21220.32074.958702.595502@hergotha.csail.mit.edu> Date: Sat, 25 Jan 2014 22:13:14 -0500 From: Garrett Wollman To: Rick Macklem Subject: Re: Terrible NFS performance under 9.2-RELEASE? In-Reply-To: <188195924.16327973.1390703786000.JavaMail.root@uoguelph.ca> References: <201401260225.s0Q2PUp1045129@hergotha.csail.mit.edu> <188195924.16327973.1390703786000.JavaMail.root@uoguelph.ca> X-Mailer: VM 7.17 under 21.4 (patch 22) "Instant Classic" XEmacs Lucid X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (hergotha.csail.mit.edu [127.0.0.1]); Sat, 25 Jan 2014 22:13:15 -0500 (EST) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=disabled version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hergotha.csail.mit.edu Cc: freebsd-fs@freebsd.org, 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: Sun, 26 Jan 2014 03:13:17 -0000 < said: > Have you tried increasing readahead by any chance? I think the default > is 1, which means the client will make 2 read requests and then wait for > those replies before doing any more reads. Since you have fast links, > maybe the 2 * 64K reads isn't enough to keep the pipe filled? (This > depends on latency, which you didn't mention.) -o readahead=4 nearly doubles the speed, to a bit over 5 Gbit/s. Oddly, when I unmount the filesystem, the test client sometimes freezes for 15-30 seconds. Since I'm not on the console I can't tell what it's doing when this happens. -GAWollman