-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libmem: implement policy-agnostic memory allocation/accounting. #332
base: main
Are you sure you want to change the base?
Commits on Sep 17, 2024
-
resmgr: use better container names in dumps.
Use PrettyName()-compatible container name dumps together with container IDs in NRI evnet dumps. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Configuration menu - View commit details
-
Copy full SHA for fdb6660 - Browse repository at this point
Copy the full SHA fdb6660View commit details -
resmgr: use module-global logger.
Having loggers embedded in resmgr types as members was a bad idea. Replace them with module global logger instances. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Configuration menu - View commit details
-
Copy full SHA for d399547 - Browse repository at this point
Copy the full SHA d399547View commit details
Commits on Sep 18, 2024
-
resmgr: lifecycle overlap detection and workaround.
We recently discovered a problem with the generated stream of container lifecycle events with some runtime versions. A side effect of this is that we get Create/Stop events for multiple container instances with seemingly overlapping lifecycle: the latter instance get created before the former one is stopped. When undetected, such a false overlap might cause overcommit of resources, with both instances temporarily using the full resource set of the container. As a workaround, we now track containers also by fully qualified name ($namespace/pod/ctr) and internally generate an event for releasing the resources if the old instance whenever we notice that a creation event would cause a duplicate instance for the same name. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Configuration menu - View commit details
-
Copy full SHA for d551afc - Browse repository at this point
Copy the full SHA d551afcView commit details -
topology-aware: check grants, look for stales duplicates.
Check grants, looking for grants with stale allocations or duplicate containers (detected using fully qualified names). Dump total memory and CPU granted. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Configuration menu - View commit details
-
Copy full SHA for f609d93 - Browse repository at this point
Copy the full SHA f609d93View commit details -
libmem: initial policy agnostic memory allocator.
Initial implementation of a policy agnostic memory accounting and allocation library. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Configuration menu - View commit details
-
Copy full SHA for f301e5d - Browse repository at this point
Copy the full SHA f301e5dView commit details -
libmem: add unit tests and sample sysfs test data.
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Configuration menu - View commit details
-
Copy full SHA for bca8148 - Browse repository at this point
Copy the full SHA bca8148View commit details -
libmem: add a short description of libmem.
Add a brief description of libmem, its basic ideas and core concepts, as package level documentation. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Configuration menu - View commit details
-
Copy full SHA for b7a7750 - Browse repository at this point
Copy the full SHA b7a7750View commit details -
topology-aware: initial libmem conversion.
Cut out the original memory accounting and allocation code. Plug in a libmem-based memory allocator instead. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 22831c7 - Browse repository at this point
Copy the full SHA 22831c7View commit details -
topology-aware: update unit tests.
Update unit tests after libmem conversion. Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 08c8711 - Browse repository at this point
Copy the full SHA 08c8711View commit details -
balloons: initial libmem conversion.
Plug in libmem-based memory allocation (and accounting). Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 029e531 - Browse repository at this point
Copy the full SHA 029e531View commit details -
balloons,cache: support memory-type annotations.
Add support for per balloon type memory configuration and per container overrides using pod annotations. Pass configured or annotated memory types to libmem for allocation. TODO(klihub): per balloon configuration still missing (?) Co-authored-by: Krisztian Litkey <krisztian.litkey@intel.com> Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Configuration menu - View commit details
-
Copy full SHA for ec6c303 - Browse repository at this point
Copy the full SHA ec6c303View commit details -
e2e: add topology-aware memory allocation tests.
Add first e2e tests for topology-aware policy memory allocation and type control. Co-authored-by: Krisztian Litkey <krisztian.litkey@intel.com> Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Configuration menu - View commit details
-
Copy full SHA for fade0eb - Browse repository at this point
Copy the full SHA fade0ebView commit details -
e2e: support memory-type annotations in created pods
"MEMTYPE=x create ..." in test scripts creates a guaranteed or burstable pod with "memory-type...: x" annotation effective for all containers in the pod. Signed-off-by: Antti Kervinen <antti.kervinen@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 1585cb6 - Browse repository at this point
Copy the full SHA 1585cb6View commit details -
e2e: add fuzz test sources for hbm/dram/pmem pods
Adds fuzz test generator script, model and runner for topology-aware policy reliability tests on HBM+DRAM+PMEM platform. Signed-off-by: Antti Kervinen <antti.kervinen@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 0bb2c73 - Browse repository at this point
Copy the full SHA 0bb2c73View commit details