Caches¶
Multiple caches - L1, L2, L3
they get larger as they go farther out
Different levels of memory and sizes
sizes:
getconf -a | grep CACHE
#include <stddef.h>
#include <stdio.h>
system("getconf -a | grep CACHE");
//cache_line_size()
Multiple caches - L1, L2, L3
they get larger as they go farther out
Different levels of memory and sizes
sizes:
getconf -a | grep CACHE
#include <stddef.h>
#include <stdio.h>
system("getconf -a | grep CACHE");
//cache_line_size()