From: "Mkrtchyan, Tigran" <tigran.mkrtchyan@desy.de>
To: Trond Myklebust <trondmy@primarydata.com>
Cc: linux-nfs <linux-nfs@vger.kernel.org>
Subject: Re: wrong latency info for flexfiles on layout return
Date: Wed, 7 Feb 2018 09:03:36 +0100 (CET) [thread overview]
Message-ID: <1619644276.3218766.1517990616235.JavaMail.zimbra@desy.de> (raw)
In-Reply-To: <1517956185.39096.9.camel@primarydata.com>
If I understand you correctly, then completion time is the sum of all IO re=
quests sent from a client to the server.
Then with average per-op round-trip of 2.7s I should see at lease one reque=
st which takes longer than average.
However, the longest rpc request round-trip time I see with wireshark is 1=
70ms. Do I miss something?
Thanks,
Tigran.
----- Original Message -----
> From: "Trond Myklebust" <trondmy@primarydata.com>
> To: "Tigran Mkrtchyan" <tigran.mkrtchyan@desy.de>, "linux-nfs" <linux-nfs=
@vger.kernel.org>
> Sent: Tuesday, February 6, 2018 11:29:48 PM
> Subject: Re: wrong latency info for flexfiles on layout return
> On Tue, 2018-02-06 at 23:10 +0100, Mkrtchyan, Tigran wrote:
>>=20
>> Hi Trond et al.
>>=20
>> by exploring data provided on layoutreturn I can see that some
>> information is wrong, in particular the IO latency completition
>> time for write:
>>=20
>> {
>> "iostats":[
>> {
>> "deviceAddr":"tcp://192.168.178.40.128.2",
>> "duration":{
>> "seconds":5,
>> "nseconds":285924462
>> },
>> "readInfo":{
>> "bytes":0,
>> "latency":{
>> "completitionTime":{
>> "seconds":0,
>> "nseconds":0
>> },
>> "bytesRequested":0,
>> "opsCompleted":0,
>> "busyTime":{
>> "seconds":0,
>> "nseconds":0
>> },
>> "opsRequested":0,
>> "bytesCompleted":0,
>> "bytesNotDelivered":0
>> },
>> "count":0
>> },
>> "fh":"01caffee00000000b1f9635e000d00000800000000000000050130
>> ",
>> "writeInfo":{
>> "bytes":624193536,
>> "latency":{
>> "completitionTime":{
>> "seconds":25737,
>> "nseconds":816217921
>> },
>> "bytesRequested":624193536,
>> "opsCompleted":9526,
>> "busyTime":{
>> "seconds":5,
>> "nseconds":224017937
>> },
>> "opsRequested":9526,
>> "bytesCompleted":624193536,
>> "bytesNotDelivered":0
>> },
>> "count":9526
>> },
>> "deviceId":"00000001000000000000000000000000",
>> "open-stateid":"5a7a259b0000000100000004"
>> }
>> ]
>> }
>>=20
>>=20
>> you can see this with wireshark as well.
>>=20
>=20
> Can you explain what you think is wrong? With the above aggregate
> completion time, I get an average per-op round-trip time of
> 25737.816/9526 =3D 2.7s, which looks a little high given that the
> duration is only 5 seconds, but it's not horribly unlikely if your DSes
> are processing most of these operations in parallel.
>=20
> --
> Trond Myklebust
> Linux NFS client maintainer, PrimaryData
> trond.myklebust@primarydata.com
> N=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BDr=EF=BF=BD=EF=BF=BDy=EF=BF=
=BD=EF=BF=BD=EF=BF=BDb=EF=BF=BDX=EF=BF=BD=EF=BF=BD=C7=A7v=EF=BF=BD^=EF=BF=
=BD)=DE=BA{.n=EF=BF=BD+=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD{=EF=BF=BD=EF=BF=
=BD=EF=BF=BD"=EF=BF=BD=EF=BF=BD^n=EF=BF=BDr=EF=BF=BD=EF=BF=BD=EF=BF=BDz=EF=
=BF=BD=EF=BF=BD=EF=BF=BDh=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD&=EF=BF=BD=EF=
=BF=BD=EF=BF=BDG=EF=BF=BD=EF=BF=BD=EF=BF=BDh=EF=BF=BD(=EF=BF=BD=E9=9A=8E=EF=
=BF=BD=DD=A2j"=EF=BF=BD=EF=BF=BD=EF=BF=BDm=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=
=BD=EF=BF=BDz=EF=BF=BD=DE=96=EF=BF=BD=EF=BF=BD=EF=BF=BDf=EF=BF=BD=EF=BF=BD=
=EF=BF=BDh=EF=BF=BD=EF=BF=BD=EF=BF=BD~=EF=BF=BDm=EF=BF=BD
next prev parent reply other threads:[~2018-02-07 8:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-06 22:10 wrong latency info for flexfiles on layout return Mkrtchyan, Tigran
2018-02-06 22:29 ` Trond Myklebust
2018-02-07 8:03 ` Mkrtchyan, Tigran [this message]
2018-02-07 11:54 ` Trond Myklebust
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=1619644276.3218766.1517990616235.JavaMail.zimbra@desy.de \
--to=tigran.mkrtchyan@desy.de \
--cc=linux-nfs@vger.kernel.org \
--cc=trondmy@primarydata.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox