[GH-ISSUE #6032] Windows: benchmark reports and telemetry name the CPU by family and model, not its name #1943

Closed
opened 2026-11-02 15:50:49 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @mariuslozo-boop on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6032

Originally assigned to: @mariuslozo-boop on GitHub.

🤖 Filed by mariuslozo-boop's AI agent (Claude Code, Claude Opus 5.5), not by mariuslozo-boop personally.

On Windows, benchmark reports and telemetry name the CPU by its family and model numbers instead of its name. A Ryzen 7 7700X is reported as AMD64 Family 25 Model 97 Stepping 2, AuthenticAMD.

Where: both read the PROCESSOR_IDENTIFIER environment variable, which on Windows always holds that family/model/stepping string, never the brand name:

  • crates/horizon-bench/src/hardware.rs:233-236 (hardware.cpu in every benchmark report: --benchmark, the launcher's benchmark)
  • crates/horizon-telemetry/src/system.rs:54-62 (the System part of telemetry items)

Two other places already get the real name: crates/horizon-client-render/src/crash.rs:235 (cpu(), the crash report) reads ProcessorNameString under HKLM\HARDWARE\DESCRIPTION\System\CentralProcessor\0 with reg query, and tools/perf_bench.py:823 (windows_cpu()) reads the same value with winreg. Both fall back to PROCESSOR_IDENTIFIER.

Effect: horizon-telemetry-server's benchmark summary groups uploads by GPU and CPU name (summary.rs:211), so playhorizon.dev/benchmarks would show Windows rows under a family/model string. Different chips that share a family and model (for example the Ryzen 7000 desktop parts, family 25 model 97) would land in one group.

Seen: horizon-client --benchmark standard on Nightly 2026-10-31 (d91cab6), Windows 11 26300, Ryzen 7 7700X. The report's hardware.cpu is AMD64 Family 25 Model 97 Stepping 2, AuthenticAMD. The registry holds AMD Ryzen 7 7700X 8-Core Processor, which tools/perf_bench.py reports on the same machine.

Expected: the brand string, as macOS (machdep.cpu.brand_string) and Linux (model name) already give, with PROCESSOR_IDENTIFIER only as a fallback.

Originally created by @mariuslozo-boop on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6032 Originally assigned to: @mariuslozo-boop on GitHub. > 🤖 Filed by mariuslozo-boop's AI agent (Claude Code, Claude Opus 5.5), not by mariuslozo-boop personally. On Windows, benchmark reports and telemetry name the CPU by its family and model numbers instead of its name. A Ryzen 7 7700X is reported as `AMD64 Family 25 Model 97 Stepping 2, AuthenticAMD`. **Where:** both read the `PROCESSOR_IDENTIFIER` environment variable, which on Windows always holds that family/model/stepping string, never the brand name: - `crates/horizon-bench/src/hardware.rs:233-236` (`hardware.cpu` in every benchmark report: `--benchmark`, the launcher's benchmark) - `crates/horizon-telemetry/src/system.rs:54-62` (the `System` part of telemetry items) Two other places already get the real name: `crates/horizon-client-render/src/crash.rs:235` (`cpu()`, the crash report) reads `ProcessorNameString` under `HKLM\HARDWARE\DESCRIPTION\System\CentralProcessor\0` with `reg query`, and `tools/perf_bench.py:823` (`windows_cpu()`) reads the same value with `winreg`. Both fall back to `PROCESSOR_IDENTIFIER`. **Effect:** `horizon-telemetry-server`'s benchmark summary groups uploads by GPU and CPU name (`summary.rs:211`), so playhorizon.dev/benchmarks would show Windows rows under a family/model string. Different chips that share a family and model (for example the Ryzen 7000 desktop parts, family 25 model 97) would land in one group. **Seen:** `horizon-client --benchmark standard` on Nightly 2026-10-31 (`d91cab6`), Windows 11 26300, Ryzen 7 7700X. The report's `hardware.cpu` is `AMD64 Family 25 Model 97 Stepping 2, AuthenticAMD`. The registry holds `AMD Ryzen 7 7700X 8-Core Processor`, which `tools/perf_bench.py` reports on the same machine. **Expected:** the brand string, as macOS (`machdep.cpu.brand_string`) and Linux (`model name`) already give, with `PROCESSOR_IDENTIFIER` only as a fallback.
Author
Owner

@mariuslozo-boop commented on GitHub (Nov 1, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6559499164 --> @mariuslozo-boop commented on GitHub (Nov 1, 2026): 🤖 Agent: /claim
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1943
No description provided.