All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: Meng Xu <xumengpanda@gmail.com>
Cc: Wei Liu <wei.liu2@citrix.com>, Sisu Xi <xisisu@gmail.com>,
	George Dunlap <george.dunlap@eu.citrix.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
	Meng Xu <mengxu@cis.upenn.edu>, Jan Beulich <jbeulich@suse.com>,
	Chong Li <lichong659@gmail.com>,
	Dagaen Golomb <dgolomb@seas.upenn.edu>
Subject: Re: [PATCH v2] Modified RTDS scheduler to use an event-driven model instead of polling.
Date: Mon, 6 Jul 2015 19:37:44 +0200	[thread overview]
Message-ID: <1436204264.10763.42.camel@citrix.com> (raw)
In-Reply-To: <CAENZ-+nwuUa9T3wtj_DK1ys_aUKY0stz5Hq_GV4hKh6Om6gD6Q@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1527 bytes --]

On Sun, 2015-06-28 at 13:45 -0700, Meng Xu wrote:
> 2015-06-28 13:17 GMT-07:00 Dagaen Golomb <dgolomb@seas.upenn.edu>:

> > > The scenario in my mind that will potentially invoke one more rt_schedule  is:
> > > VCPU j currently runs out of budget and will have top priority once it
> > > get budget replenishment.
> > > If replenishment runs first, rt_schedule will be invoked for only once.
> > > If rt_schedule runs first and schedule a VCPU to run, rt_schedule will
> > > be invoked again when replenishment is invoked.
> >
> > This is a good point here. The ordering in this case doesn't seem to cause
> > any functional/behavior problems, but it will cause rt_schedule to run twice
> > when it could have been ran once. So, even as a corner case, it would seem
> > that its a performance corner case and not a behavior one.
> 
> Right.
> 
> Let's look forward to the reply from others, especially Dario's.  :-)
> 
I concur. There might be situation where more scheduler invocations than
in the ideal (theoretical?) case will be involved, but that's a problem
(in different ways) with any actual implementation (we discussed this at
length already :-) ).

But really, from a correctness point of view, I see no issues.

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

  reply	other threads:[~2015-07-06 17:37 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-27 19:46 [PATCH v2] Modified RTDS scheduler to use an event-driven model instead of polling Dagaen Golomb
2015-06-27 19:53 ` Dagaen Golomb
2015-06-28  7:10   ` Meng Xu
2015-06-28 17:49     ` Dagaen Golomb
2015-06-28 19:11       ` Meng Xu
2015-06-28 20:17         ` Dagaen Golomb
2015-06-28 20:45           ` Meng Xu
2015-07-06 17:37             ` Dario Faggioli [this message]
2015-07-06 17:41           ` Dario Faggioli
2015-07-09 16:19             ` Dagaen Golomb
2015-06-28  7:06 ` Meng Xu
2015-07-06 17:30   ` Dario Faggioli
2015-07-07  5:51     ` Meng Xu
2015-07-07 14:03       ` Dario Faggioli
2015-07-08  5:56         ` Meng Xu
2015-07-08  8:01           ` Dario Faggioli
2015-07-09  3:46             ` Meng Xu
2015-07-09 16:39               ` Dagaen Golomb
2015-07-10 10:07               ` Dario Faggioli
2015-07-09 16:35             ` Dagaen Golomb
2015-07-09 16:31           ` Dagaen Golomb
2015-07-09 16:17     ` Dagaen Golomb
  -- strict thread matches above, loose matches on Subject: below --
2015-07-03  5:12 Meng Xu
2015-07-06 11:51 ` Dario Faggioli
2015-06-27 19:35 Dagaen Golomb

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=1436204264.10763.42.camel@citrix.com \
    --to=dario.faggioli@citrix.com \
    --cc=dgolomb@seas.upenn.edu \
    --cc=george.dunlap@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=lichong659@gmail.com \
    --cc=mengxu@cis.upenn.edu \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    --cc=xisisu@gmail.com \
    --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.