测试Apple M1的缓存

今天看Apple发布会的时候突然发现Apple M2的L1 D-Cache是128KiB, 后来发现M1的也是。于是, 考虑到macOS采用16KiB作为页大小, 我们猜测它是16KiB/way * 8way的结构。然后我又想到, M1上实际上可以运行4KiB页大小的Linux, 我们再考虑到缓存可能是VIPT的设计, 因此要处理虚拟地址别名的问题。针对这一点, cyy今天展开了测量, 期待他的最终测量结论。

发表评论?

1 条评论。

回复给 cyy ¬
取消回复

注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

:wink: :twisted: :roll: :oops: :mrgreen: :lol: :idea: :evil: :cry: :arrow: :?: :-| :-x :-o :-P :-D :-? :) :( :!: 8-O 8)

本文链接:https://twd2.me/archives/16868QrCode