From: Alexandre Montplaisir <alexmonthy-GLOHREzkiE4oS2+YlJWNIQ@public.gmane.org>
To: Mohamad Gebai <mohamad.gebai-scC8bbJcJLCw5LPnMra/2Q@public.gmane.org>
Cc: lttng-dev-bnB2LGs2QVJ+nrgayQ7rhA@public.gmane.org,
Linux Tools developer discussions
<linuxtools-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org>
Subject: Re: View for virtual machine monitoring
Date: Tue, 09 Jul 2013 15:37:06 -0400 [thread overview]
Message-ID: <51DC6662.8080807@voxpopuli.im> (raw)
In-Reply-To: <1373394774.51dc57569fe05-AbLIzcVVHEexwLxtslwksLDks+cytr/Z@public.gmane.org>
Hi Mohamad,
Quite impressive!
Small detail: I don't know if you use the exact same colors as the
Control Flow View, but the color you use for "vCPU preempted" seems
similar to the one used for the Interrupted (IRQ) state. You should make
sure they can be differentiated if shown side-by-side. In any case, it's
easy to tweak ;)
There is still some designing/reviewing to do on the required concepts,
like experiment types and state systems for experiments. But this is a
very good example of what it will be possible to do once those features
are integrated (hopefully in the coming months!)
Cheers,
Alexandre
On 13-07-09 02:32 PM, Mohamad Gebai wrote:
> Hello,
> We are currently working on a new view in Eclipse's TMF plugin (Tracing and
> Monitoring Framework) specific to virtual machine analysis. This view requires
> kernel traces from the host and from each guest with a set of specific
> tracepoints activated. The traces are then merged together and analysed in a
> way that the real state of each system can be rebuilt, while taking into
> account all the interactions between the different systems.
>
> The main purpose of this view is to easily point out latency problems due to
> resource sharing. For now, we only consider CPU time, but more resources (such
> as memory allocation, disks...) will be added.
>
> Two screenshots are attached. The first one shows the virtual machines and the
> state of their respective virtual CPUs. The second screenshot gives in-depth
> information about one of the virtual CPUs, showing only the threads that
> interacted with this vCPU and their state during the time of the trace. We
> think that this approach of showing information across the layers (OS, KVM,
> guest OS, and eventually JVM...) can be helpful to investigate latency-related
> problems specific to virtual machines.
>
> Legend:
> Green: user mode
> Blue: kernel mode
> Yellow: process blocked
> Purple: vCPU preempted
> Grey: vCPU idle
>
> For the sake of our experience, we pinned vCPU0 of VM1 and vCPU0 of VM2 on the
> same physical CPU, and ran a CPU-intensive workload for one second one each one
> of them. We generated our traces using the low-overhead LTTng tracer. We can
> clearly see that during that second, both of the virtual CPUs are fighting over
> the same physical CPU.
>
> We seek any thoughts or suggestions on the effectiveness of this view or on our
> approach. Any real life problems waiting for investigation are also welcome.
>
> Mohamad Gebai
>
next prev parent reply other threads:[~2013-07-09 19:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-09 18:32 View for virtual machine monitoring Mohamad Gebai
[not found] ` <1373394774.51dc57569fe05-AbLIzcVVHEexwLxtslwksLDks+cytr/Z@public.gmane.org>
2013-07-09 19:23 ` Aaron Spear
[not found] ` <77342852.21701313.1373397836659.JavaMail.root-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
2013-07-09 20:28 ` Mohamad Gebai
[not found] ` <1373401690.51dc725a2c350-AbLIzcVVHEexwLxtslwksLDks+cytr/Z@public.gmane.org>
2013-07-09 20:43 ` Mohamad Gebai
2013-07-09 19:37 ` Alexandre Montplaisir [this message]
[not found] ` <51DC6662.8080807-GLOHREzkiE4oS2+YlJWNIQ@public.gmane.org>
2013-07-09 20:31 ` Mohamad Gebai
-- strict thread matches above, loose matches on Subject: below --
2013-07-09 19:12 Thibault, Daniel
[not found] <48CF5AC71E61DB46B70D0F388054EFFD13423326@VAL-E-02.valcartier.drdc-rddc.gc.ca>
2013-07-11 18:08 ` Mohamad Gebai
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=51DC6662.8080807@voxpopuli.im \
--to=alexmonthy-glohrezkie4os2+yljwniq@public.gmane.org \
--cc=linuxtools-dev-j9T/66MeVpFAfugRpC6u6w@public.gmane.org \
--cc=lttng-dev-bnB2LGs2QVJ+nrgayQ7rhA@public.gmane.org \
--cc=mohamad.gebai-scC8bbJcJLCw5LPnMra/2Q@public.gmane.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.