Skip to content

Not working well with systems that use P and E cores #2008

@bjorn3

Description

@bjorn3

collector bench_local errors with

thread 'main' panicked at collector/src/compile/execute/mod.rs:565:13:
measurement of `cpu_atom/instructions:u/` only active for 4.00% of the time

by default. If I use taskset to force the benchmarks to run on P cores, it collects everything, but the website will not show anything for the instructions and cycles metrics, likely because perf calls the metrics cpu_core/instructions:u/ and cpu_core/cycles:u/ Selecting the respective metric in the dropdown menu results in a popup with:

Failed to deserialize request: Error("unknown variant `cpu_core/cycles:u/`, expected one of `context-switches`, `cpu-clock`, `cpu-clock:u`, `cycles`, `cycles:u`, `faults`, `faults:u`, `instructions:u`, `max-rss`, `task-clock`, `task-clock:u`, `wall-time`, `branch-misses`, `cache-misses`, `size:codegen_unit_size_estimate`, `size:cgu_instructions`, `size:dep_graph`, `size:linked_artifact`, `size:object_file`, `size:query_cache`, `size:work_product_index`, `size:crate_metadata`, `size:dwo_file`, `size:assembly_file`, `size:llvm_bitcode`, `size:llvm_ir`, `size:doc_bytes`, `size:doc_files_count`", line: 1, column: 74)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions