diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-06-07 13:18:03 -0500 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2023-06-12 11:33:39 -0500 |
commit | 180897c161a171d8ef0faee1c6c9fd6b57d8b13b (patch) | |
tree | 89e71e02a6e1edc57bb13f311228816dcbc92bd6 /time | |
parent | f193ea20eddc6cef84cba54cf1a647204ee6a86b (diff) | |
download | glibc-180897c161a171d8ef0faee1c6c9fd6b57d8b13b.zip glibc-180897c161a171d8ef0faee1c6c9fd6b57d8b13b.tar.gz glibc-180897c161a171d8ef0faee1c6c9fd6b57d8b13b.tar.bz2 |
x86: Make the divisor in setting `non_temporal_threshold` cpu specific
Different systems prefer a different divisors.
From benchmarks[1] so far the following divisors have been found:
ICX : 2
SKX : 2
BWD : 8
For Intel, we are generalizing that BWD and older prefers 8 as a
divisor, and SKL and newer prefers 2. This number can be further tuned
as benchmarks are run.
[1]: https://github.com/goldsteinn/memcpy-nt-benchmarks
Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'time')
0 files changed, 0 insertions, 0 deletions