diff options
author | Vikas Shivappa <[email protected]> | 2017-08-15 18:00:43 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-08-16 12:05:41 +0200 |
commit | 24247aeeabe99eab13b798ccccc2dec066dd6f07 (patch) | |
tree | 5ae1fddc1d0ae510c0060783092a6a618add6103 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bbc4615e0b7df5e21d0991adb4b2798508354924 (diff) |
x86/intel_rdt/cqm: Improve limbo list processing
During a mkdir, the entire limbo list is synchronously checked on each
package for free RMIDs by sending IPIs. With a large number of RMIDs (SKL
has 192) this creates a intolerable amount of work in IPIs.
Replace the IPI based checking of the limbo list with asynchronous worker
threads on each package which periodically scan the limbo list and move the
RMIDs that have:
llc_occupancy < threshold_occupancy
on all packages to the free list.
mkdir now returns -ENOSPC if the free list and the limbo list ere empty or
returns -EBUSY if there are RMIDs on the limbo list and the free list is
empty.
Getting rid of the IPIs also simplifies the data structures and the
serialization required for handling the lists.
[ tglx: Rewrote changelog ... ]
Signed-off-by: Vikas Shivappa <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions