我在我的PC上使用Ubuntu 12.04和Intel i5 450。 我使用了两种方法来获得1级指令缓存的缓存行大小。 但结果不同。获取2个不同的L1 icache线路尺寸
[email protected]:~/ws$ getconf LEVEL1_ICACHE_LINESIZE
32
[email protected]:~/ws$ cat /sys/devices/system/cpu/cpu0/cache/index1/coherency_line_size
64
有什么问题吗?它很混乱。
你对'cat/sys/devices/system/cpu/cpu0/cache/index1/{level,type}'有什么建议? – 2012-07-21 02:48:46
cat/sys/devices/system/cpu/cpu0/cache/index1/{level,type} 指令 – firo 2013-07-13 07:57:15