在Linux系统中,可通过以下方法查看CPU缓存大小:
cat /proc/cpuinfo
cache size
cache size : 8192 KB
lscpu
L1d cache
L1i cache
L2 cache
L3 cache