answersLogoWhite

0


Best Answer

Temporal Locality: Concept that a resource will be referenced at one point in time will be referenced again. Cache miss traffic decreases fast when cache size increases and temporal locality determines sensitivity to cache size.

Spatial Locality: Concept that likelihood of referencing a resource is higher if a resource near it was referenced. Cache miss traffic does not increase much when line size increases. Spatial locality determines sensivity to line size.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Principle of locality relate to the use of multiple memory levels?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Algebra

Which consist of nonvolatile chips 1. rom 2. flash memory 3. ram?

Flash memory and Rom I think


The size of a program is N And the memory occupied by the program is given by M equals square root of 100N If the size of the program is increased by 1 percent then how much memory now occupied?

sqrt(101N)


What is the differences between altibase and oracle?

Oracle has many products, but presumably you are referring to either 11g or 12c. The difference between Oracle and Altibase is that Oracle is a traditional disk-based database while Altibase is an in-memory database. As an in-memory database, Altibase is significantly faster than Oracle. One way to look at this is Oracle's buffer cache. Oracle uses the buffer cache to significantly increase read speeds by keeping the data in memory. However, this has no impact on updates, deletes, or inserts, whereas Altibase enjoys these performance enhancements across the board. Altibase differentiates itself from other in-memory databases by marketing itself as a hybrid. This allows it utilize both an in-memory database and disk database using a single engine, which allows it enjoy the speed benefits of in-memory databases while also utilizing cheaper disk-based storage for rarely queried data. In many ways however, the two databases are very similar as they are both ACID compliant relational databases.


What is a variable plus a variable?

A variable is a named memory location for which the contents are volatile. The antonym of variable is constant.


Is memory a concrete noun?

No, the noun 'memory' is an abstract noun, a word for the faculty of the mind to store and recall information; a recall of past experiences or information; the mind regarded as a store of information; a word for a concept.A concrete noun is a word for something that can be experienced by any of the five physical senses; something that can be seen, heard, smelled, tasted, or touched.

Related questions

What is Principle of locality?

The principle of locality states that programs tend to access data and instructions that are near each other in memory. This principle is the basis for memory caching strategies to improve performance by storing frequently accessed data closer to the processor. By exploiting spatial and temporal locality, memory access patterns can be optimized for faster processing.


What are the three forms of locality?

Temporal locality: Refers to the idea that if a memory location is accessed, it is likely to be accessed again in the near future. Spatial locality: Indicates that if a memory location is accessed, nearby memory locations are also likely to be accessed in the near future. Data locality: Refers to the principle of keeping frequently accessed data in close physical proximity to reduce latency and improve performance.


Differentiate spatial locality vs temporal locality?

Spatial locality refers to accessing nearby memory locations in quick succession, whereas temporal locality refers to accessing the same memory location multiple times in a short period. Spatial locality involves accessing data elements that are physically close to each other, while temporal locality involves accessing the same data multiple times due to temporal proximity in time. Both localities are important in optimizing memory access patterns for improved performance.


What is The principal of locality of reference justifies the use of?

Principal of locality of reference is frequently accessing of Location of any storage . It is mainly used for cache memory.


Strategies for exploting spatial locality?

Some strategies for exploiting spatial locality include using block-based memory access patterns to efficiently load multiple data items into cache at once, utilizing data structures that group related data together, and optimizing algorithms to minimize the number of cache misses by accessing nearby data in memory. Additionally, employing prefetching techniques can help to anticipate and load data into cache before it is needed.


What are the starategist for exploilting spatial locality and temporal locality?

To exploit spatial locality, programs arrange data access patterns to utilize nearby memory locations more frequently, reducing cache misses. Temporal locality is exploited by reusing recently accessed data, keeping it in a cache for quick retrieval before it is replaced. Techniques such as loop unrolling, prefetching, and optimizing data structures can help maximize both spatial and temporal locality in programs.


Can a memory card be used in multiple devices?

It depends if these multiple devices use the exact same memory card type.


What are the levels of memory?

The three main levels of memory are sensory memory, short-term memory, and long-term memory. Sensory memory holds sensory information for a very brief period, short-term memory stores information for a short time without rehearsal, and long-term memory has a more permanent storage capacity for information.


Need of interface in microprocessor?

the principle function of memory interfacing is to enable the microprocessor to read or write into a register of the memory chip


Does the parathyroid affect the memory?

The parathyroid gland primarily regulates calcium levels in the body and does not directly affect memory. However, severe imbalances in calcium levels, such as very high or low levels due to parathyroid disorders, can potentially impact cognitive function and memory.


What are the advantages of a multi-size memory card reader?

A multi size memory card reader will allow you to use multiple memory cards on one single reader, instead of buying multiple readers.


Why is the principle of locality crucial to the use of virtual memory?

Because of two things: ü Program and data references within a process tend to cluster à only a few pieces of a process will be needed over a short period of time. ü It is possible to make intelligent guesses about which pieces will be needed in the future, which avoids thrashing.