2021年4月23日

摘要: 原理 TLB(Translation lookaside buffer)为页表(存放虚拟地址的页地址和物理地址的页地址的映射关系)在CPU内部的高速缓存。TLB的命中率越高,页表查询性能就越好。 TLB的一行为一个页的映射关系,也就是管理了一个页大小的内存: TLB管理的内存大小 = TLB行数 x 阅读全文
posted @ 2021-04-23 18:05 tycoon3 阅读(678) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <unistd.h> int main(int argc, char **argv) { int a[1000][1000]; if(1 == argc) { for(int i = 0; i < 1000; ++i) { for(int j 阅读全文
posted @ 2021-04-23 17:57 tycoon3 阅读(1402) 评论(0) 推荐(1)

导航