Cache Memory Requirement

Hi Experts,

How to derive the cache memory requirement for the working of the software ?

I could understand that each of the A/M/R processors have its own applications and build with its own Cache size MPU/MMU configurations but how this is derived with the metrics ?

For example, How to decide the amount of cache size required for the working software with some practical metrics ?

Like depends on the Cache Miss/Hit ratio, Code text/data/bss size, etc.

How it could be derived or solved ?

Parents
  • How to derive the cache memory requirement for the working of the software ?

    Benchmarking.

    It's impossible to do based on theory, modern systems/cache/software is too complicated, so find a platform (or build one - FPGA, RTL emulation, etc) and run some tests which represent your workloads with different cache sizes and memory system configurations (bandwidth, latency, etc).

    HTH,

    Pete

Reply
  • How to derive the cache memory requirement for the working of the software ?

    Benchmarking.

    It's impossible to do based on theory, modern systems/cache/software is too complicated, so find a platform (or build one - FPGA, RTL emulation, etc) and run some tests which represent your workloads with different cache sizes and memory system configurations (bandwidth, latency, etc).

    HTH,

    Pete

Children
More questions in this forum