[all-commits] [llvm/llvm-project] 988678: [llvm-exegesis] Add support for pinning benchmarki...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Thu Sep 19 06:34:42 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9886788a8a500a1b429a6db64397c849b112251c
      https://github.com/llvm/llvm-project/commit/9886788a8a500a1b429a6db64397c849b112251c
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2024-09-19 (Thu, 19 Sep 2024)

  Changed paths:
    A llvm/test/tools/llvm-exegesis/X86/latency/cpu-pinning-execution-mode.s
    A llvm/test/tools/llvm-exegesis/X86/latency/cpu-pinning.s
    M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp
    M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h
    M llvm/tools/llvm-exegesis/llvm-exegesis.cpp

  Log Message:
  -----------
  [llvm-exegesis] Add support for pinning benchmarking process to a CPU (#85168)

This patch adds in support for pinning a benchmarking process to a
specific CPU (in the subprocess benchmarking mode on Linux). This is
intended to be used in environments where a certain set of CPUs is
isolated from the scheduler using something like cgroups and thus should
present less potential for noise than normal. This also opens up the
door for doing multithreaded benchmarking as we can now pin benchmarking
processes to specific CPUs that we know won't interfere with each other.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list