Wake an idle Fiber's step without a signal

Đang mở
#44 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 4 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
backend, operating-systems

Hướng nghiên cứu

Start by tracing the Fiber idle step and the Net::poll host call mentioned in the issue; the required change may be in hyperlight-unikraft, outside this repository. Compare adding a wake fd polled by step with retrying EINTR in Net::poll. Done when PARK wakes an idle Fiber promptly without signals and the guest does not lose the wake to EINTR.

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

Mô tả

a-needs-info

An idle Fiber's thread waits up to 250 ms in hyperlight-unikraft's step, and KILL
interrupts that wait with SIGRTMAX. PARK is not signalled, because a signal that
lands in the guest's net_poll host call hands the guest EINTR, so a PARK can wait
a whole step. A wake fd that step also polls would let any command wake the
thread at once, without signals, and let the idle step grow further. This needs a
hyperlight-unikraft change (or Net::poll retrying EINTR).

Ngôn ngữ chính
Rust
Star
3
Fork
2
Merge trung bình
3 ngày 57 phút
Pull request đã merge (30 ngày)
17

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

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 hyperlight-dev/lampyr

Tất cả issue của hyperlight-dev/lampyr

Issue tương tự

Thêm issue về Rust

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.