From: Dario Faggioli <dario.faggioli@citrix.com>
To: "JBeulich@suse.com" <JBeulich@suse.com>
Cc: Wei Liu <wei.liu2@citrix.com>,
Ian Campbell <Ian.Campbell@citrix.com>,
Andrew Cooper <Andrew.Cooper3@citrix.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
"will.auld@intel.com" <will.auld@intel.com>,
Stefano Stabellini <Stefano.Stabellini@citrix.com>,
"chao.p.peng@linux.intel.com" <chao.p.peng@linux.intel.com>,
Ian Jackson <Ian.Jackson@citrix.com>,
"dgdegra@tycho.nsa.gov" <dgdegra@tycho.nsa.gov>,
"Keir (Xen.org)" <keir@xen.org>
Subject: Re: [PATCH v2 3/7] x86: detect and initialize Intel CAT feature
Date: Fri, 20 Mar 2015 10:24:44 +0000 [thread overview]
Message-ID: <1426847083.2560.155.camel@citrix.com> (raw)
In-Reply-To: <550ADEB6020000780006BA5B@mail.emea.novell.com>
[-- Attachment #1.1: Type: text/plain, Size: 2243 bytes --]
On Thu, 2015-03-19 at 13:35 +0000, Jan Beulich wrote:
> >>> On 19.03.15 at 13:44, <dario.faggioli@citrix.com> wrote:
> > On Thu, 2015-03-19 at 18:41 +0800, Chao Peng wrote:
> >
> >> diff --git a/docs/misc/xen-command-line.markdown
> > b/docs/misc/xen-command-line.markdown
> >> index 63871cb..768c55f 100644
> >> --- a/docs/misc/xen-command-line.markdown
> >> +++ b/docs/misc/xen-command-line.markdown
> >> @@ -1090,9 +1090,9 @@ This option can be specified more than once (up to 8
> > times at present).
> >> > `= <integer>`
> >>
> >> ### psr (Intel)
> >> -> `= List of ( cmt:<boolean> | rmid_max:<integer> )`
> >> +> `= List of ( cmt:<boolean> | rmid_max:<integer> | cat:<boolean> |
> > num_sockets:<interger> )`
> >>
> > As Tim, I also don't like the 'num_sockets' part of the interface.
> >
> > Actually, I'm not sure I understand what the idea behind this parameter
> > is. You say:
> >
> >> +* Cache Alllocation Technology (Broadwell and later). Information regarding
> >> + the cache allocation.
> >> + * `cat` instructs Xen to enable/disable Cache Allocation Technology.
> >> + * `num_sockets` indicates the number of available sockets for CAT feature
> >> + detection. All the sockets up to num_sockets will be checked for CAT
> >> + feature.
> >>
> > What it the use case of specifying, say, num_sockets=2, on a 4 socket
> > system?
> >
> > Is it for making it possible for the user to disable the feature on some
> > of the socket? If yes, I think it does make sense, but then why always
> > the last ones? shouldn't this be a list of socket IDs?
>
> I had asked about this before, and the answer was that this is to
> _extend_ the range of sockets, to cover the CPU hotplug case.
>
Ah... yes, hotplug is mentioned in the text.
> But
> of course I could see ways to at least default the count to something
> reasonable even taking hotplug into account (like taking the boot
> time CPUs-per-socket value and dividing nr_cpu_ids by that value).
>
Indeed. I'm not that much a user of hotplug, but AFAICT, what's cool of
it is that it is dynamic, and having to define this parameter upfront
and/or then being limited by it is certainly suboptimal.
Dario
[-- 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:[~2015-03-20 10:24 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-19 10:41 [PATCH v2 0/7] enable Cache Allocation Technology (CAT) for VMs Chao Peng
2015-03-19 10:41 ` [PATCH v2 1/7] x86: clean up psr boot parameter parsing Chao Peng
2015-03-20 16:47 ` Jan Beulich
2015-03-23 8:32 ` Chao Peng
2015-03-23 8:47 ` Jan Beulich
2015-03-19 10:41 ` [PATCH v2 2/7] x86: improve psr scheduling code Chao Peng
2015-03-19 10:41 ` [PATCH v2 3/7] x86: detect and initialize Intel CAT feature Chao Peng
2015-03-19 11:38 ` Tim Deegan
2015-03-19 12:44 ` Dario Faggioli
2015-03-19 13:35 ` Jan Beulich
2015-03-20 10:24 ` Dario Faggioli [this message]
2015-03-23 8:36 ` Chao Peng
2015-03-20 17:00 ` Jan Beulich
2015-03-19 10:41 ` [PATCH v2 4/7] x86: add support for COS/CBM manangement Chao Peng
2015-03-20 17:13 ` Jan Beulich
2015-03-23 8:47 ` Chao Peng
2015-03-23 9:03 ` Jan Beulich
2015-03-19 10:41 ` [PATCH v2 5/7] x86: add scheduling support for Intel CAT Chao Peng
2015-03-19 10:41 ` [PATCH v2 6/7] xsm: add CAT related xsm policies Chao Peng
2015-03-19 10:41 ` [PATCH v2 7/7] tools: add tools support for Intel CAT Chao Peng
2015-03-19 12:51 ` Ian Campbell
2015-03-24 11:20 ` Chao Peng
2015-03-24 12:22 ` Ian Campbell
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=1426847083.2560.155.camel@citrix.com \
--to=dario.faggioli@citrix.com \
--cc=Andrew.Cooper3@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=Ian.Jackson@citrix.com \
--cc=JBeulich@suse.com \
--cc=Stefano.Stabellini@citrix.com \
--cc=chao.p.peng@linux.intel.com \
--cc=dgdegra@tycho.nsa.gov \
--cc=keir@xen.org \
--cc=wei.liu2@citrix.com \
--cc=will.auld@intel.com \
--cc=xen-devel@lists.xen.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 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.