02 Aug, 2017
2 commits
-
CPUID.(EAX=0x10, ECX=res#):EBX[31:0] reports a bit mask for a resource.
Each set bit within the length of the CBM indicates the corresponding
unit of the resource allocation may be used by other entities in the
platform (e.g. an integrated graphics engine or hardware units outside
the processor core and have direct access to the resource). Each
cleared bit within the length of the CBM indicates the corresponding
allocation unit can be configured to implement a priority-based
allocation scheme without interference with other hardware agents in
the system. Bits outside the length of the CBM are reserved.More details on the bit mask are described in x86 Software Developer's
Manual.The bitmask is shown in "info" directory for each resource. It's
up to user to decide how to use the bitmask within a CBM in a partition
to share or isolate a resource with other executing units.Suggested-by: Reinette Chatre
Signed-off-by: Fenghua Yu
Signed-off-by: Tony Luck
Signed-off-by: Thomas Gleixner
Cc: ravi.v.shankar@intel.com
Cc: peterz@infradead.org
Cc: eranian@google.com
Cc: ak@linux.intel.com
Cc: davidcc@google.com
Cc: vikas.shivappa@linux.intel.com
Link: http://lkml.kernel.org/r/20170725223904.12996-1-tony.luck@intel.com -
Add a description of resctrl based RDT(resource director technology)
monitoring extension and its usage.[Tony: Added descriptions for how monitoring and allocation are measured
and some cleanups]Signed-off-by: Vikas Shivappa
Signed-off-by: Tony Luck
Signed-off-by: Thomas Gleixner
Cc: ravi.v.shankar@intel.com
Cc: fenghua.yu@intel.com
Cc: peterz@infradead.org
Cc: eranian@google.com
Cc: vikas.shivappa@intel.com
Cc: ak@linux.intel.com
Cc: davidcc@google.com
Cc: reinette.chatre@intel.com
Link: http://lkml.kernel.org/r/1501017287-28083-3-git-send-email-vikas.shivappa@linux.intel.com
09 May, 2017
1 commit
-
Example 3 contains a typo:
"C0" in "# echo C0 > p0/cpus" is wrong because it specifies core
6-7 instead of wanted core 4-7.Correct this typo to avoid confusion.
Signed-off-by: Xiaochen Shen
Acked-by: Fenghua Yu
Cc: vikas.shivappa@linux.intel.com
Cc: tony.luck@intel.com
Link: http://lkml.kernel.org/r/1493781356-24229-1-git-send-email-xiaochen.shen@intel.com
Signed-off-by: Thomas Gleixner
14 Apr, 2017
1 commit
-
Update the 'intel_rdt_ui' documentation to have Memory bandwidth(b/w)
allocation interface usage.Signed-off-by: Vikas Shivappa
Cc: ravi.v.shankar@intel.com
Cc: tony.luck@intel.com
Cc: fenghua.yu@intel.com
Cc: vikas.shivappa@intel.com
Link: http://lkml.kernel.org/r/1491611637-20417-2-git-send-email-vikas.shivappa@linux.intel.com
Signed-off-by: Thomas Gleixner
11 Apr, 2017
1 commit
-
The resource control filesystem provides only a bitmask based cpus file for
assigning CPUs to a resource group. That's cumbersome with large cpumasks
and non-intuitive when modifying the file from the command line.Range based cpu lists are commonly used along with bitmask based cpu files
in various subsystems throughout the kernel.Add 'cpus_list' file which is CPU range based.
# cd /sys/fs/resctrl/
# echo 1-10 > krava/cpus_list
# cat krava/cpus_list
1-10
# cat krava/cpus
0007fe
# cat cpus
fffff9
# cat cpus_list
0,3-23[ tglx: Massaged changelog and replaced "bitmask lists" by "CPU ranges" ]
Signed-off-by: Jiri Olsa
Cc: Fenghua Yu
Cc: Peter Zijlstra
Cc: Peter Zijlstra
Cc: Mike Galbraith
Cc: Shaohua Li
Link: http://lkml.kernel.org/r/20170410145232.GF25354@krava
Signed-off-by: Thomas Gleixner
05 Apr, 2017
1 commit
-
The schemata file can have multiple lines and it is cumbersome to update
all lines.Remove code that requires that the user provides values for every resource
(in the right order). If the user provides values for just a few
resources, update them and leave the rest unchanged.Side benefit: we now check which values were updated and only send IPIs to
cpus that actually have updates.Signed-off-by: Tony Luck
Signed-off-by: Vikas Shivappa
Tested-by: Sai Praneeth Prakhya
Cc: ravi.v.shankar@intel.com
Cc: fenghua.yu@intel.com
Cc: peterz@infradead.org
Cc: vikas.shivappa@intel.com
Cc: h.peter.anvin@intel.com
Link: http://lkml.kernel.org/r/1491255857-17213-3-git-send-email-vikas.shivappa@linux.intel.com
Signed-off-by: Thomas Gleixner
15 Dec, 2016
1 commit
-
Concurrent write or read/write access from applications to the resctrlfs
directory can result in incorrect readouts or setups.Recommend a standard locking scheme for applications to use.
Signed-off-by: Marcelo Tosatti
Cc: Fenghua Yu
Link: http://lkml.kernel.org/r/20161214170835.GA16924@amt.cnet
Signed-off-by: Thomas Gleixner
07 Nov, 2016
1 commit
-
The content of the directories and files in the info directory of the
resctrl filesystem are not documented.Add the missing bits and pieces.
Signed-off-by: Thomas Gleixner
Cc: Shaohua Li
Cc: Fenghua Yu
Cc: Tony Luck
31 Oct, 2016
1 commit
-
The documentation describes user interface of how to allocate resource
in Intel RDT.Please note that the documentation covers generic user interface. Current
patch set code only implemente CAT L3. CAT L2 code will be sent later.[ tglx: Added cpu example ]
Signed-off-by: Fenghua Yu
Cc: "Ravi V Shankar"
Cc: "Tony Luck"
Cc: "Shaohua Li"
Cc: "Sai Prakhya"
Cc: "Peter Zijlstra"
Cc: "Stephane Eranian"
Cc: "Dave Hansen"
Cc: "David Carrillo-Cisneros"
Cc: "Nilay Vaish"
Cc: "Vikas Shivappa"
Cc: "Ingo Molnar"
Cc: "Borislav Petkov"
Cc: "H. Peter Anvin"
Link: http://lkml.kernel.org/r/1477692289-37412-2-git-send-email-fenghua.yu@intel.com
Signed-off-by: Thomas Gleixner