google / google/benchmark

Add support for processor affinity

Open
#185 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
10.4k
Forks
1.8k
Avg merge
2d 4h
Merged PRs (30d)
8

Description

Many microbenchmarks are very sensitive to cpu migrations. Especially multithreaded and memory intensive ones and even more so on NUMA systems. I am currently pinning the threads myself, but I think it would be great if google benchmark supported automatic pinning of threads to cores. I think results would be much more reproducable.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.