-
Notifications
You must be signed in to change notification settings - Fork 374
Conversation
Sending this to kick start discussion on how to support hugepage for containers with Kata. |
Related agent side code - kata-containers/agent#872 |
a2d5218
to
37348cd
Compare
closing and re-opening to check if CI works |
/test-ubuntu |
37348cd
to
054ca93
Compare
/test-ubuntu |
Codecov Report
@@ Coverage Diff @@
## master #3109 +/- ##
==========================================
- Coverage 50.35% 50.30% -0.05%
==========================================
Files 120 120
Lines 15918 16045 +127
==========================================
+ Hits 8016 8072 +56
- Misses 6812 6881 +69
- Partials 1090 1092 +2 |
/test-vfio |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some questions below, but stepping back I'm wondering how this will work in Kubernetes. To actually provide huge pages, we want to volume to be backed by huge pages from the host itself. To facilitate that, AFAICT we'd want the entire VM to be backed by huge pages?
Assuming that.... huge pages are a finite resource, and is tracked by kubelet and the Kube-scheduler. If we back the entire VM in huge pages, we are using a lot more than just what was requested in the pod spec? Worse, I would think we should be killed, since we are bound by the pod's hugetlb cgroup, right?
I'd like to be able to properly support huge pages, but I'm not sure we can do it just in the runtime.
054ca93
to
dfe7865
Compare
/test-ubuntu |
dfe7865
to
1fdf2d6
Compare
/test-ubuntu |
Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com> Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
1fdf2d6
to
50c2f47
Compare
50c2f47
to
922cacd
Compare
/test-ubuntu |
/test-ubuntu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @bpradipt. A few comments.
922cacd
to
7447168
Compare
/test-ubuntu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @bpradipt.
lgtm
/test-ubuntu-vfio |
/test-vfio |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, excepting one nit which I've commented.
Fixes: kata-containers#2353 Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
7447168
to
b486387
Compare
/test-ubuntu |
/test-vfio |
/test-ubuntu |
1 similar comment
/test-ubuntu |
Fixes: #2353
Signed-off-by: Pradipta Banerjee pradipta.banerjee@gmail.com