xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Nate Studer <nate.studer@dornerworks.com>
To: Ian Campbell <Ian.Campbell@citrix.com>,
	Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Xi Sisu <xisisu@gmail.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	George Dunlap <george.dunlap@eu.citrix.com>,
	Dario Faggioli <dario.faggioli@citrix.com>,
	Robert VanVossen <robert.vanvossen@dornerworks.com>,
	xen-devel@lists.xen.org,
	Joshua Whitehead <josh.whitehead@dornerworks.com>
Subject: Re: [RFC Patch 1/3] Remove sedf extra, weight, and latency parameter support.
Date: Fri, 21 Mar 2014 08:25:51 -0400	[thread overview]
Message-ID: <532C2FCF.105@dornerworks.com> (raw)
In-Reply-To: <1395400573.27358.44.camel@kazak.uk.xensource.com>

On 3/21/2014 7:16 AM, Ian Campbell wrote:
> On Fri, 2014-03-14 at 15:13 -0400, Nathan Studer wrote:
>> diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h
>> old mode 100644
>> new mode 100755
>> index 4c9cd64..6be5575
>> --- a/tools/libxl/libxl.h
>> +++ b/tools/libxl/libxl.h
>> @@ -1093,8 +1093,6 @@ int libxl_sched_credit_params_set(libxl_ctx *ctx, uint32_t poolid,
>>  #define LIBXL_DOMAIN_SCHED_PARAM_CAP_DEFAULT       -1
>>  #define LIBXL_DOMAIN_SCHED_PARAM_PERIOD_DEFAULT    -1
>>  #define LIBXL_DOMAIN_SCHED_PARAM_SLICE_DEFAULT     -1
>> -#define LIBXL_DOMAIN_SCHED_PARAM_LATENCY_DEFAULT   -1
>> -#define LIBXL_DOMAIN_SCHED_PARAM_EXTRATIME_DEFAULT -1
>>  
>>  int libxl_domain_sched_params_get(libxl_ctx *ctx, uint32_t domid,
>>                                    libxl_domain_sched_params *params);
> [...]
>> diff --git a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl
>> old mode 100644
>> new mode 100755
>> 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'}),
>>      ])
>>  
>>  libxl_domain_build_info = Struct("domain_build_info",[
> 
> We need to do something about ABI compatiblity here. Please see the
> comments near the top of libxl.h.
> 
> If you were adding new features, or even if replacing, then the obvious
> answer would be LIBXL_HAVE_NEW_SCHED_THING (which would imply removal of
> the old).
> 
> If you intend in a future non-RFC version of this series to do something
> like that then we can follow that path at that time.

Thanks for the information Ian.

This is the intention, so we would prefer the LIBXL_HAVE_NEW_SCHED_THING path.
It seems cleaner.

We just wanted to make sure that there were no major objections to re-purposing
the sedf scheduler before we went too far down that path, and so far we have not
seen anybody step up to defend the sedf scheduler.

    Nate
> 
> Otherwise two options come to mind:
> 	#define LIBXL_HAVE_NO_SCHED_SEDF_{LATENCY,EXTRATIME}
> or
> 	#define LIBXL_HAVE_SCHED_SEDF_V2
> 
> I think I vaguely prefer the first.
> 
> Ian.
> 

  reply	other threads:[~2014-03-21 12:25 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
2014-03-21 11:16   ` Ian Campbell
2014-03-21 12:25     ` Nate Studer [this message]
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=532C2FCF.105@dornerworks.com \
    --to=nate.studer@dornerworks.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=dario.faggioli@citrix.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=josh.whitehead@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).