From owner-freebsd-hackers Sun Nov 1 10:53:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA16503 for freebsd-hackers-outgoing; Sun, 1 Nov 1998 10:53:54 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from lamb.sas.com (lamb.sas.com [192.35.83.8]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA16497 for ; Sun, 1 Nov 1998 10:53:52 -0800 (PST) (envelope-from jwd@unx.sas.com) Received: from mozart (mozart.unx.sas.com [192.58.184.8]) by lamb.sas.com (8.9.1/8.9.1) with SMTP id NAA14143; Sun, 1 Nov 1998 13:53:46 -0500 (EST) Received: from bb01f39.unx.sas.com by mozart (5.65c/SAS/Domains/5-6-90) id AA22438; Sun, 1 Nov 1998 13:53:46 -0500 Received: (from jwd@localhost) by bb01f39.unx.sas.com (8.9.1/8.9.1) id NAA15179; Sun, 1 Nov 1998 13:53:46 -0500 (EST) (envelope-from jwd) From: "John W. DeBoskey" Message-Id: <199811011853.NAA15179@bb01f39.unx.sas.com> Subject: Re: nfs/amd hangs / getattr request flood problem In-Reply-To: From David G Andersen at "Oct 30, 98 03:37:02 pm" To: danderse@cs.utah.edu (David G Andersen) Date: Sun, 1 Nov 1998 13:53:46 -0500 (EST) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I've sent mail to -current a few times... Try the following change on your FreeBSD client machine(s): /usr/src/sys/nfs/nfs_vnops.c: 273c273 < int v3 = NFS_ISV3(vp); --- > int v3 = 0; /* NFS_ISV3(vp); */ ie: Turn off the 'access' portion of the v3 protocol. I have a build farm of about 50 266Mhz machines talking to Network Appliance fileservers. Without the above change, the network is swamped... Good Luck! John > We're in the process of configuring some new machines (for personal and > distributed build farm use), and we're seeing some atrocities with amd. > The machines are running 3.0-RELEASE (plus the last few days of checked in > fixes). They receive AMD maps via NIS and a static map, but disabling NIS > doesn't affect things. We've made significant tweaks to the rest of the > system configuration (disabling nis, mfs, slowing things down, etc) and > tried it on multiple systems, and the problem keeps popping up. This > behavior isn't exhibited in 2.2.x. > > We have AMD looking at /n/{machine}/path, with the actual mounts on > /a/{machine}. When compiling with a source tree on /n/machine/path and an > object tree on local /z, AMD can use up to 50% of the processor. Ktrace > and tcpdump output shows that it's handling around 150 getattr requests > per second, on "/n" and "/n/machine", and the ktrace indicates that that's > the _only_ thing it's doing. > > The result of this is some serious slowdowns, and reproducible system > freezes (kernel alive and pingable, no userland activity whatsoever). > Unfortunately, we don't have a simple way of reproducing the hangs yet - > it happens while running the Linux suse Matrox Xserver and the FreeBSD > netscape (entering, then leaving, and then re-entering Netscape frequently > triggers the hang). > > There don't seem to be any references to this in gnats or on the lists. > We're working on forward-porting the 2.2.x amd to 3.0 to see if the > behavior still exists, but in the meantime, if anyone has suggestions / > thoughts / knows what's wrong and wants to clue me in, it'd be greatly > appreciated. :) > > -Dave > > - -- > work: danderse@cs.utah.edu me: angio@pobox.com > University of Utah http://www.angio.net/ > Department of Computer Science > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > > ------------------------------ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message