Skip to content
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

runtime: improved memory overhead management #281

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

danmihai1
Copy link

After these changes:

  1. The value of the K8s runtime class memory overhead:

    • Covers the memory usage from all the Host-side components (mainly the Kata Shim and the VMM).
    • Doesn't include the memory usage from any Guest-side components.
  2. The value of a pod memory limit specified by the user:

    • Is equal to the memory size of the Pod VM.
    • Includes the memory usage from all the Guest-side components (mainly user's workload, the Guest kernel, and the Kata Agent)
    • Doesn't include the memory usage from any Host-side components.

@danmihai1 danmihai1 requested a review from ms-mahuber January 2, 2025 20:38
@danmihai1 danmihai1 requested review from a team as code owners January 2, 2025 20:38
After these changes:

1. The value of the K8s runtime class memory overhead:
   - Covers the memory usage from all the Host-side components (mainly
     the Kata Shim and the VMM).
   - Doesn't include the memory usage from any Guest-side components.

2. The value of a pod memory limit specified by the user:
   - Is equal to the memory size of the Pod VM.
   - Includes the memory usage from all the Guest-side components
     (mainly user's workload, the Guest kernel, and the Kata Agent)
   - Doesn't include the memory usage from any Host-side components.

Signed-off-by: Dan Mihai <[email protected]>
@danmihai1 danmihai1 force-pushed the danmihai1/memory-overhead-clarity branch from 7bee39b to c7b8ee9 Compare January 2, 2025 21:59
@danmihai1 danmihai1 merged commit 32dde44 into msft-main Jan 2, 2025
45 of 55 checks passed
@danmihai1 danmihai1 deleted the danmihai1/memory-overhead-clarity branch January 2, 2025 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants