From owner-freebsd-net@FreeBSD.ORG Mon Jan 27 03:23:50 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 05458AF5 for ; Mon, 27 Jan 2014 03:23:50 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D27B4187B for ; Mon, 27 Jan 2014 03:23:49 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id s0R3NcFh047099 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 26 Jan 2014 19:23:39 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id s0R3Nct6047098; Sun, 26 Jan 2014 19:23:38 -0800 (PST) (envelope-from jmg) Date: Sun, 26 Jan 2014 19:23:38 -0800 From: John-Mark Gurney To: Rick Macklem Subject: Re: Terrible NFS performance under 9.2-RELEASE? Message-ID: <20140127032338.GP13704@funkthat.com> Mail-Followup-To: Rick Macklem , Adam McDougall , freebsd-net@freebsd.org References: <52DC1241.7010004@egr.msu.edu> <1629593139.16590858.1390789014324.JavaMail.root@uoguelph.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1629593139.16590858.1390789014324.JavaMail.root@uoguelph.ca> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Sun, 26 Jan 2014 19:23:39 -0800 (PST) Cc: freebsd-net@freebsd.org, Adam McDougall 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, 27 Jan 2014 03:23:50 -0000 Rick Macklem wrote this message on Sun, Jan 26, 2014 at 21:16 -0500: > Btw, thanks go to Garrett Wollman for suggesting the change to MJUMPAGESIZE > clusters. > > rick > ps: If the attachment doesn't make it through and you want the patch, just > email me and I'll send you a copy. The patch looks good, but we probably shouldn't change _readlink.. The chances of a link being >2k are pretty slim, and the chances of the link being >32k are even smaller... In fact, we might want to switch _readlink to MGET (could be conditional upon cnt) so that if it fits in an mbuf we don't allocate a cluster for it... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."