Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752699AbXL0PA0 (ORCPT ); Thu, 27 Dec 2007 10:00:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751954AbXL0PAP (ORCPT ); Thu, 27 Dec 2007 10:00:15 -0500 Received: from wa-out-1112.google.com ([209.85.146.178]:21752 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751934AbXL0PAN (ORCPT ); Thu, 27 Dec 2007 10:00:13 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hGsRk8fUA75T0mOCSY0mKauN5Qa9oUZAysc01ANvx7XJ9n9AkahFHrVXYxDlusrzSeA9Zn/stvou36DN/KpZADqkVp5cXbJHX8+bnTPOVCo6eH4TV6KJuCK61kPOY1/81D5Sh8r7TP/mQSdhR6V9sFv4By3uWhx/7wU2qDcxymQ= Message-ID: Date: Thu, 27 Dec 2007 17:00:12 +0200 From: "saeed bishara" To: "Jeff Garzik" Subject: Re: read-ahead in NFS server Cc: linux-kernel@vger.kernel.org, "NFS list" In-Reply-To: <47739288.7000308@garzik.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47730F2F.3080900@garzik.org> <47739288.7000308@garzik.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1016 Lines: 23 > >> 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. > > 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? -- 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/