cache block is static partitioning of physical address space

cache block is static partitioning of physical address space. What this means? please provide some examples

Solution

Cache is generally a smaller, faster memory closer to the processor, so that process can access it frequently. It stores the data of main memory which are accessed frequently. Some CPUs have different caches for storing instructions and data. Data caches are organized in levels(L1, L2, etc.).

And to answer you question, cache can be static partitioning and dynamic partitioning.

1. Static partitioning predetermines the amount of cache to be allocated to the program

2. Dynamic partitioning dynamically allocated the cache.

Example for a static partitioning, Consider a dual core processor which is sharing a 4MB cache. When a parallel processing occurs(1 thread runs on both the processor) it has to allocate sufficient memory on the cache for both the processors. In this case when the static partioning will be efficient in determine the amount of cache to be allocated at the starting itself.

cache block is static partitioning of physical address space. What this means? please provide some examplesSolutionCache is generally a smaller, faster memory c

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site