From owner-freebsd-stable@FreeBSD.ORG Mon Jun 28 04:18:24 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DE39106564A for ; Mon, 28 Jun 2010 04:18:24 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id D6AAB8FC1F for ; Mon, 28 Jun 2010 04:18:23 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAM+/J0yDaFvG/2dsb2JhbACfKnG+IoJSglIE X-IronPort-AV: E=Sophos;i="4.53,494,1272859200"; d="scan'208";a="82085820" Received: from amazon.cs.uoguelph.ca ([131.104.91.198]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 28 Jun 2010 00:18:20 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by amazon.cs.uoguelph.ca (Postfix) with ESMTP id E7A662101B3; Mon, 28 Jun 2010 00:18:22 -0400 (EDT) X-Virus-Scanned: amavisd-new at amazon.cs.uoguelph.ca Received: from amazon.cs.uoguelph.ca ([127.0.0.1]) by localhost (amazon.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nxzDAsnVeYHf; Mon, 28 Jun 2010 00:18:22 -0400 (EDT) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by amazon.cs.uoguelph.ca (Postfix) with ESMTP id 11385210136; Mon, 28 Jun 2010 00:18:22 -0400 (EDT) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id o5S4ZE705399; Mon, 28 Jun 2010 00:35:14 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Mon, 28 Jun 2010 00:35:14 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: "Rick C. Petty" In-Reply-To: <20100628034741.GA45748@kay.kiwi-computer.com> Message-ID: References: <20100627221607.GA31646@kay.kiwi-computer.com> <20100628031401.GA45282@kay.kiwi-computer.com> <20100628034741.GA45748@kay.kiwi-computer.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: Why is NFSv4 so slow? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2010 04:18:24 -0000 On Sun, 27 Jun 2010, Rick C. Petty wrote: > On Sun, Jun 27, 2010 at 08:04:28PM -0400, Rick Macklem wrote: >> >> Weird, I don't see that here. The only thing I can think of is that the >> experimental client/server will try to do I/O at the size of MAXBSIZE >> by default, which might be causing a burst of traffic your net interface >> can't keep up with. (This can be turned down to 32K via the >> rsize=32768,wsize=32768 mount options. I found this necessary to avoid >> abissmal performance on some Macs for the Mac OS X port.) > > I just ran into the speed problem again after remounting. This time > I tried to do a "make buildworld" and make got stuck on [newnfsreq] for > ten minutes, with no other filesystem activity on either client or server. > Being stuck in "newnfsreq" means that it is trying to establish a TCP connection with the server (again smells like some networking issue). > The file system corruption is still pretty bad. I can no longer build any > ports on one machine, because after the port is extracted, the config.sub > files are being filled with all zeros. It took me awhile to track this > down while trying to build devel/libtool22: > Assuming your mounts are not using "soft,intr", I can't explain the corruption. Disabling delegations is the next step. (They aren't required for correct behaviour and are disabled by default because they are the "greenest" part of the implementation.) rick