diff options
author | Tvrtko Ursulin <tvrtko.ursulin@igalia.com> | 2025-06-03 12:27:50 +0100 |
---|---|---|
committer | Tvrtko Ursulin <tursulin@ursulin.net> | 2025-06-03 15:56:32 +0100 |
commit | 22b929b25293208d9d34ff6fa783c6788e0b791c (patch) | |
tree | 44c831fcc834e47ae556c14898bcdc79939c5342 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | eac21f8ebeb4f84d703cf41dc3f81d16fa9dc00a (diff) |
drm/ttm: Increase pool shrinker batch target
The default core shrink target of 128 pages (SHRINK_BATCH) is quite low
relative to how cheap TTM pool shrinking is, and how the free pages are
distributed in page order pools.
We can make the target a bit more aggressive by making it roughly the
average number of pages across all pools, freeing more of the cached
pages every time shrinker core invokes our callback.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net>
Link: https://lore.kernel.org/r/20250603112750.34997-3-tvrtko.ursulin@igalia.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions