Re: [PATCH v6 3/3] perf stat: Add no-affinity flag

From: Andi Kleen
Date: Thu Jan 08 2026 - 17:07:53 EST


On Thu, Jan 08, 2026 at 01:26:52PM -0800, Ian Rogers wrote:
> Add flag that disables affinity behavior. Using sched_setaffinity to
> place a perf thread on a CPU can avoid certain interprocessor
> interrupts but may introduce a delay due to the scheduling,
> particularly on loaded machines. Add a command line option to disable
> the behavior. This behavior is less present in other tools like `perf
> record`, as it uses a ring buffer and doesn't make repeated system
> calls.

I thought we had agreed that this change isn't needed?

-Andi