From owner-freebsd-hackers Tue Mar 18 7:45:45 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37AF437B401 for ; Tue, 18 Mar 2003 07:45:44 -0800 (PST) Received: from mail.eecs.harvard.edu (bowser.eecs.harvard.edu [140.247.60.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E48043F93 for ; Tue, 18 Mar 2003 07:45:43 -0800 (PST) (envelope-from ellard@eecs.harvard.edu) Received: by mail.eecs.harvard.edu (Postfix, from userid 465) id 61C0354C4B7; Tue, 18 Mar 2003 10:45:40 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.eecs.harvard.edu (Postfix) with ESMTP id 5F2AC54C4B0; Tue, 18 Mar 2003 10:45:40 -0500 (EST) Date: Tue, 18 Mar 2003 10:45:40 -0500 (EST) From: Daniel Ellard To: John Cc: Hackers List , dwmalone@maths.tcd.ie Subject: Re: NFS performance tuning In-Reply-To: <20030318020201.GA2329@BSDWins.Com> Message-ID: References: <20030318020201.GA2329@BSDWins.Com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The tweaks I've been working on are for read performance. Based on what you sent, I don't think read performance is your problem at all (although they might help you anyway, in the long run). So, my advice might be no more useful than line noise, but here goes: 1. You've got a nfsd taking 48% of an athlon 2200? Wow. If you can profile it to get a look at where it's spending the time, that would be incredibly interesting. I've never seen an nfsd do that. 2. You've got 5 network interfaces, and 2 of them are gigabit, but you're only running 8 nfsds. By rule of thumb, I would add more. This doesn't solve your mystery, however, because it's the master that's eating all the CPU. (Why do the gigabit interfaces see an order of magnitude less traffic than the 100Mb/s?) 3. Are you using TCP or UDP? Any kind of flow control on the switch? I'm interested to hear what other people have to say. -Dan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message