From: Dario Faggioli <dario.faggioli@citrix.com>
To: Meng Xu <xumengpanda@gmail.com>,
George Dunlap <george.dunlap@citrix.com>
Cc: George Dunlap <george.dunlap@eu.citrix.com>,
"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Subject: Re: Should we mark RTDS as supported feature from experimental feature?
Date: Wed, 27 Apr 2016 01:01:23 +0200 [thread overview]
Message-ID: <1461711683.3525.122.camel@citrix.com> (raw)
In-Reply-To: <CAENZ-+nujSsYfRkc6Vpg3tcbego2SACXmRQOK_pDgcTrDzTNPg@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 2770 bytes --]
On Tue, 2016-04-26 at 16:00 -0400, Meng Xu wrote:
> >
> > >
> > > The feature document template has been put together:
> > > http://lists.xenproject.org/archives/html/xen-devel/2015-08/msg01
> > > 929.html
> > >
> > > And there are feature documents in tree already.
> > >
> > > Actually, writing one for RTDS would be a rather interesting and
> > > useful
> > > thing to do, IMO! :-)
> > I think it would be helpful to try to spell out what we think are
> > the
> > criteria for marking RTDS non-experimental. Reading your e-mail,
> > Dario,
> > I might infer the following criteria:
> >
> > 1. New event-driven code spends most of a full release cycle in the
> > tree
> > being tested
> > 2. Better tests in osstest (which ones?)
> > 3. A feature doc
> I agree with the above three items.
>
Great!
> > 4. A work-conserving mode
> I think we need to consider the item 4 carefully. Work-conserving
> mode
> is not a must for real-time schedulers and it is not the main
> purpose/goal of the RTDS scheduler.
>
It's indeed not a must for real-time schedulers. In fact, it's only
important if one wants the system to be overall usable, when using a
real-time scheduler. :-P
Also, I may be wrong but it should not be too hard to implement...
I.e., a win-win. :-)
> > Regarding #2, did you have specific tests in mind?
> I've been thinking about how to confirm the correctness of (RTDS)
> schedulers. It is actually quite challenging to prove the scheduler
> is
> correct.
>
> I'm thinking what the goal of the tests is? It will determine how the
> scheduler should be tested, IMHO.
> There are three possible goals in increasing difficulty:
> (1) Make sure the scheduler won't crash the system, or
> (2) make sure the performance of the scheduler is correct, or
> (3) prove the scheduler is correct?
>
> Which one are we talking about here? (maybe item 1?)
>
Definitely 1, with all the security related implications that applies
to it (e.g., if a guest running within RTDS could crash or DoS the
entire host, that would be a security issue).
Good performance is important, but we'd need to define what 'good
performance' means. And since this is the only (online) real-time
scheduler we have, maybe that is not really necessary for now (e.g.,
'good performance', as compared to what?).
Assessing correctness of the actual schedule is interesting, but beyond
the scope of what I'd call 'supported status'. :-)
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: 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:[~2016-04-26 23:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-26 1:44 Should we mark RTDS as supported feature from experimental feature? Meng Xu
2016-04-26 7:56 ` Dario Faggioli
2016-04-26 8:56 ` Andrew Cooper
2016-04-26 18:41 ` Meng Xu
2016-04-26 15:35 ` George Dunlap
2016-04-26 20:00 ` Meng Xu
2016-04-26 23:01 ` Dario Faggioli [this message]
2016-04-27 1:16 ` Meng Xu
2016-04-27 12:27 ` Dario Faggioli
2016-04-27 20:04 ` Meng Xu
2016-04-26 22:38 ` Dario Faggioli
2016-04-26 18:38 ` Meng Xu
2016-04-26 22:49 ` Dario Faggioli
2016-04-27 0:02 ` 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=1461711683.3525.122.camel@citrix.com \
--to=dario.faggioli@citrix.com \
--cc=george.dunlap@citrix.com \
--cc=george.dunlap@eu.citrix.com \
--cc=xen-devel@lists.xenproject.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 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).