[
https://issues.apache.org/jira/browse/ARROW-17281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jacob Wujciak-Jens updated ARROW-17281:
---------------------------------------
Description:
On Windows 10 Version 10.0.19044 Build 19044 {{CpuInfo::CacheLevel}} over
reports the L-cache size:
640K for L1
10M for L2
These values are also reported by Windows resource monitor.
It seems that windows is reporting the total size of cache for each core
aggregated as one value. Possibly due to "intel smart cache" cache sharing?
{code:bash}
[----------] 1 test from CpuInfo
[ RUN ] CpuInfo.Basic
C:/tmp/arrow-verify-release/apache-arrow-9.0.0/cpp/src/arrow/util/io_util_test.cc(1036):
error: Value of: l1 >= 4 * 1024 && l1 <= 512 * 1024
Actual: false
Expected: true
unexpected L1 size: 655360
[ FAILED ] CpuInfo.Basic (0 ms)
[----------] 1 test from CpuInfo (0 ms total)
{code}
was:
On Windows 10 Version 10.0.19044 Build 19044 {{CpuInfo::CacheLevel}} over
reports the L-cache size:
640K for L1
10M for L2
These values are also reported by Windows resource monitor.
It seems that windows is reporting the total size of cache for each core
aggregated as one value. Possibly due to "intel smart cache" cache sharing?
> [C++] Windows reports aggregated L-Cache sizes
> ----------------------------------------------
>
> Key: ARROW-17281
> URL: https://issues.apache.org/jira/browse/ARROW-17281
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Affects Versions: 9.0.0
> Reporter: Jacob Wujciak-Jens
> Priority: Minor
>
> On Windows 10 Version 10.0.19044 Build 19044 {{CpuInfo::CacheLevel}} over
> reports the L-cache size:
> 640K for L1
> 10M for L2
> These values are also reported by Windows resource monitor.
> It seems that windows is reporting the total size of cache for each core
> aggregated as one value. Possibly due to "intel smart cache" cache sharing?
> {code:bash}
> [----------] 1 test from CpuInfo
> [ RUN ] CpuInfo.Basic
> C:/tmp/arrow-verify-release/apache-arrow-9.0.0/cpp/src/arrow/util/io_util_test.cc(1036):
> error: Value of: l1 >= 4 * 1024 && l1 <= 512 * 1024
> Actual: false
> Expected: true
> unexpected L1 size: 655360
> [ FAILED ] CpuInfo.Basic (0 ms)
> [----------] 1 test from CpuInfo (0 ms total)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)