Categories
c cpu-architecture cpu-cache intel linux-kernel

How does CLFLUSH work for an address that is not in cache yet?

Categories
c cpu-architecture cpu-cache valgrind

How would you generically detect cache line associativity from user mode code?

Categories
c c++ cpu-cache optimization prefetch

Can “non-native” pointers hurt cache performance?

Categories
algorithm c cpu-cache performance

Cache-friendly copying of an array with readjustment by known index, gather, scatter

Categories
amd-processor cpu-architecture cpu-cache intel x86

Which cache mapping technique is used in intel core i7 processor?

Categories
assembly c cpu-cache instructions self-modifying

How is x86 instruction cache synchronized?

Categories
c cpu-cache for-loop optimization performance

Why does the order of the loops affect performance when iterating over a 2D array?

Categories
c cpu-cache

Understanding CPU cache and cache line

Categories
arrays caching cpu-architecture cpu-cache

Temporal vs Spatial Locality with arrays

Categories
algorithm c cpu-cache data-structures graph

How to avoid “heap pointer spaghetti” in dynamic graphs?