Refuse or resume a grant whose W budget is below its template's image

Đang mở
#59 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go, kubernetes, linux
Lĩnh vực
backend, operating-systems

Hướng nghiên cứu

Start by reading the proc runtime’s resume path and the grant admission checks, then compare them with the cloudhv copy-on-write restore described in issue #58. Use the Kata example and its examples/kata/kind/run.sh workaround to understand the 32 MiB failure and 64 MiB workaround. Add the issue’s requested table case and verify that an undersized W budget is refused with the image size and budget, or that park and resume both succeed.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

On the proc runtime, a resume restores the whole template image into the fiber's cgroup. CRIU's restore pages are charged to the fiber's leaf, so a grant whose W budget is below the image size can park a fiber but never resume it. CRIU is OOM-killed on the copy, and the resume fails with a CRIU error, not a budget refusal.

The GPU PoC's Kata row hit this on the A100 on 2026-10-23. The sha256:conform image is about 33 MiB. A 32Mi W budget parked fine, then dmesg showed a memcg OOM kill of criu in leaf f-1-2 on the resume. examples/kata/kind/run.sh now uses 64Mi as a workaround (1dd6bb1).

Fix, one of these.

  • Refuse such a grant at admission, with a message that names the image size and the budget. The template's full image size is known once the template is cached.
  • Or run the restore outside the budget and charge only what the fiber writes afterwards, as the cloudhv copy-on-write restore does for W (#58).

Test. A table case with a W budget below the template's image size that checks the grant is refused, or that a park and resume both succeed.

Ngôn ngữ chính
Go
Star
5
Fork
5
Merge trung bình
15 giờ 27 phút
Pull request đã merge (30 ngày)
41

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure/fiberd

Tất cả issue của Azure/fiberd

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.