Idle Home uses about a third of a CPU core
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 46/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- rust
- 領域
- performance
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Rust
- スター
- 6
- フォーク
- 2
- 平均マージ
- 1日 3時間
- マージ済み PR(30日)
- 42
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
elastos/elastos-runtime のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
elastos/elastos-runtime#563 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
elastos/elastos-runtime#508 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
elastos/elastos-runtime#436 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
elastos/elastos-runtime#427 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
elastos/elastos-runtime#405 ·
メンテナーはふだん 1 日以内に返信
elastos/elastos-runtime の issue をすべて見る
似ている issue
-
bug good first issue help wanted linux macos testing
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
area: app type: test
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
bug priority: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
storytold/photocraft#12706 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug priority-low to-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
examples/dca and limit-order: swap always fails on the real Soroswap router (deadline equals now)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
sorocon-labs/sorocron#172 ·
メンテナーはふだん 1 日以内に返信