From owner-freebsd-questions Tue Nov 5 12:56:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F09B37B401 for ; Tue, 5 Nov 2002 12:56:08 -0800 (PST) Received: from bunsen.solidcore.dk (bunsen.solidcore.dk [217.116.225.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D14B43E42 for ; Tue, 5 Nov 2002 12:56:07 -0800 (PST) (envelope-from laursen@netgroup.dk) Received: from animal (port390.ds1-noe.adsl.cybercity.dk [217.157.177.19]) (AUTH: LOGIN laursen@solidcore.dk) by bunsen.solidcore.dk with esmtp; Tue, 05 Nov 2002 21:55:59 +0100 Message-ID: <19b401c2850d$b95e28a0$6501a8c0@animal> From: "Lasse Laursen" To: "BigBrother" , questions@FreeBSD.ORG References: <20021105212927.J69960-100000@bigb3server.bbcluster.gr> Subject: Re: NFS Performance woes Date: Tue, 5 Nov 2002 21:53:38 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, Thanks for your reply. I have some additional questions: > Well the only rule for selecting the number of nfsiods and nfsd is the > maximum number of threads that are going to request an NFS operation on > the server. For example assume that your web server has a typical number > of httpd dameons of 50, that means that every httpd can access files on > the server, and in the worst case both 50 httpd will request > simultaneoulsy different NFS operations. This means that you should have > at least 50 NFSIOD (on the client+server) and 50 NFSD running (on the > server). A read operation (typical operation for all the clients) does not alter any data? So does every read request require a nfsd? Lets assume a worst case scenario where 50 http servers access 50 different files - would I need 50 NFS daemons to run on the server to obtain maximum performance then? > Remember that NFSIOD must run both on CLIENT and SERVER. (Taken from the man page pf nfsiod) Nfsiod runs on an NFS client machine to service asynchronous I/O requests to its server. It improves performance but is not required for correct operation. Why should I start the nfsiod daemon on the server? > Of course you cannot optimize the NFS system in one day...it needs a lot > of time to take measurements and check from time to time if you have > enough NFSIOD or NFSD, because system load distribution tend may change > and you may see that more or less NFS processes have to exist.. Yep - At the moment one nfsd idles - I will monitor the number of processes and try to change the setup and see how the cluster performs. Regards -- Lasse Laursen - Systems Developer NetGroup A/S, St. Kongensgade 40H, DK-1264 København K, Denmark Phone: +45 3370 1526 - Fax: +45 3313 0066 - Web: www.netgroup.dk - We don't surf the net, we make the waves. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message