From: Benjamin ESTRABAUD <be@mpstor.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: "J. Bruce Fields" <bfields@fieldses.org>,
"linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>,
"bc@mpstor.com" <bc@mpstor.com>
Subject: Re: Issue running buffered writes to a pNFS (NFS 4.1 backed by SAN) filesystem.
Date: Tue, 26 May 2015 17:43:21 +0100 [thread overview]
Message-ID: <5564A2A9.80402@mpstor.com> (raw)
In-Reply-To: <20150525151310.GA18386@infradead.org>
On 25/05/15 16:13, Christoph Hellwig wrote:
> On Wed, May 20, 2015 at 07:31:12PM +0100, Benjamin ESTRABAUD wrote:
>> After 25 iterations (after creating a 25GiB file, for a cumulative total of
>> 325GiB if including the testfile.1G -> testfile.24G) the issue occured
>> again. The IO rate to the SAN LUN dropped severely to a real 3MiB/sec
>> (measured at the SAN LUN block device level).
>>
>> Also I've noticed that a kernel process is taking up 100% of one core at
>> least:
>>
>> 516 root 20 0 0 0 0 R 100.0 0.0 11:09.72
>> kworker/u49:4
>
Hi Christoph,
> Can you send me the output of "perf record -ag" for that run?
>
I ran "perf record -ag" on the pNFS client and "trace-cmd record -e
nfsd" (it seems to capture all layout* tracepoints) on the pNFS server
(I figured there was no need to run it on the client, and anyways the
trace wound up empty when I tried).
I then ran "dd if=/dev/zero of=/mnt/pnfs1/testfile.26G bs=1M
count=26624" on the client (writing a 26GB file), waited about 20
seconds for the kworker issue to happen (it never happens immediately)
and as soon as it started, waited another 10 seconds so that the trace
has enough data to debug with.
All those three commands (perf record, trace-cmd and dd) where run
within a 3-4 seconds window, so there should be not much "junk" perf
trace at the beginning which has nothing to do with NFS.
Here's the link to the compressed perf record -ag+trace-cmd outputs (let
me know if you need to use a different host provider than dropbox):
https://www.dropbox.com/s/wou3hqb2go21gbw/traces.tar.gz?dl=0
> Also can you send the output from trace-cmd for tracing all nfsd.layout*
> tracepoints for such a run?
>
>> Would the 25GiB figure ring any bells to you? Would there be a way for me to
>> identify this workqueue (figure out if it is pNFS related)?
>
> Perf record should help by looking at the cycles spent.
>
Thanks a lot for your help!
Regards,
Ben.
next prev parent reply other threads:[~2015-05-26 16:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-15 17:44 Issue running buffered writes to a pNFS (NFS 4.1 backed by SAN) filesystem Benjamin ESTRABAUD
2015-05-15 19:20 ` J. Bruce Fields
2015-05-20 16:27 ` Benjamin ESTRABAUD
2015-05-20 18:31 ` Benjamin ESTRABAUD
2015-05-25 15:13 ` Christoph Hellwig
2015-05-26 16:43 ` Benjamin ESTRABAUD [this message]
2015-05-20 19:40 ` J. Bruce Fields
2015-05-21 10:09 ` Benjamin ESTRABAUD
2015-05-17 16:38 ` Christoph Hellwig
2015-05-20 16:30 ` Benjamin ESTRABAUD
2015-05-25 15:14 ` Christoph Hellwig
2015-05-26 16:44 ` Benjamin ESTRABAUD
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=5564A2A9.80402@mpstor.com \
--to=be@mpstor.com \
--cc=bc@mpstor.com \
--cc=bfields@fieldses.org \
--cc=hch@infradead.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 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.