Top "Cpu-cache" questions

A CPU-cache is a hardware structure used by the CPU to reduce the average access memory time.

algorithm LRU, how many bits needed for implement this algorithm?

I have a little question about the algorithm LRU. If you have a cache with four blocs , how many bits …

algorithm cpu-cache lru
How to calculate effective CPI for a 3 level cache

I am hopelessly stuck on a homework problem, and I would love some help understanding it better. Here is what …

caching architecture cpu-architecture cpu-cache hit
What are _mm_prefetch() locality hints?

The intrinsics guide says only this much about void _mm_prefetch (char const* p, int i) : Fetch the line of …

c++ x86-64 intrinsics cpu-cache prefetch
WBINVD instruction usage

I'm trying to use the WBINV instruction on linux to clear the processor's L1 cache. The following program compiles, but …

c caching assembly x86 cpu-cache
What does a 'Split' cache means. And how is it useful(if it is)?

I was doing a question on Computer Architecture and in it it was mentioned that the cache is a split …

cpu-architecture cpu-cache
Is there a way to flush the entire CPU cache related to a program?

On x86-64 platforms, the CLFLUSH assembly instruction allows to flush the cache line corresponding to a given address. Instead …

c++ assembly memory optimization cpu-cache
loop tiling. how to choose block size?

I am trying to learn the loop optimization. i found that loop tiling helps in making the array looping faster. …

c performance loops optimization cpu-cache
Design code to fit in CPU Cache?

When writing simulations my buddy says he likes to try to write the program small enough to fit into cache. …

c performance caching cpu-architecture cpu-cache
Cache bandwidth per tick for modern CPUs

What is a speed of cache accessing for modern CPUs? How many bytes can be read or written from memory …

performance caching cpu cpu-architecture cpu-cache
Look Through vs Look aside

Suppose there are 2 caches L1 and L2 L1 Hit rate of L1=0.8 Access time of l1=2ns and transfer time …

caching memory cpu-architecture cpu-cache