203 views
2 votes
2 votes
What is the main difference between tempral and special locality

 

Virtual memory is use for address translation

1 Answer

0 votes
0 votes

A sequence of references is said to have spatial locality if things that are referenced close in time are also close in space (nearby memory addresses, nearby sectors on a disk, etc.).
A sequence is said to have temporal locality if accesses to the same thing are clustered in time.

How is address translation in virtual memory?
For every memory access, either to fetch an instruction or data, the CPU must translate the virtual address to a real physical address. A virtual memory address can be considered to be composed of two parts: a page number and an offset into the page

Related questions

0 votes
0 votes
0 answers
1
SSR17 asked Feb 8
212 views
we have 8 pages (each side 32B) to store in physical memory of 2^32 bits how many bits are required to identify each page , according to me 3 bits are required but that i...
0 votes
0 votes
2 answers
4
Unique_999 asked Aug 17, 2023
324 views
Can Any explain the relationship between The “ Word Size “ and “ Logical Address Space “