From: di.wang <di.wang@oracle.com>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] (no subject)
Date: Wed, 28 Apr 2010 22:04:32 -0400 [thread overview]
Message-ID: <4BD8E930.9020409@oracle.com> (raw)
In-Reply-To: <D7B5B9A3-B2D9-4710-935D-24677FDE5783@oracle.com>
Andreas Dilger wrote:
> AFAIK the Handling time is when request processing starts, not when it
> first arrived at the server. We would need to check I'd there is an
> RPCTRACE message from ptlrpc_handle_req_in() that we could use to
> determine the initial request arrival time.
>
Oh, you can also get the arriving time in "Handled RPC" msg
by Handled RPC_time - total time.
Thanks
WangDi
> Cheers, Andreas
>
> On 2010-04-28, at 19:25, "di.wang" <di.wang@oracle.com> wrote:
>
>
>> Hello, Michael
>>
>> There is a logfile parser script in the attachment, which was
>> written by Eric.
>>
>> This script is very simple, but it should help you understand how we
>> retrieve time step information from lustre debug log. On the server
>> side, if you enable rpc_trace log, whenever the request arrive/start
>> being processed/end of processing, there will be corresponding
>> records being written into the debug log. Basically, you can get all
>> the time step information from these records (actually only two of
>> these records would be enough).
>>
>>
>> a. 00000100:00100000:0.0:1272313858.472660:0:31581:0:(service.c:
>> 1625:ptlrpc_server_handle_request()) Handling RPC pname:cluuid
>> +ref:pid:xid:nid:opc ll_mgs_00:7d4fb15c-1b1c-295f-e466-
>> ea7d77089b52+10:4055:x1334115493386242:12345-0 at lo:400
>>
>> This record means the req will being handled, so you can get the
>> start time stamp(1272313858.472660) operation type (opc: 400, ping),
>> xid (1334115493386242), client nid(12345-0 at lo) and so on.
>>
>> b. 00000100:00100000:0.0:1272313858.472687:0:31581:0:(service.c:
>> 1672:ptlrpc_server_handle_request()) Handled RPC pname:cluuid
>> +ref:pid:xid:nid:opc ll_mgs_00:7d4fb15c-1b1c-295f-e466-
>> ea7d77089b52+9:4055:x1334115493386242:12345-0 at lo:400 Request
>> procesed in 45us (77us total) trans 0 rc 0/0
>>
>> This record means the req is already being handled, so you can get
>> the end time stamp(1272313858.472687), operation type (opc: 400,
>> ping), xid (1334115493386242), client nid(12345-0 at lo) and so no.
>>
>> Note: (77us total) means how long it takes from the request arriving
>> to the end of processing. so you can also get the request arriving
>> time stamp here by (1272313858 - 77 = 1272312781).
>>
>>
>> So with these information you can draw the graph Eric mentioned in
>> his email. If you have any questions, please let me know.
>>
>> Thanks
>> WangDi
>>
>>
>> Eric Barton wrote:
>>
>>> ---
>>> ---------------------------------------------------------------------
>>>
>>> Subject:
>>> RE: Visualising Lustre RPCs
>>> To:
>>> "Michael Kluge" <Michael.Kluge@tu-dresden.de>, "wangdi" <Tom.Wang@Sun.COM
>>>
>>> To:
>>> "Michael Kluge" <Michael.Kluge@tu-dresden.de>, "wangdi" <Tom.Wang@Sun.COM
>>>
>>> CC:
>>> <lustre-devel@lists.lustre.org>, "Galen M. Shipman" <gshipman@ornl.gov
>>>
>>> Michael,
>>>
>>> The previous Lustre RPC visualisation effort I mentioned at the LUG
>>> used the
>>>
>>> Lustre debug log entries of type D_RPCTRACE. We disabled all but
>>> these
>>>
>>> log messages and then used the Lustre debug daemon to collect them
>>> while
>>>
>>> we ran I/O tests. We then ran a simple logfile parser which used
>>> just the log entries
>>>
>>> for request arrival?
>>>
>>> , start of processing and end of processing to graph request
>>>
>>> queue depth (arrival->end) and the number of requests being
>>> serviced by type
>>>
>>> over time ? e.g?
>>>
>>> read3d
>>>
>>> ?which shows request queue depth (vertical) over time (axis labell
>>> ed 20-25) by
>>>
>>> server (axis labelled 0-80).
>>>
>>> *From:* Michael Kluge [mailto:Michael.Kluge at tu-dresden.de]
>>> *Sent:* 17 April 2010 6:26 AM
>>> *To:* Galen M. Shipman; Eric Barton
>>> *Subject:* Visualising Lustre RPCs
>>>
>>> Hi Galen, Eric,
>>>
>>> in order to get this little project started, I think what I need at
>>> first to
>>>
>>> write a prototype for a converter are the following things:
>>>
>>> A set of test traces collected on maybe a handful of clients and
>>> some servers
>>>
>>> is probably a good point to start with. It would be even better if
>>> we know
>>>
>>> what is in this traces so that we have an expectation what kind of
>>> things
>>>
>>> we want to see on the Vampir displays. This little program that
>>> Eric mentioned
>>>
>>> that can read the trace file would be very helpful as well. And as
>>> the last
>>>
>>> idea I have right now, a technical contact. I might come up with a
>>> couple
>>>
>>> of question after I have taken the first look onto the original
>>> trace data
>>>
>>> and before I start writing code.
>>>
>>> Regards, Michael
>>>
>>>
>>> --
>>>
>>> Michael Kluge, M.Sc.
>>>
>>> Technische Universit?t Dresden
>>> Center for Information Services and
>>> High Performance Computing (ZIH)
>>> D-01062 Dresden
>>> Germany
>>>
>>> Contact:
>>> Willersbau, Room WIL A 208
>>> Phone: (+49) 351 463-34217
>>> Fax: (+49) 351 463-37773
>>> e-mail: michael.kluge at tu-dresden.de <mailto:michael.kluge@tu-dresden.de
>>>
>>> WWW: http://www.tu-dresden.de/zih
>>>
>>>
>> <rpc_parse.tgz>
>> _______________________________________________
>> Lustre-devel mailing list
>> Lustre-devel at lists.lustre.org
>> http://lists.lustre.org/mailman/listinfo/lustre-devel
>>
> _______________________________________________
> Lustre-devel mailing list
> Lustre-devel at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-devel
>
next prev parent reply other threads:[~2010-04-29 2:04 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <000c01cae6ee$1d4693d0$57d3bb70$@barton@oracle.com>
2010-04-29 1:25 ` [Lustre-devel] (no subject) di.wang
2010-04-29 1:49 ` Andreas Dilger
2010-04-29 2:04 ` di.wang [this message]
2010-04-29 4:48 ` [Lustre-devel] Lustre RPC visualization Michael Kluge
[not found] ` <4BD9CF75.8030204@oracle.com>
2010-05-03 8:41 ` Michael Kluge
2010-05-03 13:20 ` Andreas Dilger
2010-05-03 18:10 ` Michael Kluge
2010-05-03 18:57 ` Robert Read
2010-05-03 18:58 ` di.wang
2010-05-03 19:32 ` Michael Kluge
2010-05-03 19:52 ` di.wang
2010-05-03 20:04 ` Michael Kluge
2010-05-16 9:29 ` Michael Kluge
2010-05-16 13:12 ` Eric Barton
2010-05-17 4:52 ` Michael Kluge
2010-05-17 3:24 ` Andrew Uselton
2010-05-17 5:53 ` Michael Kluge
[not found] ` <009101caf4f9$67e1dd50$37a597f0$%barton@oracle.com>
2010-05-17 3:39 ` Shipman, Galen M.
2010-05-17 5:59 ` Michael Kluge
2010-05-25 12:03 ` Michael Kluge
[not found] ` <4BFC7177.9000808@oracle.com>
2010-05-28 14:54 ` Michael Kluge
[not found] ` <4BFFA456.7030502@oracle.com>
[not found] ` <C671351E-110C-4D2C-B216-4E8BE23A943A@oracle.com>
[not found] ` <1FF3D25F-3369-462E-9651-62D56319612A@tu-dresden.de>
[not found] ` <D29ED098-3DEB-4AF4-AA68-B52B4E2BF5EA@oracle.com>
[not found] ` <4C04F3F0.9040708@oracle.com>
[not found] ` <001601cb01a3$546c93d0$fd45bb70$%barton@oracle.com>
2010-06-01 12:12 ` di.wang
2010-06-01 17:03 ` Andreas Dilger
2010-06-01 19:39 ` Michael Kluge
2010-06-16 8:46 ` Michael Kluge
2010-06-16 14:50 ` Andreas Dilger
2010-06-17 14:02 ` Michael Kluge
[not found] ` <4169315E-9A94-4430-8970-92068222EF15@oracle.com>
2010-06-20 20:44 ` Michael Kluge
2010-06-22 15:12 ` Michael Kluge
2010-06-23 10:29 ` Alexey Lyashkov
2010-06-23 11:50 ` Michael Kluge
2010-06-23 12:09 ` Alexey Lyashkov
2010-06-23 12:38 ` Michael Kluge
2010-06-23 15:55 ` Andreas Dilger
2010-06-24 8:01 ` Michael Kluge
2010-06-01 15:58 ` Eric Barton
2010-09-22 13:46 ` Michael Kluge
2010-09-22 18:28 ` Andreas Dilger
[not found] <1515691022-22729-1-git-send-email-fabian_huegel@web.de>
2018-01-11 17:25 ` [lustre-devel] (no subject) Ben Evans
2017-01-05 0:16 Di
2017-01-10 20:15 ` Amir Shehata
2017-01-10 22:06 ` Christopher J. Morrone
2017-01-11 1:08 ` Amir Shehata
2017-01-11 4:18 ` Dilger, Andreas
2017-01-11 23:20 ` Christopher J. Morrone
2017-01-16 21:25 ` James Simmons
2017-01-16 21:05 ` James Simmons
2017-01-16 21:02 ` James Simmons
2017-01-17 21:32 ` Christopher J. Morrone
2017-01-18 20:10 ` Amir Shehata
-- strict thread matches above, loose matches on Subject: below --
2009-03-27 5:23 [Lustre-devel] " sethpn at gmail.com
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=4BD8E930.9020409@oracle.com \
--to=di.wang@oracle.com \
--cc=lustre-devel@lists.lustre.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox