xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Intel Code/Data Prioritization(CDP) feature enabling
@ 2015-09-02  8:27 He Chen
  2015-09-02  8:27 ` [PATCH 1/5] x86: detect Intel CDP feature He Chen
                   ` (5 more replies)
  0 siblings, 6 replies; 17+ messages in thread
From: He Chen @ 2015-09-02  8:27 UTC (permalink / raw)
  To: xen-devel
  Cc: wei.liu2, ian.campbell, stefano.stabellini, andrew.cooper3,
	He Chen, ian.jackson, jbeulich, keir

Hi all,

Code/Data Prioritization(CDP) is offered in Intel Broadwell and later server
platforms, which is an extension of CAT. CDP enables isolation and separate
prioritization of code and data fetches to the L3 cache in a software
configurable manner, which can enable workload prioritization and tuning of
cache capacity to the characteristics of the workload. CDP extends Cache
Allocation Technology (CAT) by providing separate code and data capacity bit
masks(CBM) per Class of Service (COS). CDP is used on VM basis in the Xen
implementation.

More information about CDP, please refer to Intel SDM, Volumn 3, section 17.16
http://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-manual-325462.pdf

This patch series enables CDP feature in Xen based on CAT code, including
extending CBM operation functions and introducing new commands to enable/disable
CDP dynamically. For all the changes, please see in each patch.

This patchset has been tested on Intel Broadwell server platform.

To make this patchset better, any comment or suggestion is welcomed, I would
really appreciate it.

Thanks

He Chen (5):
  x86: detect Intel CDP feature
  x86: Support enable/disable CDP dynamically and get CDP status
  x86: add domctl cmd to set/get CDP code/data CBM
  tools: add tools support for Intel CDP
  docs: add document to introduce CDP command

 docs/man/xl.pod.1             |  22 +++
 docs/misc/xl-psr.markdown     |  56 +++++++-
 tools/libxc/include/xenctrl.h |  10 +-
 tools/libxc/xc_psr.c          |  42 +++++-
 tools/libxl/libxl.h           |  12 ++
 tools/libxl/libxl_psr.c       |  64 ++++++++-
 tools/libxl/libxl_types.idl   |   3 +
 tools/libxl/xl.h              |   4 +
 tools/libxl/xl_cmdimpl.c      |  81 +++++++++--
 tools/libxl/xl_cmdtable.c     |  15 ++
 xen/arch/x86/domctl.c         |  33 ++++-
 xen/arch/x86/psr.c            | 309 ++++++++++++++++++++++++++++++++++++------
 xen/arch/x86/sysctl.c         |   9 +-
 xen/include/asm-x86/psr.h     |  26 +++-
 xen/include/public/domctl.h   |   4 +
 xen/include/public/sysctl.h   |   5 +
 16 files changed, 625 insertions(+), 70 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2015-09-06 16:29 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-02  8:27 [PATCH 0/5] Intel Code/Data Prioritization(CDP) feature enabling He Chen
2015-09-02  8:27 ` [PATCH 1/5] x86: detect Intel CDP feature He Chen
2015-09-02 11:12   ` Andrew Cooper
2015-09-02  8:27 ` [PATCH 2/5] x86: Support enable/disable CDP dynamically and get CDP status He Chen
2015-09-02 11:39   ` Andrew Cooper
2015-09-02 14:07     ` Jan Beulich
2015-09-02  8:28 ` [PATCH 3/5] x86: add domctl cmd to set/get CDP code/data CBM He Chen
2015-09-02 11:59   ` Andrew Cooper
2015-09-06  7:15     ` He Chen
2015-09-06 16:29       ` Andrew Cooper
2015-09-02  8:28 ` [PATCH 4/5] tools: add tools support for Intel CDP He Chen
2015-09-02 13:32   ` Wei Liu
2015-09-02  8:28 ` [PATCH 5/5] docs: add document to introduce CDP command He Chen
2015-09-02 13:32   ` Wei Liu
2015-09-02 12:08 ` [PATCH 0/5] Intel Code/Data Prioritization(CDP) feature enabling Andrew Cooper
2015-09-06  1:18   ` Chao Peng
2015-09-06  6:49   ` He Chen

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).