Give each fiber a compute share of its engine, beside its bytes
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ó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 20/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go, kubernetes, linux
- Lĩnh vực
- backend, performance
Hướng nghiên cứu
Start by reading how device budgets and byte accounting move with a session, and how the admin socket reports slice usage; the issue does not name files or tests. The work depends on an engine that runs kernels, while refengine has no metered compute, so identify that engine and its request path first. Done means compute shares are enforced and reported, parked sessions retain their share across engines, and latency plus non-greedy overhead are measured.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
A grant's device budget caps how much of the engine's memory one fiber may hold. Nothing caps how much of the engine's compute it may use. One busy fiber can hold its slice within budget and still starve every other fiber of the same grant, since the engine runs their work one request at a time.
Wanted.
- A compute share per fiber in the device budget, as a percent of the engine, next to
bytes. A grant that sets none gets an equal share. - The engine meters each slice's work and delays a fiber over its share, so the others keep their turn. A fiber is never killed for compute, only slowed.
- The share travels with the session. A parked session resumes on another engine with the same share, as its bytes do today.
- The admin socket reports each slice's compute use beside its bytes.
Measure the slowest fiber's request latency under one greedy fiber, with and without the share, and the share's cost when no fiber is greedy.
Depends on a real engine. refengine fills memory and hashes it, so there is no work to meter yet. Build this with the first engine that runs kernels, such as one serving a model's KV cache, and design the budget field before it.
- 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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Azure/fiberd
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
Azure/fiberd#131 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 28/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 56/100
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
Maintainer thường phản hồi trong vòng 2 ngày
-
[Bug] vela config-template apply drops the template's metadata.descriptionCó thể đã có người làm @backendArchitect đã nhận hôm nay. Đang mởarea/cli area/config good first issue type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
kubevela/kubevela#7756 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
enhancement good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 1 ngày