From: Dario Faggioli <dario.faggioli@citrix.com>
To: Meng Xu <xumengpanda@gmail.com>
Cc: "artem.mygaiev@globallogic.com" <artem.mygaiev@globallogic.com>,
George Dunlap <george.dunlap@eu.citrix.com>,
Andrew Cooper <andrew.cooper3@citrix.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
Jan Beulich <JBeulich@suse.com>,
Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
Subject: Re: [XenRT] Cache-Aware Real-Time Xen: Partition shared cache for guest domains in Xen via page coloring
Date: Wed, 13 May 2015 00:59:13 +0200 [thread overview]
Message-ID: <1431471553.2978.112.camel@citrix.com> (raw)
In-Reply-To: <CAENZ-+kKFdcaxoDkFfgLSmgDZeOXNUrN8K56G_iQRnhBwWLFnw@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 3334 bytes --]
On Sun, 2015-05-10 at 22:36 -0400, Meng Xu wrote:
> Hi Dario and George,
>
Hi Meng,
I gave a quick look at the slides. Nice work.
Although I don't have much time, I also wanted to take a quick glance at
the code, and looked it up on GitHub, where you usually host your stuff,
but couldn't find it (maybe because I'm really ignorant about how that
site works! :-P).. Is it hosted somewhere public already?
> Right now, I almost finish the first two steps and have some
> preliminary results of the real-time performance of Xen with static
> cache partition mechanism. I made a quick slide to summarize the
> current work and the future plan.
> The slide can be found at:
> http://www.cis.upenn.edu/~mengxu/cart-xen/2015-05-01-CARTXen-WiP.pdf
>
The results look nice and promising, at least for real-time
(virtualization) workloads. I'm quite sure folks working on
embedded/automotive projects, that are looking at RTDS, would find them
very interesting (provided it works similarly well on ARM, as that's
what they use), and in fact I'm adding people from GlobalLogic to the Cc
list.
> My question is:
> Do you have any comment or concerns on the current software-based
> cache management work?
>
My first thought is the one I sort of expressed above already: do you
think it could work on ARM as well? I'm quite sure they have caches, so
the basic idea is applicable there too, but I know too few of that
architecture to see how well/bad it will behave in there! Would you have
the chance and the interest in trying to find that out?
Another question: what are (if any) the limitations and the restrictions
we have to accept, in order to be able to take advantage of this? E.g.,
I remember someone (I think it was Andrew) mentioning that playing the
tricks you play with addresses, would make it hard/impossible to use
superpages. I also remember that you were having problems at finding
large enough chunks of contiguous memory... Are these still open issues?
> I hope to listen to your opinions and incorporate your opinions on
> my ongoing work instead of diverting too
> far away from Xen mainstream ideas. :-)
>
Some more thoughts. This looks like something that could work quite well
in environment and use cases that:
1. are rather static (i.e., no or few dynamic domain creation, well
defined workload inside each domain, etc.)
2. there are not too many domains around. I mean, if you have hundreds
of guests, it's very unlikely that you'll be able to arrange for a
similar number of properly sized partitions, isn't it?
That is actually why I really think this could be useful for the
embedded virt people: this is exactly how their environment looks
like! :-)
I think we should definitely consider merging something that will
potentially help the emerging embedded/automotive use cases, provided
(as usual):
1. the benefits are real and really useful (e.g., they are still there
on ARM)
2. it does not disrupt other workloads, it does not impact other
features and it does not make the code worse (i.e., more difficult
to understand and to maintain)
I'd suggest, if you agree with my analysis, you try to assess 1... Maybe
GlobalLogic people could help, if they're interested.
Thanks and Regards,
Dario
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2015-05-12 22:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-11 2:36 [XenRT] Cache-Aware Real-Time Xen: Partition shared cache for guest domains in Xen via page coloring Meng Xu
2015-05-12 22:59 ` Dario Faggioli [this message]
2015-05-13 2:01 ` Meng Xu
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=1431471553.2978.112.camel@citrix.com \
--to=dario.faggioli@citrix.com \
--cc=JBeulich@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=andrii.tseglytskyi@globallogic.com \
--cc=artem.mygaiev@globallogic.com \
--cc=george.dunlap@eu.citrix.com \
--cc=xen-devel@lists.xen.org \
--cc=xumengpanda@gmail.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 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.