[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] docs: fix documentation about default scheduler


  • To: George Dunlap <George.Dunlap@xxxxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Wed, 11 Nov 2020 12:37:26 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5kZWfWIhx2RjfP2NAAjZM9KwgA88SUFpP0h7VcqMtMY=; b=C1c1ujbnyjwKrOZghFivP/wvRuS0gMS56FERva75rZser86xUFmthTCXEMf8a57By8YhHgi8CGH/lSSgvSuvX+V2FwTtK4S5d08lN4Yt5JfH6olh88EYGnzEsRV2uX+W60ok64pv7I4Wv4pcD9LPcAb+vxrIOaB/IDmchTU8m1d/FG7I9zdzzv3byj/XGM4OhUubhAGHUKoFy7VJXkyfltfk4CZvWJx3PrMnz8hi/ZL/shHALwNEm0oCOwvVx4ECZJ20zbEJKtca5jbxHbTzSSnm5WloAyaWG2QKHUO6AYQQOGjXzKND/dM+QLZX+o+5IzbwuxBS1PThGnkMm6MNoQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VSmrSAlk0uB+c8FlQnXi0Wvp9iOPAg2oWfeQGqgQZLxq2a3OWrC4AJ6edUiKVBUcjepqsChOfUTbHVPjSm/2EZmoz/yp2ftkWjQqwjAkEq4mzrwfaUqcpMG3VNRZTFub34HCzqERS5jEdtfRE68c8Kv/sGR47GYGE1cCsaxemweAfEoQOW0LBfLVPubr81BAj0bVvrnCiCe6OT1vkt/4HdLBAxsA6um5X9wNMH30zDuX/iHYcfL/nB3lG8EPdcXZvpiBll6Sfey0jTICmYSvJ2iXx04I1gPp87Rf8UIdgcwnHYINeaBc8mSmT4auUBYP82a4kzzIS8rgiimcspwoZg==
  • Authentication-results: esa1.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>, "open list:X86" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, "Jan Beulich" <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, "Stefano Stabellini" <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Wed, 11 Nov 2020 11:37:44 +0000
  • Ironport-sdr: T/gZ5yTe7OUWbCeyld5+RaT1yWeTwowFhXbl2SiM5drIaW+ANDMxt+xXJlECdO3EfBlIUGvjON iitNxc6pUVBB26SmUN/+JCKcOeue/yY9+G3CqR4fWdaSZL4ZUs3eXEfq+iKzpfGka51fMAInwt 6iU6Bs/xZAbvp6ya/IgAtOgMgPG0xvj966dvdcFtxhkKOJfBx76km2uMmDRCQLOZQsOr87vWoj I3cWWb/3aKp1Gn99Dr2AzAGWbxLDvk2r1YYAFW3jRbi8Z936A2qFJUFOIwJw1bH0xZJr3zmF37 Bmk=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Wed, Nov 11, 2020 at 12:24:50PM +0100, George Dunlap wrote:
> 
> 
> > On Nov 11, 2020, at 11:10 AM, Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx> 
> > wrote:
> > 
> > On 11/11/2020 10:12, George Dunlap wrote:
> >> 
> >>> On Nov 10, 2020, at 6:51 PM, Roger Pau Monne <roger.pau@xxxxxxxxxx> wrote:
> >>> 
> >>> Fix the command line document to account for the default scheduler not
> >>> being credit anymore likely, and the fact that it's selectable from
> >>> Kconfig and thus different builds could end up with different default
> >>> schedulers.
> >>> 
> >>> Fixes: dafd936dddbd ('Make credit2 the default scheduler')
> >>> Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
> >>> ---
> >>> Changes since v1:
> >>> - Point that the default scheduler is being selected by Kconfig,
> >>>  don't mention the default Kconfig selection.
> >>> ---
> >>> docs/misc/xen-command-line.pandoc | 2 +-
> >>> 1 file changed, 1 insertion(+), 1 deletion(-)
> >>> 
> >>> diff --git a/docs/misc/xen-command-line.pandoc 
> >>> b/docs/misc/xen-command-line.pandoc
> >>> index 4ae9391fcd..eb1db25f92 100644
> >>> --- a/docs/misc/xen-command-line.pandoc
> >>> +++ b/docs/misc/xen-command-line.pandoc
> >>> @@ -1876,7 +1876,7 @@ with read and write permissions.
> >>> ### sched
> >>>> `= credit | credit2 | arinc653 | rtds | null`
> >>> -> Default: `sched=credit`
> >>> +> Default: selectable via Kconfig.  Depends on enabled schedulers.
> >> Sorry for not weighing in earlier; but this basically makes this 
> >> documentation useless.
> > 
> > No.  It is the only half useable version, by being the only version
> > which isn't misleading.
> 
> The version in this patch essentially says “This has some options, it also 
> has a default, but we’re not going to tell you any of them, nor what your 
> default most likely is.  Go read KConfig to find out.”  This is is completely 
> useless to the person trying to figure out what the default is and what 
> potential alternate values they can put here.
> 
> The vast majority of people who search for this on the internet will have 
> that list of options, and have credit2=default.  As long as we tell them that 
> a local configuration can override the available options and the default, 
> people are smart enough to figure out what their system is doing.
> 
> > It would however be far better to name the CONFIG_ variable (we do
> > elsewhere in this doc) in question so people can actually figure out
> > what they've got in front of them.
> 
> Something like that would be even better, if Roger (or someone) wants to 
> write it up.

I'm happy to send an updated version, but would like to have some
agreement before doing so. Is the text below acceptable to everyone?

### sched
> `= credit | credit2 | arinc653 | rtds | null`

> Default: `sched=credit2`

Choose the default scheduler. Note the default scheduler is selectable via
Kconfig and depends on enabled schedulers. Check
`CONFIG_SCHED_{scheduler_name}_DEFAULT` when you building Xen to adjust the
default scheduler.

Roger.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.