Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753256AbXL0PHu (ORCPT ); Thu, 27 Dec 2007 10:07:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751946AbXL0PHm (ORCPT ); Thu, 27 Dec 2007 10:07:42 -0500 Received: from srv5.dvmed.net ([207.36.208.214]:59923 "EHLO mail.dvmed.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751934AbXL0PHl (ORCPT ); Thu, 27 Dec 2007 10:07:41 -0500 Message-ID: <4773BFBA.70709@garzik.org> Date: Thu, 27 Dec 2007 10:07:38 -0500 From: Jeff Garzik User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: saeed bishara CC: linux-kernel@vger.kernel.org, NFS list Subject: Re: read-ahead in NFS server References: <47730F2F.3080900@garzik.org> <47739288.7000308@garzik.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.4 (----) X-Spam-Report: SpamAssassin version 3.2.3 on srv5.dvmed.net summary: Content analysis details: (-4.4 points, 5.0 required) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1248 Lines: 34 saeed bishara wrote: >>>> Are you using TCP? Are you using NFSv4, or an older version? >>> I'm using NFSv3/UDP. >> IMO, you definitely want TCP and NFSv4. Much better network behavior, >> with some of the silly UDP limits (plus greatly improved caching >> behavior, due to v4 delegations). > the clients of my system going to be embedded system with low > performance cpus and I need UDP as it needs less cpu power. I bet TCP + fewer revalidations + greater local pagecache activity uses less cpu power than UDP + revalidations + rx/tx network activity >>> when I run local dd with bs=4K, I can see that the average IO size is >>> more than 300KB. >> Read-ahead is easier in NFSv4, because the client probably has the file >> delegated locally, and has far less need to constantly revalidate file >> mapping(s). > I'll check that. > but what about the server side? why the issued IO's are only as twice > as the size of the NFS requests? No idea. I bet the source code can tell you :) Jeff -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/