host: local-device (Jetson Orin Nano Super 8GB) date: 2026-07-10 runtime: ollama 0.31.1 model: qwen2.5:1.5b (Q4_K_M) protocol: PLAN-edge-limits-2026-07.md #4-2(電源モード15W vs 25W)+ bench_llm.py(warmup num_predict=16破棄 + 本計測 num_predict=256 x2平均・temperature=0、tegrastatsで温度・VDD_IN電力を1秒間隔サンプリング) 実行コマンド: SUDO_PW=(伏せ字) bash power_mode_bench.sh (sudo nvpmodel -m でモード切替 → sudo jetson_clocks → 3秒待機 → python3 bench_llm.py の順で各モードごとに実行) nvpmodel.conf モード定義(当該機で確認): ID=0 NAME=15W / ID=1 NAME=25W / ID=2 NAME=MAXN_SUPER / ID=3 NAME=7W / PM_CONFIG DEFAULT=1(25W) === 実行ログ(標準出力そのまま) === ### baseline mode (as-found, no switch) ### NV Power Mode: MAXN_SUPER 2 ### bench @ baseline ### [bench] qwen2.5:1.5b (qwen2.5-1.5b-baseline-maxnsuper) ... RESULT:{"host": "local-device", "ollama_tag": "qwen2.5:1.5b", "model": "qwen2.5-1.5b-baseline-maxnsuper", "quant": "Q4_K_M", "runtime": "ollama 0.31.1", "decode_tok_per_sec": 39.05, "ttft_ms": 578.7, "total_duration_ms": 7134.8, "input_tokens": 112, "output_tokens": 256, "measured_at": "2026-07-10", "runs": 2, "temp_max_c": 58.8, "power_w_avg": 19.6} ### switch -> mode 1 (25W) ### NV Power Mode: 25W 1 ### bench @ 25W ### [bench] qwen2.5:1.5b (qwen2.5-1.5b-25w) ... RESULT:{"host": "local-device", "ollama_tag": "qwen2.5:1.5b", "model": "qwen2.5-1.5b-25w", "quant": "Q4_K_M", "runtime": "ollama 0.31.1", "decode_tok_per_sec": 36.17, "ttft_ms": 574.5, "total_duration_ms": 7652.1, "input_tokens": 112, "output_tokens": 256, "measured_at": "2026-07-10", "runs": 2, "temp_max_c": 60.2, "power_w_avg": 17.4} ### switch -> mode 0 (15W) ### NV Power Mode: 15W 0 ### bench @ 15W ### [bench] qwen2.5:1.5b (qwen2.5-1.5b-15w) ... RESULT:{"host": "local-device", "ollama_tag": "qwen2.5:1.5b", "model": "qwen2.5-1.5b-15w", "quant": "Q4_K_M", "runtime": "ollama 0.31.1", "decode_tok_per_sec": 26.44, "ttft_ms": 551.3, "total_duration_ms": 10232.7, "input_tokens": 112, "output_tokens": 256, "measured_at": "2026-07-10", "runs": 2, "temp_max_c": 60.1, "power_w_avg": 14.9} ### restore -> mode 2 (MAXN_SUPER, original state) ### ### final mode check ### NV Power Mode: MAXN_SUPER 2 ### ALL_DONE ### === 復元確認 === 計測開始時点のモード(MAXN_SUPER, id=2)に一致することを nvpmodel -q で確認済み。 jetson_clocksもMAXN_SUPER条件で再実行済み(計測後の状態は「性能最大化」という点で開始前と同種の状態)。 === 参考: 既存DB(content/benchmarks/20260616-jons-qwen25-15b-q4km.yaml) === decode_tok_per_sec: 35.61 / ttft_ms: 1243.4 / power_w_avg: 16.3 / temp_max_c: 55.8 / runtime: ollama 0.21.2(電源モード未記録) → 本計測の「25W」実測値(36.17 tok/s, ollama 0.31.1)と近い(+1.6%)。既存DBはMAXN_SUPERではなく25W(id=1, nvpmodel.conf上のDEFAULT)で 計測されていた可能性が高いと推測されるが、当時のnvpmodel状態はyamlに記録がなく断定はできない(推測である旨を明記)。