compute-runtime/shared/source/debug_settings
Dominik Dabek 915d657420 fix: flag to limit usm reuse based on memory usage
Host usm and device usm for igfx checks system memory usage.
Device usm for dgfx checks local memory usage.

If used memory is above limit threshold:
- no new allocations will be saved for reuse
- cleaner will use shorter hold time of 2 seconds
- cleaner will free all eligible allocations, regardless of async
deleter thread having work

Motivation: in case of gfx memory being full, making resident new
allocations will require evictions which leads to massive slowdown on
enqueue calls.
This change aims to minimize cases where extra memory usage from usm
reuse mechanism leads to above situation.

Related-To: NEO-6893, NEO-14160

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-03-27 10:25:19 +01:00
..
definitions Copyright header update 2021-05-17 20:38:19 +02:00
linux Add linux-only switch to enable debug env variables read 2020-08-27 08:35:32 +02:00
windows Add linux-only switch to enable debug env variables read 2020-08-27 08:35:32 +02:00
CMakeLists.txt Correct branch_dir_suffix in cmake 2021-09-14 16:00:20 +02:00
debug_settings_manager.cpp refactor: Enforce constexpr evaluation on getNonReleaseKeyName 2025-02-18 16:03:41 +01:00
debug_settings_manager.h fix: re-add switch case for once writable query 2025-03-19 09:54:54 +01:00
debug_variables_base.inl fix: flag to limit usm reuse based on memory usage 2025-03-27 10:25:19 +01:00
debug_variables_helper.h Add linux-only switch to enable debug env variables read 2020-08-27 08:35:32 +02:00
release_variables.inl Revert "fix: enable cache env variables for level-zero" 2024-01-31 08:33:05 +01:00