All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sui Chen <suichen6@gmail.com>
To: Andrew Jeffery <andrew@aj.id.au>
Cc: openbmc@lists.ozlabs.org
Subject: Re: An IPMI Request Visualization Tool
Date: Thu, 21 May 2020 09:44:05 -0700	[thread overview]
Message-ID: <CAFaEeaGs0GSiPp9mGVrSMB1brG19ttroPcK-x-p+BN3SnHrU4g@mail.gmail.com> (raw)
In-Reply-To: <3d6db63b-f670-4e01-94c3-425f93d89708@www.fastmail.com>

Hello Andrew and Patrick,

Thanks for your interest! I'm also using dbus-pcap to track certain
issues on the BMC recently, and would like to add support for all DBus
messages to the visualization tool, making it somewhat resemble a GUI
version of dbus-pcap.
The goal would be to be able to use this tool to investigate both DBus
and IPMI. The way I plan to use it would be more similar to how I use
GPUView (full-system timeline rather than inspecting individual
packets)

If you ask how this user interface might differ from the already
existing dbus visualizers such as bustle, my answer would be: it will
present information in a way that's more relevant to the BMC, putting
a bit more focus on BMC-specific DBus messages, such as HWMon and
RedFish DBus messages, to present information in a high signal-noise
ratio way.

If this makes sense to you, can I know what might be a better way to proceed:
1) Create a change in openbmc-tools? or,
2) Create a new repository under openbmc? or
3) Create a personal/organization-managed repository and create a pull request?

Thanks,
Sui


On Mon, May 18, 2020 at 6:38 PM Andrew Jeffery <andrew@aj.id.au> wrote:
>
>
>
> On Thu, 14 May 2020, at 23:27, Patrick Williams wrote:
> > On Wed, May 13, 2020 at 03:38:47PM -0700, Sui Chen wrote:
> > > We're working on a GUI tool that allows the user to capture and visualize
> > > BMC IPMI requests.
> > >
> > > The tool accepts 2 kinds of inputs:
> > >  1) Load a DBus traffic dump file generated by dbus-monitor on the BMC
> > >  2) Capture IPMI requests on the BMC -- the tool connects to the BMC
> > > console by launching a program of the the user's choice (example: ssh or
> > > telnet), then starts "dbus-monitor" on the BMC and checks its outputs for DBus
> > > calls on the IPMI daemon and then draws the IPMI requests on the canvas
> > > accordingly.
> >
> > > A screenshot is attached to illustrate what it does:
> > > [image: scrnshot_compressed.png]
> >
> > Neat.  I wonder if we can use this to analyse dbus messages with high
> > amounts of latency (especially once that are infrequently latent) in
> > order to better target which processes we should move towards async
> > calls.
>
> For what it's worth I have a script for parsing D-Bus pcaps:
>
> https://github.com/openbmc/openbmc-tools/tree/master/amboar/obmc-scripts/dbus-pcap
>
> It's helped me tracked down unexpected latencies and other weird
> behaviours in the past.
>
> I've just pushed a change adding a README to introduce the capabilities
> and provide examples of usage and output:
>
> https://gerrit.openbmc-project.xyz/c/openbmc/openbmc-tools/+/32583
>
> Cheers,
>
> Andrew

  reply	other threads:[~2020-05-21 16:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-13 22:38 An IPMI Request Visualization Tool Sui Chen
2020-05-14 13:57 ` Patrick Williams
2020-05-19  1:36   ` Andrew Jeffery
2020-05-21 16:44     ` Sui Chen [this message]
2020-05-21 22:39       ` Michael Richardson
2020-05-26 18:22         ` Brandon Wyman
2020-06-03 12:06         ` Andrew Jeffery
2020-06-08  3:07           ` Michael Richardson
2020-06-11  0:57             ` Andrew Jeffery
2020-05-26 18:56       ` Vijay Khemka

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=CAFaEeaGs0GSiPp9mGVrSMB1brG19ttroPcK-x-p+BN3SnHrU4g@mail.gmail.com \
    --to=suichen6@gmail.com \
    --cc=andrew@aj.id.au \
    --cc=openbmc@lists.ozlabs.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.