Re: [RESEND PATCH 2/2] perf/x86: improve the event scheduling to avoid unnecessary pmu_stop/start

Peter Zijlstra
2022-03-14T10:55:52Z

On Thu, Mar 10, 2022 at 11:50:33AM +0800, Wen Yang wrote:

> As you pointed out, some non-compliant rdpmc can cause problems. But you
> also know that linux is the foundation of cloud servers, and many
> third-party programs run on it (we don't have any code for it), and we can
> only observe that the monitoring data will jitter abnormally (the
> probability of this issue is not high, about dozens of tens of thousands of
> machines).

This might be a novel insight, but I *really* don't give a crap about
any of that. If they're not using it right, they get to keep the pieces.

I'd almost make it reschedule more to force them to fix their stuff.