From: "J. Bruce Fields" <bfields@fieldses.org>
To: "McAninley, Jason" <jmcaninl@harris.com>
Cc: Malahal Naineni <malahal@us.ibm.com>,
"linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>
Subject: Re: Question regard NFS 4.0 buffer sizes
Date: Thu, 13 Feb 2014 13:21:48 -0500 [thread overview]
Message-ID: <20140213182148.GA20694@fieldses.org> (raw)
In-Reply-To: <322949BF788C8D468BEA0A321B79799098BDCA8E@MLBMXUS20.cs.myharris.net>
On Thu, Feb 13, 2014 at 12:21:13PM +0000, McAninley, Jason wrote:
> Sorry for the delay.
>
> > This ends up caching and the write back should happen with larger
> > sizes.
> > Is this an issue with write size only or read size as well? Did you
> > test
> > read size something like below?
> >
> > dd if=[nfs_dir]/foo bs=1M count=500 of=/dev/null
> >
> > You can create sparse "foo" file using truncate command.
>
> I have not tested read speeds yet since this is a bit trickier due to avoiding the client cache. I would suspect similar results since we have mirrored read/write settings in all locations (we're aware of).
>
>
> > >
> > >
> > > > Also, what kernel versions are you on?
> > >
> > > RH6.3, 2.6.32-279.el6.x86_64
> >
> > NFS client and NFS server both using the same distro/kernel?
>
> Yes - identical.
>
>
> Would multipath play any role here? I would suspect it would only help, not hinder. I have run Wireshark against the slave and the master ports with the same result - a max of ~32K packet size, regardless of the settings I listed in my original post.
I doubt it. I don't know what's going there.
The write size might actually be too small to keep the necessary amount
of write data in flight; increasing tcp_slot_table_entries might work
around that?
Of course, since this is a Red Hat kernel that'd be a place to ask for
support unless the problem's also reproduceable on upstream kernels.
--b.
next prev parent reply other threads:[~2014-02-13 18:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-11 12:32 Question regard NFS 4.0 buffer sizes McAninley, Jason
2014-02-11 14:36 ` J. Bruce Fields
2014-02-11 15:01 ` McAninley, Jason
2014-02-11 16:32 ` J. Bruce Fields
2014-02-11 21:17 ` McAninley, Jason
2014-02-11 21:54 ` J. Bruce Fields
2014-02-11 22:50 ` McAninley, Jason
2014-02-11 23:18 ` Malahal Naineni
2014-02-13 12:21 ` McAninley, Jason
2014-02-13 18:21 ` J. Bruce Fields [this message]
2014-02-11 17:22 ` Chuck Lever
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=20140213182148.GA20694@fieldses.org \
--to=bfields@fieldses.org \
--cc=jmcaninl@harris.com \
--cc=linux-nfs@vger.kernel.org \
--cc=malahal@us.ibm.com \
/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.