Messages in this thread | | | From | "" <> | Subject | RE: [RFC PATCH v2 0/5] Add hardware prefetch driver for A64FX and Intel processors | Date | Mon, 6 Dec 2021 09:30:12 +0000 |
| |
>> Also, as dhansen points out, we have already >> >> /sys/devices/system/cpu/cpu*/cache >> >> so all those knobs belong there on x86. > > Intel MSR and A64FX have hardware prefetcher that affect L1d cache and > L2 cache. Does it suit your intention to create a prefetcher directory > under the cache directory as below? > > /sys/devices/system/cpu/cpu*/cache/ > index0/prefetcher/enable > index2/prefetcher/enable > > The above example presumes that the L1d cache is at index0 (level: 1, > type: Data) and the L2 cache is at index2 (level:2, type: Unified).
Any comment or suggestion would be much appreciated. In particular, is our using cache/index directory above match your intent?
| |