RE: [PATCH v2 0/8] Add hardware prefetch control driver for arm64 and x86

From: tarumizu.kohei@xxxxxxxxxxx
Date: Fri Mar 18 2022 - 02:35:42 EST


> I take it that there are users out there today that are sufficiently motivated by the
> increased performance that they just do "wrmsr 0x1a4 0x1234".
>
> You talked about this in the "[Merit]" section. But, that's a _little_ unconvincing.
> I don't doubt that there is *a* workload out there that can benefit from hardware
> prefetcher tweaks.
>
> Do we really expect end users to run their workloads and tweak these values to
> find something optimal for them?

In addition to the sample benchmarks in the [Merit] section, we assume
that some workloads will benefit from tweaking prefetches. We expect that
users can find the best parameters by using an tunable I/F from userspace.

I will find out the specific workload which improves the performance.