intel / cri-resource-manager

Kubernetes Container Runtime Interface proxy service with hardware resource aware workload placement policies
Apache License 2.0
175 stars 56 forks source link

Memory Tiering: cold start of workloads. #247

Open kad opened 4 years ago

kad commented 4 years ago

Idea to try to implement and measure: For workloads that have both enabled DRAM+PMEM, we can try to start containers with only PMEM type of memory enabled, and enable DRAM memory nodes access at the point when container is in healthy running state.

Triggers that would allow DRAM usage

kad commented 4 years ago

@ipuustin we have in ListContainerStats calls, which have memory->working_set_bytes field. We can utilize that field to trigger event on "now it is good time to enable DRAM".

msivosuo commented 4 years ago

@kad - can we close?

msivosuo commented 4 years ago

@kad -please refine description to include the parts not yet implemented.