l2-cache

L2 cache memory

What's the difference between 2*512 KB L2 cache and 1 MB L2 cache? ...

Efficient memory bandwidth use for streaming

I have an application that streams through 250 MB of data, applying a simple and fast neural-net threshold function to the data chunks (which are just 2 32-bit words each). Based on the result of the (very simple) compute, the chunk is unpredictably pushed into one of 64 bins. So it's one big stream in and 64 shorter (variable length) s...

Shark L2 cache profiling won't take samples

I'm trying to use Shark to check for L2 cache misses, but it won't work. All of the other Shark sampling modes work fine. ...

Measure size and way-order of L1 and L2 caches

How can I programmatically measure (not query the OS) the size and order of associativity of L1 and L2 caches (data caches)? Assumptions about system: It has L1 and L2 cache (may be L3 too, may be cache sharing), It may have a hardware prefetch unit (just like P4+), It has a stable clocksource (tickcounter or good HPET for gettimeofda...