[lkml]   [2019]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH RFC] x86 / CPU: Add cpu isolation flag for avoiding disturbance from aperfmperf IPI
On 25.04.2019 14:45, Peter Zijlstra wrote:
> On Thu, Apr 25, 2019 at 01:46:51PM +0300, Konstantin Khlebnikov wrote:
>> Sensitive workloads like DPDK polling do not like any interrupts.
>> This patch adds flag 'freq' for boot option 'isolcpu': isolcpu=freq,<cpus>.
>> Users like show_cpuinfo() fallback to frequency from generic cpufreq
>> policy if arch-specific requesting method returns 0.
> Then don't touch that sysfs file?

What sysfs file?
I mean many applications read /proc/cpuinfo and this triggers IPI to all cpus.

> I really hate having an option for just this.

This could be generalized to 'isolate cpu from unnecessary IPI'.
Something like mm pagevec drain also could be avoided.

 \ /
  Last update: 2019-04-25 14:27    [W:0.052 / U:52.464 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site