lkml.org 
[lkml]   [2020]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] x86/resctrl: Enable user to view and select thread throttling mode
Date
The first patch in this series introduces a new resctrl file,
"thread_throttle_mode", on Intel systems that exposes to the
user how per-thread values are allocated to a core. This is added in
support of newer Intel systems that can be configured to allocate
either maximum or minimum throttling of the per-thread CLOS values
to the core.

Details about the feature can be found in the commit description and
in Chapter 9 of the most recent Intel ISE available from
https://software.intel.com/sites/default/files/managed/c5/15/architecture-instruction-set-extensions-programming-reference.pdf

The first patch parses user input with the appropriate sysfs API that has
not previously been used in resctrl. The second patch is added as a
subsequent cleanup that switches existing resctrl string parsing code
to also use this appropriate API.

Reinette Chatre (2):
x86/resctrl: Enable user to view and select thread throttling mode
x86/resctrl: Use appropriate API for strings terminated by newline

Documentation/x86/resctrl_ui.rst | 21 ++-
arch/x86/kernel/cpu/resctrl/core.c | 29 ++++
arch/x86/kernel/cpu/resctrl/internal.h | 9 +
arch/x86/kernel/cpu/resctrl/rdtgroup.c | 221 +++++++++++++++++++++++--
4 files changed, 266 insertions(+), 14 deletions(-)

--
2.21.0

\
 
 \ /
  Last update: 2020-04-01 20:31    [W:0.868 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site