From: Dario Faggioli <dario.faggioli@citrix.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>,
xen-devel@lists.xenproject.org
Cc: Lars Kurth <lars.kurth@citrix.com>,
Stefano Stabellini <sstabellini@kernel.org>,
Wei Liu <wei.liu2@citrix.com>,
George Dunlap <George.Dunlap@eu.citrix.com>,
Ian Jackson <ian.jackson@eu.citrix.com>,
Jan Beulich <jbeulich@suse.com>
Subject: Re: [PATCH 1/3] docs: Credit1 feature document.
Date: Thu, 13 Oct 2016 14:26:50 +0100 [thread overview]
Message-ID: <1476365210.3314.33.camel@citrix.com> (raw)
In-Reply-To: <8bdd7377-ed50-5a50-440f-a47ebecf1966@citrix.com>
[-- Attachment #1.1: Type: text/plain, Size: 4137 bytes --]
On Thu, 2016-10-13 at 12:47 +0100, Andrew Cooper wrote:
> On 13/10/16 12:02, Dario Faggioli wrote:
> >
> > diff --git a/docs/features/credit.pandoc
> > b/docs/features/credit.pandoc
> > new file mode 100644
> > index 0000000..fed0da2
> > --- /dev/null
> > +++ b/docs/features/credit.pandoc
>
> Simply "Credit" as a top level feature isn't very descriptive. Can
> you
> see about working scheduler somewhere into the name?
>
Yep, I wasn't sure whether or not to do that. Re-thinking things, I
agree that'd be better. I'll do.
> > @@ -0,0 +1,99 @@
> > +% Credit
> > +% Revision 1
> > +
> > +\clearpage
> > +
> > +# Basics
> > +---------------- -----------------------------------------------
> > -----
> > + Status: e.g. **Supported**
> > +
> > +Architecture(s): e.g. x86, arm
> > +
> > + Component: e.g. Hypervisor
> > +---------------- -----------------------------------------------
> > -----
>
> You should drop the e.g.'s.
>
Which I was sure I'd have done... sorry.
> In cases like this where it really is just
> a software algorithm, I would suggest setting the architecture to
> all,
> or omitting the line entirely.
>
Omitting the line is what I also was considering myself. Again, will
do.
> > +# Overview
> > +
> > +Credit (also known as Credit1) is the default virtual CPU (vCPU)
> > scheduler
> > +of the Xen hypervisor. The job of an hypervisor's scheduler is to
> > decide,
> > +among all the various vCPUs of the various virtual machines, which
> > ones
> > +should execute on the host's physical CPUs (pCPUs), at any given
> > point in
> > +time.
>
> A lot of this is generic to all schedulers.
>
Not really. Well, sure some is, but, at the end, this period is pretty
much the only one that is present, identical to itself, in all the
three documents (and I certainly can see about shortening or removing
it, if we don't want that).
And in fact, the rest...
> I wonder whether it might be better to have a schedulers meta-feature
> doc which deals with the common scheduler parts, including
> interactions
> on the Xen command line, xl, etc.
>
...may look similar, but they're subtle differences spread around. And
the more subtle those differences, the higher the amount of cross-
referencing between different documents would be, making it more
difficult to read and understand what the situation is for one specific
scheduler.
xl interface is a good example: sub-commands are very similar, but then
the scheduling parameters are different for each scheduler.
The way in which you create a cpupool is the same (modulo the name=""),
but doesn't necessarily have to be, e.g., if we start allowing
specifing some of the global parameters of the scheduler on the command
line (e.g., "create a Credit cpupool, but with timeslice=10"). Not
possible right now, but doable, and even convenient (I've already have
plans for that :-P).
So, FWIW, I would stick with different documents.
> > +Once the system is live, for creating a cpupool with Credit as its
> > +scheduler, either compile a cpupool configuration file, as
> > described
> > +in `docs/man/xlcpupool.cfg.pod.5` (and as exemplified in
> > +`tools/examples/cpupool`), or use just `xl` directly:
>
> I should see about ensuring that cross-references work with the
> HTML-generated versions of these docs. You might be able to get away
> with just putting in a plain hyperlink here.
>
I thought about that, but then ended up following suit from your
docs/feature/migration.pandoc.
I'll turn this in links if that's what you think is best. Personally, I
's say it makes the _text_ document a bit less readable, but I guess
the version we care about is the _HTML_ one?
Anyway, I'm basically ok with anything. :-)
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: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 127 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-10-13 13:26 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-13 11:01 [PATCH 0/3 for 4.8] docs: feature documents for the schedulers Dario Faggioli
2016-10-13 11:02 ` [PATCH 1/3] docs: Credit1 feature document Dario Faggioli
2016-10-13 11:43 ` Wei Liu
2016-10-13 11:47 ` Andrew Cooper
2016-10-13 13:26 ` Dario Faggioli [this message]
2016-10-13 11:03 ` [PATCH 2/3] docs: Credit2 " Dario Faggioli
2016-10-13 11:04 ` [PATCH 3/3] docs: RTDS " Dario Faggioli
2016-10-13 11:28 ` [PATCH 0/3 for 4.8] docs: feature documents for the schedulers Andrew Cooper
2016-10-13 11:36 ` George Dunlap
2016-10-13 12:44 ` Dario Faggioli
2016-10-13 12:46 ` Wei Liu
2016-10-14 8:55 ` Dario Faggioli
2016-10-13 18:13 ` Stefano Stabellini
2016-10-13 20:10 ` Konrad Rzeszutek Wilk
2016-10-13 21:06 ` Stefano Stabellini
2016-10-14 0:31 ` Andrew Cooper
2016-10-14 0:58 ` Stefano Stabellini
2016-10-14 6:36 ` Jan Beulich
2016-10-14 9:59 ` George Dunlap
2016-10-14 10:11 ` Jan Beulich
2016-10-14 20:03 ` Stefano Stabellini
2016-10-14 18:53 ` Stefano Stabellini
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=1476365210.3314.33.camel@citrix.com \
--to=dario.faggioli@citrix.com \
--cc=George.Dunlap@eu.citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jbeulich@suse.com \
--cc=lars.kurth@citrix.com \
--cc=sstabellini@kernel.org \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.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).