All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Penney <cpenney@gmail.com>
To: "Lever, Charles" <Charles.Lever@netapp.com>
Cc: nfs@lists.sourceforge.net
Subject: Re: NFS Client Performance Question
Date: Wed, 13 Jul 2005 14:55:57 -0400	[thread overview]
Message-ID: <111aefd05071311553ac3d52a@mail.gmail.com> (raw)
In-Reply-To: <482A3FA0050D21419C269D13989C611308539DA7@lavender-fe.eng.netapp.com>

The Itanium page size is 16k (unless I'm mistaken) and the r/wsize is
32k so can that still be it?  Or are you saying that it is because the
size of the write is only 4k?

   Chris

On 7/13/05, Lever, Charles <Charles.Lever@netapp.com> wrote:
> hi chris-
>=20
> take a look at the NFS faq (http://nfs.sourceforge.net) i believe this
> issue is addressed there.
>=20
> the problem is your itanium uses pages larger than your r/wsize setting,
> which forces the client into synchronous I/O mode for NFS.  some
> possible workarounds:
>=20
> 1.  upgrade to a late model 2.6 kernel where this is fixed
>=20
> 2.  reduce the page size on your client system
>=20
> 3.  increase the r/wsize to something larger than your page size
>=20
> 4.  compile your client with a larger maximum transfer size so you can
> do 3.
>=20
> the goal is to have r/wsize be equal to or greater than your client's
> page size.
>=20
> > -----Original Message-----
> > From: Chris Penney [mailto:cpenney@gmail.com]
> > Sent: Wednesday, July 13, 2005 2:30 PM
> > To: nfs@lists.sourceforge.net
> > Subject: [NFS] NFS Client Performance Question
> >
> >
> > I have a large smp SGI Itanium box box running a 2.4.21 kernel and I'm
> > getting fairly bad NFS performance, esp. when doing random writes to
> > an unloaded NFS server.  The box is rather busy doing computation and
> > a lot of i/o to /tmp; however, there is little network i/o (<100
> > KB/s).  I use iozone with the following options to test "-c -e -i 2 -w
> > -s 16m" and use an unloaded Sun NFS server (same performance results
> > with Linux NFS servers, but they are all under load so I test with the
> > Sun).  I only get ~2.5MB/s using the above test.  I found an Intel box
> > still running a 2.4.20 kernel and it gets 15MB/s.  On a 2.6 kernel box
> > the rate jumps to 46MB/s (nice work).
> >
> > I did some sniffing on the Sun and noticed that the problem Itanium
> > system was not doing async writes (snips are from the start of the
> > write test):
> >
> > [snip]
> > redhat -> server NFS C WRITE3 FH=3D40E5 at 1478656 for 4096 (ASYNC)
> > server -> redhat NFS R WRITE3 OK 4096 (ASYNC)
> > redhat -> server NFS C WRITE3 FH=3D40E5 at 1179648 for 4096 (ASYNC)
> > [snip]
> > itanium -> server NFS C WRITE3 FH=3D40E5 at 4239360 for 4096 (FSYNC)
> > server -> server NFS R WRITE3 OK 4096 (FSYNC)
> > server -> server NFS C WRITE3 FH=3D40E5 at 15101952 for 4096 (FSYNC)
> > [snip]
> >
> > The client mount options are:
> >    rw,nosuid,bg,hard,intr,nfsvers=3D3,tcp,rsize=3D32768,wsize=3D32768
> >
> > So my question: Is the Itanium system not doing async nfs i/o because
> > nfract_sync has been exceeded due to local i/o to /tmp or is it
> > something else?  Is there anything I can do to improve NFS performance
> > on this box?
> >
> >    Chris
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by the 'Do More With Dual!'
> > webinar happening
> > July 14 at 8am PDT/11am EDT. We invite you to explore the
> > latest in dual
> > core and dual graphics technology at this free one hour event
> > hosted by HP,
> > AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
> > _______________________________________________
> > NFS maillist  -  NFS@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nfs
> >
>


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

  reply	other threads:[~2005-07-13 18:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-13 18:44 NFS Client Performance Question Lever, Charles
2005-07-13 18:55 ` Chris Penney [this message]
2005-07-13 19:09   ` Peter Staubach
2005-07-13 19:57     ` Chris Penney
  -- strict thread matches above, loose matches on Subject: below --
2005-07-13 19:04 Lever, Charles
2005-07-13 18:30 Chris Penney
2005-07-13 20:16 ` Trond Myklebust
2005-07-13 20:40   ` Chris Penney

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=111aefd05071311553ac3d52a@mail.gmail.com \
    --to=cpenney@gmail.com \
    --cc=Charles.Lever@netapp.com \
    --cc=nfs@lists.sourceforge.net \
    --cc=penney@msu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.