xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: Nathan Studer <nate.studer@dornerworks.com>
Cc: Ian Campbell <ian.campbell@citrix.com>,
	Xi Sisu <xisisu@gmail.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	George Dunlap <george.dunlap@eu.citrix.com>,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	Robert VanVossen <robert.vanvossen@dornerworks.com>,
	xen-devel@lists.xen.org,
	Joshua Whitehead <josh.whitehead@dornerworks.com>,
	Dario Faggioli <dario.faggioli@eu.citrix.com>
Subject: Re: [RFC Patch 1/3] Remove sedf extra, weight, and latency parameter support.
Date: Mon, 17 Mar 2014 18:02:54 +0100	[thread overview]
Message-ID: <1395075774.4159.315.camel@Solace> (raw)
In-Reply-To: <1394824400-2796-2-git-send-email-nate.studer@dornerworks.com>


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

On ven, 2014-03-14 at 15:13 -0400, Nathan Studer wrote:
> From: Nathan Studer <nate.studer@dornerworks.com>
> 
> Remove sedf extra, weight, and latency parameters from the scheduler's adjust
> function.  Also remove the support for these parameters from the xl toolstack.
> 
So, from the code point of view, this looks okay, as the rest of the
series.

My only concern is that, at least extratime and weight, we may need in
future, so we'll be removing them here, to reintroduce them in a bit.

The reason why I think we could need them back is that, although I
concur that work conserving-ness is less important now that there are
schedulers much more suitable for general purpose workloads (credit and
credit2), it, in my experience, could come handy in real-time scenarios
too.

However, what the best interface is will only become clear in a while,
after the re-design and the re-implementation. Therefore, my take on
this would be, let's remove everything, as you're doing in here, and
perhaps add what we will end up needing when we will need it/them...
which would mean an Ack, from my side, on this patch too.

However, since we're discussing interfaces, I'd love to hear what others
think. Of course, even if we take the 'kill everything [for now]' route,
there's the matter of libxl API stability.

So, when it'll come to this, and other libxl API related changes:

> index 7d3a62b..1265a73
> --- a/tools/libxl/libxl_types.idl
> +++ b/tools/libxl/libxl_types.idl
> @@ -291,8 +291,6 @@ libxl_domain_sched_params = Struct("domain_sched_params",[
>      ("cap",          integer, {'init_val': 'LIBXL_DOMAIN_SCHED_PARAM_CAP_DEFAULT'}),
>      ("period",       integer, {'init_val': 'LIBXL_DOMAIN_SCHED_PARAM_PERIOD_DEFAULT'}),
>      ("slice",        integer, {'init_val': 'LIBXL_DOMAIN_SCHED_PARAM_SLICE_DEFAULT'}),
> -    ("latency",      integer, {'init_val': 'LIBXL_DOMAIN_SCHED_PARAM_LATENCY_DEFAULT'}),
> -    ("extratime",    integer, {'init_val': 'LIBXL_DOMAIN_SCHED_PARAM_EXTRATIME_DEFAULT'}),
>      ])
>  
We'll need the macro tricks to make it safe.

For adding fields we usually specify a suitable LIBXL_HAV_FOO symbol...
I guess in this case LIBXL_API_VERSION is more suitable? If yes, I'm not
sure how it would be best use to affect the actual struct definition, as
it originates from the IDL parser...

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

  parent reply	other threads:[~2014-03-17 17:02 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-14 19:13 [RFC Patch 0/3] Putting the "Simple" back in sedf Nathan Studer
2014-03-14 19:13 ` [RFC Patch 1/3] Remove sedf extra, weight, and latency parameter support Nathan Studer
2014-03-17  8:13   ` Jan Beulich
2014-03-17 17:02   ` Dario Faggioli [this message]
2014-03-21 11:16   ` Ian Campbell
2014-03-21 12:25     ` Nate Studer
2014-03-21 16:16       ` Dario Faggioli
2014-03-21 16:50         ` Sisu Xi
2014-03-24 15:44           ` Dario Faggioli
2014-03-14 19:13 ` [RFC Patch 2/3] Remove extra queues, latency scaling, and weight support from sedf Nathan Studer
2014-03-14 19:13 ` [RFC Patch 3/3] Fix formatting and misleading comments/variables in sedf Nathan Studer
2014-03-17 16:49   ` Dario Faggioli
2014-03-17 17:00     ` Nate Studer
2014-03-14 19:22 ` [RFC Patch 0/3] Putting the "Simple" back " George Dunlap
2014-03-14 20:13   ` Nate Studer
2014-03-14 20:31     ` Nate Studer
2014-03-17 10:29       ` Dario Faggioli
2014-03-17 15:51     ` Dario Faggioli
2014-03-17 17:01       ` Sisu Xi

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=1395075774.4159.315.camel@Solace \
    --to=dario.faggioli@citrix.com \
    --cc=dario.faggioli@eu.citrix.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=josh.whitehead@dornerworks.com \
    --cc=nate.studer@dornerworks.com \
    --cc=robert.vanvossen@dornerworks.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xen.org \
    --cc=xisisu@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).