mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "saeed bishara" <saeed.bishara@gmail.com>
To: "Jeff Garzik" <jeff@garzik.org>
Cc: linux-kernel@vger.kernel.org, "NFS list" <linux-nfs@vger.kernel.org>
Subject: Re: read-ahead in NFS server
Date: Thu, 27 Dec 2007 17:00:12 +0200	[thread overview]
Message-ID: <c70ff3ad0712270700h6336b194r7c21834423aeb331@mail.gmail.com> (raw)
In-Reply-To: <47739288.7000308@garzik.org>

> >> 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?

  reply	other threads:[~2007-12-27 15:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-26 11:51 saeed bishara
2007-12-27  2:34 ` Jeff Garzik
2007-12-27  8:50   ` saeed bishara
2007-12-27 11:54     ` Jeff Garzik
2007-12-27 15:00       ` saeed bishara [this message]
2007-12-27 15:07         ` Jeff Garzik
2007-12-27 15:38           ` saeed bishara
     [not found]         ` <E1J852H-0002K7-P1@localhost>
2007-12-28  2:33           ` Fengguang Wu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c70ff3ad0712270700h6336b194r7c21834423aeb331@mail.gmail.com \
    --to=saeed.bishara@gmail.com \
    --cc=jeff@garzik.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®