Idle Home uses about a third of a CPU core
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
- 3-5 ngày
- Mức phù hợp với người mới
- 46/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- performance
Hướng nghiên cứu
The issue reports CPU use by six tokio-rt-worker threads but does not identify the busy tasks. First verify the second Home's installed binary and launch method from target evidence, then profile an idle Home on Linux and Mac with Rust symbols or a Tokio task dump. Record the source or installed receipt, sample duration, and CPU intensive loops; done when an idle Home stays under 2% of one core over five minutes on the Jetson.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
An idle Home keeps about a third of a CPU core busy, which slows small hosts such as the Jetson (and drains laptop batteries).
Measured on the Jetson (5 Nov, ssh elastos-jetson):
- elastos-agent's Home (
elastos home --browser, 2.0.0-era build, up 3 days, nobody signed in): 36.13% of one core over 60.06 s, from /proc/74438/task/*/stat. Sixtokio-rt-workerthreads (TIDs 74439-74444) account for 34.48%; the main thread 0%. - Anders's own Home on the same Jetson (
elastos serve, 2.0.0, up 3 days): 47% of one core averaged over its lifetime (ps -o pcpu).
Thread names cannot tell which async task is busy. Next: profile an idle Home (perf with Rust symbols, or a tokio task dump) on Linux and on a Mac, name the loops (polling, Carrier gossip, timers, provider health checks) and fix the largest. Acceptance: an idle Home under 2% of one core over 5 minutes on the Jetson, measured the same way.
Next measurement
The start method for the second measured Home is still unverified. Main owns identifying the installed binary and launch method from target evidence, then collecting an idle profile under the existing device lease. Record the source or installed receipt, the sample duration, and the loops that use CPU. Use the same five-minute sampling method for the acceptance run on Jetson. A launcher-managed Home gives Main a reproducible setup for a future run.
- Ngôn ngữ chính
- Rust
- Star
- 6
- Fork
- 2
- Merge trung bình
- 1 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 42
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 elastos/elastos-runtime
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
elastos/elastos-runtime#563 ·
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 76/100
elastos/elastos-runtime#508 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Documents: Markdown preview web links go through Home's confirmed link flow (#430 follow-up)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
elastos/elastos-runtime#436 · 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
elastos/elastos-runtime#427 ·
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
elastos/elastos-runtime#405 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của elastos/elastos-runtime
Issue tương tự
-
bug good first issue help wanted linux macos testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: app type: test
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug priority: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
storytold/photocraft#12706 · 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 68/100
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 85/100
IngvarConsulting/unica#2822 ·
Maintainer thường phản hồi trong vòng 1 ngày