From: Dario Faggioli <dario.faggioli@citrix.com>
To: shyoo@os.korea.ac.kr
Cc: lars.kurth@xen.org, "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Xen Developer Summit BoF Notes : Seeding a Xen + Android / Embedded ecosystem BoF
Date: Sat, 23 Nov 2013 18:01:24 +0100 [thread overview]
Message-ID: <1385226084.21937.70.camel@Abyss> (raw)
In-Reply-To: <CAM9xYL+sG=ZVXrT_0=j+9-M8MG-X0Lihot3h9JWRxCc2mNB1Nw@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 4115 bytes --]
On sab, 2013-11-23 at 00:53 +0900, See-Hwan Yoo wrote:
> Dear Faggioli and Lars,
>
Hi! Nice to talk to you here too... :-)
> Thanks for putting me into the thread, I am eager to join here.
>
Sure, BTW, have a look at this other one too, it's a lot related to this
and even more to what you're talking about in this email of yours:
http://bugs.xenproject.org/xen/mid/%3C1384802050.16918.219.camel@Solace%3E
> My thought about real-time things are becoming clear, and here are
> some.
>
>
> 1. Simply running a real-time OS is definitely not enough for
> guaranteeing deadline under virtualization.
> 2. To support hard real-time over Xen, we need the followings:
> a. WCET analysis for time-critical Xen services (hypcalls).
> Based upon this WCET, RTOS and apps (tasks) can calculate WCET,
> accordingly.
>
Yeah... WCET is particularly nasty, even in general, and virtualization
would only make it even more of a nightmare! :-/
I agree that some need-to-be-certified / super-critical / ultra-hard
real-time workload would need it, but at the same time I think there is
a lot to improve before even getting close to that.
Don't get me wrong, not that I object or won't be interested in someone
wanting to do it, just a matter of priorities and of trying to start
with the simple. :-)
Speaking of RTOS on Xen, it would be nice to investigate whether there
are someone that have been already ported...
> b. Hierarchical scheduling theory buys you a real-time guarantee, and
> what we want here is
> an interface and algorithm for finding VM (or vcpu) scheduling
> parameters for rt schedulers (such as EDF or RM).
> Of course we need a scheduler implementation (I think ARINC/SEDF
> provides a basic format).
>
Which is quite similar to what Sisu is saying in the other thread
referenced above:
http://bugs.xenproject.org/xen/mid/%3CCAPqOm-pz8jW3Dd2k9RWu3FFZi7rJTJpAbb6mACRWUXuY7eiFKQ@mail.gmail.com%3E
And to which I agree too. :-)
I'll avoid listing here some (more) research paper on how real-time
hierarchical scheduling could be applied here... Perhaps I'll put them
in the Wiki page.
> d. Maximum latency guarantee for aperiodic/sporadic tasks (such as I/O
> tasks) are difficult because
> We have to address scheduling model under split drivers. If
> inter-VM scheduling latency is introduced,
> then the latency goes up to tens of milliseconds, which is
> definitely not what we want. A possible simplification is
> prioritize the driver domain, however note that the driver domain
> should run a real-time OS, instead of Linux.
>
Yep, that would also be quite interesting. Perhaps we can actually start
(at least for doing some measurements) with a real-time variant of
Linux, either something like Xenomai or Linux+PREEMPT_RT patch and
trheaded interrupt (and, of course, see how well threaded interrupt
plays with our backends).
> In addition, we should implement backend drivers (and physical
> drivers) as real-time tasks.
>
>
> 3. To support soft real-time over Xen, there are several studies out
> there.
> However, most of them do not make code contribution. That is one
> of key huddles.
>
Indeed.
> I am specifically interested in bigLITTLE cpus as a means of
> supporting soft real-time applications. However, I don't have time
> schedules or written codes; so I just want to looking up when it
> begins to get started.
>
Well, we'll surely have to cross that bridge at some point!
> If you have another idea, please tell me.
> I am observing the lists, and would be glad if I can help it to make
> progress.
>
Cool... Let's see how these discussion evolve, and, sometime in the near
future, if we can come up with a more concrete plan.
Thanks and Regards,
Dario
--
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
prev parent reply other threads:[~2013-11-23 17:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-20 18:00 Xen Developer Summit BoF Notes : Seeding a Xen + Android / Embedded ecosystem BoF Lars Kurth
2013-11-21 9:52 ` Dario Faggioli
2013-11-21 13:45 ` Lars Kurth
2013-11-22 7:08 ` Dario Faggioli
2013-11-22 15:53 ` See-Hwan Yoo
2013-11-23 17:01 ` Dario Faggioli [this message]
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=1385226084.21937.70.camel@Abyss \
--to=dario.faggioli@citrix.com \
--cc=lars.kurth@xen.org \
--cc=shyoo@os.korea.ac.kr \
--cc=xen-devel@lists.xen.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;
as well as URLs for NNTP newsgroup(s).