From: Dario Faggioli <dario.faggioli@citrix.com>
To: Meng Xu <xumengpanda@gmail.com>
Cc: George Dunlap <dunlapg@umich.edu>,
Tianyang Chen <tiche@seas.upenn.edu>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Questions about the use of idle_vcpu[]
Date: Mon, 18 Jan 2016 17:32:09 +0100 [thread overview]
Message-ID: <1453134729.11427.87.camel@citrix.com> (raw)
In-Reply-To: <CAENZ-+kS78hHzeGwxHd_GCB=tmjKurdgs-pk3mQPqV0GESeDrQ@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 2560 bytes --]
On Mon, 2016-01-18 at 11:07 -0500, Meng Xu wrote:
> On Mon, Jan 18, 2016 at 6:00 AM, Dario Faggioli
> <dario.faggioli@citrix.com> wrote:
> >
> > RTDS behavior is broken in many respect, including this,
> >
> > and in fact,
> > Meng and Tianyang are sending patches already to fix it (I'll let
> > you
> > guys have my comments shortly :-P).
>
>
> Right. Tianyang and I are working on changing it from quantum driven
> model to event-driven (or called timer-driven) model. Tianyang sent
> out the first-version patch, but that version has some problems. He
> is
> working on the second version now.
>
> Hi Dario,
> Tianyang is working on the second version right now.
> If you could have a quick look at our discussion in that thread and
> points out the "serious" issues in the decision, that will be great!
>
Ok, that's useful to know... I'll do that way.
> We won't repeat the error again and again in the following versions.
> As to the minor issues, we could refine it in the second version.
> (I'm just thinking about how to save your time to have this done. For
> the obvious things that I can handle, I will do it and avoid
> "wasting"
> you time. For the design choices that we are unclear, we definitely
> need your insights/commands. ;-) )
>
Thanks for all this. :-)
> Hi George,
> Yes, you are right. The current RTDS should not return 0 when the
> idle
> VCPU is picked. I think it should do as what the credit does, i.e.,
> returning a negative value to avoid arming the timer.
> Right now, we are working on changing RTDS to event-driven model. We
> will fix this in theNah, the rework you're doing is big enough, that this change can very well find its place in there.
next version of the patch.
>
> If needed, we can send out a separate patch to fix this specific
> issue
> (i.e. it should return negative value when idle vcpu is picked.) I'm
> ok with either way. Which way do you guys prefer?
>
Nah, the rework you're doing is big enough, that this change can very
well find its place in there.
Doing it right now will need efforts on both our sides, only for the
sake of putting something from "broken" to "just a little bit less
broken" state, and I don't think that's worth. :-P
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: 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-01-18 16:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-15 1:04 Questions about the use of idle_vcpu[] Tianyang Chen
2016-01-18 10:47 ` George Dunlap
2016-01-18 11:00 ` Dario Faggioli
2016-01-18 12:37 ` George Dunlap
2016-01-18 12:47 ` Dario Faggioli
2016-01-18 14:12 ` Load calculation refresh in credit2 (was in Re: Questions about the use of idle_vcpu[]) George Dunlap
2016-01-19 9:23 ` Dario Faggioli
2016-01-18 16:07 ` Questions about the use of idle_vcpu[] Meng Xu
2016-01-18 16:32 ` Dario Faggioli [this message]
2016-01-18 16:41 ` Meng Xu
2016-01-19 22:59 ` Tianyang Chen
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=1453134729.11427.87.camel@citrix.com \
--to=dario.faggioli@citrix.com \
--cc=dunlapg@umich.edu \
--cc=tiche@seas.upenn.edu \
--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.