This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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
  • Considering the latency and bandwidth as ideal, is there any way to derive the cache and its performance impact with the system performance ?

    If you had ideal bandwidth (infinite) and latency (zero) then you wouldn't need a cache. The entire point of caches is to work around the non-ideal parts of real systems.

    Or else it would be great if I can get some general thumb rule or recommendations in the usage of cache memory.

    In general "more is better", but memories are large so increase silicon area / cost. There are plenty of good articles online about writing good cache-friendly algorithms - none of that is ARM specific.

    HTH,
    Pete

Reply
  • Considering the latency and bandwidth as ideal, is there any way to derive the cache and its performance impact with the system performance ?

    If you had ideal bandwidth (infinite) and latency (zero) then you wouldn't need a cache. The entire point of caches is to work around the non-ideal parts of real systems.

    Or else it would be great if I can get some general thumb rule or recommendations in the usage of cache memory.

    In general "more is better", but memories are large so increase silicon area / cost. There are plenty of good articles online about writing good cache-friendly algorithms - none of that is ARM specific.

    HTH,
    Pete

Children