Linux NFS development
 help / color / mirror / Atom feed
From: Greg Banks <gnb@sgi.com>
To: Dan Stromberg <strombrg@dcs.nac.uci.edu>
Cc: nfs@lists.sourceforge.net
Subject: Re: Some code, and a question
Date: Wed, 7 Sep 2005 11:02:19 +1000	[thread overview]
Message-ID: <20050907010219.GA14233@sgi.com> (raw)
In-Reply-To: <1126046397.3000.188.camel@seki.nac.uci.edu>

On Tue, Sep 06, 2005 at 03:39:57PM -0700, Dan Stromberg wrote:
> 
> OK, I know NFS isn't usually thought of as the fastest protocol under
> the sun,

Why would you think that?  NFSv3 can be very efficient at moving
bits from point A to point B.

> My question is, before diving into trying to determine this empirically,
> is there any theoretical reason why it would be better to have
> rsize==wsize,

>From a protocol point of view, no.

> or should it be better to just pick whatever rsize gives
> the best read performance and pick whatever wsize gives the best write
> performance, and not worry about if rsize!=wsize?

It will depend on the workload, but generally read and write throughput
will be better the larger the block size, up to a value beyond the
Linux kernel's ability to support.  I expect you will find your optimum
at rsize=wsize=32K.

Greg.
-- 
Greg Banks, R&D Software Engineer, SGI Australian Software Group.
I don't speak for SGI.


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2005-09-07  1:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-06 22:39 Some code, and a question Dan Stromberg
2005-09-07  1:02 ` Greg Banks [this message]
2005-09-07 14:37   ` Dan Stromberg
2005-09-07 14:55     ` Peter Staubach
2005-09-07 17:00       ` Dan Stromberg
2005-09-07 17:13         ` Peter Staubach
2005-09-07 17:25           ` Peter Staubach
2005-09-07 17:28           ` Dan Stromberg
2005-09-07 17:27             ` Peter Staubach
  -- strict thread matches above, loose matches on Subject: below --
2005-09-07 15:34 Lever, Charles
2005-09-07 17:02 ` Dan Stromberg

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=20050907010219.GA14233@sgi.com \
    --to=gnb@sgi.com \
    --cc=nfs@lists.sourceforge.net \
    --cc=strombrg@dcs.nac.uci.edu \
    /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