SlideShare a Scribd company logo
1 of 2
Explain two Principle of locality used in Memory Hierarchy.
Solution
Hierarchical memory is a hardware optimization that takes the benefits of spatial and temporal
locality and can be used on several levels of the memory hierarchy. Paging obviously benefits
from temporal and spatial locality. A cache is a simple example of exploiting temporal locality,
because it is a specially designed, faster but smaller memory area, generally used to keep
recently referenced data and data near recently referenced data, which can lead to potential
performance increases.
Principle of Locality: Memory Hierarchies :-
Temporal locality- Recently accessed items will be accessed in the near future.
Temporal locality is found in instruction loops, data stacks and variable accesses. If at one point
a particular memory location is referenced, then it is likely that the same location will be
referenced again in the near future. There is a temporal proximity between the adjacent
references to the same memory location. In this case it is common to make efforts to store a copy
of the referenced data in special memory storage, which can be accessed faster. Temporal
locality is a special case of spatial locality, namely when the prospective location is identical to
the present location.
Spatial locality - Items at addresses close to the addresses of recently accessed items will be
accessed in the near future.
Spatial locality describes the characteristic that programs access a number of distinct regions. If a
particular storage location is referenced at a particular time, then it is likely that nearby memory
locations will be referenced in the near future. In this case it is common to attempt to guess the
size and shape of the area around the current reference for which it is worthwhile to prepare
faster access
Explain two Principle of locality used in Memory Hierarchy-SolutionHie.docx

More Related Content

Similar to Explain two Principle of locality used in Memory Hierarchy-SolutionHie.docx

Chapter 17 - Distributed File Systems
Chapter 17 - Distributed File SystemsChapter 17 - Distributed File Systems
Chapter 17 - Distributed File SystemsWayne Jones Jnr
 
Distributed file system
Distributed file systemDistributed file system
Distributed file systemAnamika Singh
 
storage & file strucure in dbms
storage & file strucure in dbmsstorage & file strucure in dbms
storage & file strucure in dbmssachin2690
 
Deep semantic understanding
Deep semantic understandingDeep semantic understanding
Deep semantic understandingsidra ali
 
Hierarchical Memory System
Hierarchical Memory SystemHierarchical Memory System
Hierarchical Memory SystemJenny Galino
 
The Object Evolution - EMC Object-Based Storage for Active Archiving and Appl...
The Object Evolution - EMC Object-Based Storage for Active Archiving and Appl...The Object Evolution - EMC Object-Based Storage for Active Archiving and Appl...
The Object Evolution - EMC Object-Based Storage for Active Archiving and Appl...EMC
 
Linux Operating system : Thrashing and Remedy
Linux Operating system : Thrashing and Remedy Linux Operating system : Thrashing and Remedy
Linux Operating system : Thrashing and Remedy Ahsen Saeed
 
Cache performance considerations
Cache performance considerationsCache performance considerations
Cache performance considerationsSlideshare
 
Elements of cache design
Elements of cache designElements of cache design
Elements of cache designRohail Butt
 
Caching principles-solutions
Caching principles-solutionsCaching principles-solutions
Caching principles-solutionspmanvi
 
Chapter 9 OS
Chapter 9 OSChapter 9 OS
Chapter 9 OSC.U
 
Distributed file systems
Distributed file systemsDistributed file systems
Distributed file systemsSri Prasanna
 
Efficient File Sharing Scheme in Mobile Adhoc Network
Efficient File Sharing Scheme in Mobile Adhoc NetworkEfficient File Sharing Scheme in Mobile Adhoc Network
Efficient File Sharing Scheme in Mobile Adhoc Networkpaperpublications3
 
ImpalaToGo design explained
ImpalaToGo design explainedImpalaToGo design explained
ImpalaToGo design explainedDavid Groozman
 
Ch9 OS
Ch9 OSCh9 OS
Ch9 OSC.U
 

Similar to Explain two Principle of locality used in Memory Hierarchy-SolutionHie.docx (20)

Chapter 17 - Distributed File Systems
Chapter 17 - Distributed File SystemsChapter 17 - Distributed File Systems
Chapter 17 - Distributed File Systems
 
Distributed file system
Distributed file systemDistributed file system
Distributed file system
 
storage & file strucure in dbms
storage & file strucure in dbmsstorage & file strucure in dbms
storage & file strucure in dbms
 
Chap 4
Chap 4Chap 4
Chap 4
 
Deep semantic understanding
Deep semantic understandingDeep semantic understanding
Deep semantic understanding
 
Hierarchical Memory System
Hierarchical Memory SystemHierarchical Memory System
Hierarchical Memory System
 
Iiwas presentation
Iiwas presentationIiwas presentation
Iiwas presentation
 
The Object Evolution - EMC Object-Based Storage for Active Archiving and Appl...
The Object Evolution - EMC Object-Based Storage for Active Archiving and Appl...The Object Evolution - EMC Object-Based Storage for Active Archiving and Appl...
The Object Evolution - EMC Object-Based Storage for Active Archiving and Appl...
 
Linux Operating system : Thrashing and Remedy
Linux Operating system : Thrashing and Remedy Linux Operating system : Thrashing and Remedy
Linux Operating system : Thrashing and Remedy
 
Cache performance considerations
Cache performance considerationsCache performance considerations
Cache performance considerations
 
Elements of cache design
Elements of cache designElements of cache design
Elements of cache design
 
Cache coherence
Cache coherenceCache coherence
Cache coherence
 
Caching principles-solutions
Caching principles-solutionsCaching principles-solutions
Caching principles-solutions
 
Chapter 9 OS
Chapter 9 OSChapter 9 OS
Chapter 9 OS
 
Distributed file systems
Distributed file systemsDistributed file systems
Distributed file systems
 
Efficient File Sharing Scheme in Mobile Adhoc Network
Efficient File Sharing Scheme in Mobile Adhoc NetworkEfficient File Sharing Scheme in Mobile Adhoc Network
Efficient File Sharing Scheme in Mobile Adhoc Network
 
ImpalaToGo design explained
ImpalaToGo design explainedImpalaToGo design explained
ImpalaToGo design explained
 
Distributed file systems dfs
Distributed file systems   dfsDistributed file systems   dfs
Distributed file systems dfs
 
OSCh9
OSCh9OSCh9
OSCh9
 
Ch9 OS
Ch9 OSCh9 OS
Ch9 OS
 

More from james876543264

Astronomy 107- 1- Why does helium fusion require a higher temperature.docx
Astronomy 107- 1- Why does helium fusion require a higher temperature.docxAstronomy 107- 1- Why does helium fusion require a higher temperature.docx
Astronomy 107- 1- Why does helium fusion require a higher temperature.docxjames876543264
 
Astronomers have found dark matter in a variety of environments- Name.docx
Astronomers have found dark matter in a variety of environments- Name.docxAstronomers have found dark matter in a variety of environments- Name.docx
Astronomers have found dark matter in a variety of environments- Name.docxjames876543264
 
Assume that LO and HI have already been assigned as constants with LO.docx
Assume that LO and HI have already been assigned as constants with LO.docxAssume that LO and HI have already been assigned as constants with LO.docx
Assume that LO and HI have already been assigned as constants with LO.docxjames876543264
 
AS1- Four Condition of Deadloc- show that the four conditions of deadl.docx
AS1- Four Condition of Deadloc- show that the four conditions of deadl.docxAS1- Four Condition of Deadloc- show that the four conditions of deadl.docx
AS1- Four Condition of Deadloc- show that the four conditions of deadl.docxjames876543264
 
As we know- total ownership is not a requirement for consolidation- A.docx
As we know- total ownership is not a requirement for consolidation- A.docxAs we know- total ownership is not a requirement for consolidation- A.docx
As we know- total ownership is not a requirement for consolidation- A.docxjames876543264
 
Asset Depreciation 2 2 unread replies- 2 2 replies- Answer each of the.docx
Asset Depreciation 2 2 unread replies- 2 2 replies- Answer each of the.docxAsset Depreciation 2 2 unread replies- 2 2 replies- Answer each of the.docx
Asset Depreciation 2 2 unread replies- 2 2 replies- Answer each of the.docxjames876543264
 
Ashley Wesley is the assistant controller at the Walitin Construction.docx
Ashley Wesley is the assistant controller at the Walitin Construction.docxAshley Wesley is the assistant controller at the Walitin Construction.docx
Ashley Wesley is the assistant controller at the Walitin Construction.docxjames876543264
 
Assembly language --- Area of a Polygon program Write a program to fin.docx
Assembly language --- Area of a Polygon program Write a program to fin.docxAssembly language --- Area of a Polygon program Write a program to fin.docx
Assembly language --- Area of a Polygon program Write a program to fin.docxjames876543264
 
As a transportation planner-engineer- would you implement a bus servic.docx
As a transportation planner-engineer- would you implement a bus servic.docxAs a transportation planner-engineer- would you implement a bus servic.docx
As a transportation planner-engineer- would you implement a bus servic.docxjames876543264
 
explain why glass electrode is a good example of an ion selective elec.docx
explain why glass electrode is a good example of an ion selective elec.docxexplain why glass electrode is a good example of an ion selective elec.docx
explain why glass electrode is a good example of an ion selective elec.docxjames876543264
 
explain why galvanize steel does not rust Chlorine is added to swimmin.docx
explain why galvanize steel does not rust Chlorine is added to swimmin.docxexplain why galvanize steel does not rust Chlorine is added to swimmin.docx
explain why galvanize steel does not rust Chlorine is added to swimmin.docxjames876543264
 
Explain why in the DPCM structure- the input to the predictor P is the.docx
Explain why in the DPCM structure- the input to the predictor P is the.docxExplain why in the DPCM structure- the input to the predictor P is the.docx
Explain why in the DPCM structure- the input to the predictor P is the.docxjames876543264
 
explain Westminster system- explain Westminster system- explain We.docx
explain Westminster system-    explain Westminster system-  explain We.docxexplain Westminster system-    explain Westminster system-  explain We.docx
explain Westminster system- explain Westminster system- explain We.docxjames876543264
 
Explain what anSolutionAn intervention is a deliberate process by whic.docx
Explain what anSolutionAn intervention is a deliberate process by whic.docxExplain what anSolutionAn intervention is a deliberate process by whic.docx
Explain what anSolutionAn intervention is a deliberate process by whic.docxjames876543264
 
Explain what is meant by the statement that a preferred stock is a hyb.docx
Explain what is meant by the statement that a preferred stock is a hyb.docxExplain what is meant by the statement that a preferred stock is a hyb.docx
Explain what is meant by the statement that a preferred stock is a hyb.docxjames876543264
 
Explain the weaknesses of the OOA-OOD focusing only on Use-cases and C.docx
Explain the weaknesses of the OOA-OOD focusing only on Use-cases and C.docxExplain the weaknesses of the OOA-OOD focusing only on Use-cases and C.docx
Explain the weaknesses of the OOA-OOD focusing only on Use-cases and C.docxjames876543264
 
Explain the use of directives in configuration files- Provide an examp.docx
Explain the use of directives in configuration files- Provide an examp.docxExplain the use of directives in configuration files- Provide an examp.docx
Explain the use of directives in configuration files- Provide an examp.docxjames876543264
 
Explain the steps needed to configure RIPng and explain the advantages.docx
Explain the steps needed to configure RIPng and explain the advantages.docxExplain the steps needed to configure RIPng and explain the advantages.docx
Explain the steps needed to configure RIPng and explain the advantages.docxjames876543264
 
Explain the motivation behind using a header file for a C program-Solu.docx
Explain the motivation behind using a header file for a C program-Solu.docxExplain the motivation behind using a header file for a C program-Solu.docx
Explain the motivation behind using a header file for a C program-Solu.docxjames876543264
 
Explain the importance of using the typedef keyword then write a C ++.docx
Explain the importance of using the typedef keyword then write a C ++.docxExplain the importance of using the typedef keyword then write a C ++.docx
Explain the importance of using the typedef keyword then write a C ++.docxjames876543264
 

More from james876543264 (20)

Astronomy 107- 1- Why does helium fusion require a higher temperature.docx
Astronomy 107- 1- Why does helium fusion require a higher temperature.docxAstronomy 107- 1- Why does helium fusion require a higher temperature.docx
Astronomy 107- 1- Why does helium fusion require a higher temperature.docx
 
Astronomers have found dark matter in a variety of environments- Name.docx
Astronomers have found dark matter in a variety of environments- Name.docxAstronomers have found dark matter in a variety of environments- Name.docx
Astronomers have found dark matter in a variety of environments- Name.docx
 
Assume that LO and HI have already been assigned as constants with LO.docx
Assume that LO and HI have already been assigned as constants with LO.docxAssume that LO and HI have already been assigned as constants with LO.docx
Assume that LO and HI have already been assigned as constants with LO.docx
 
AS1- Four Condition of Deadloc- show that the four conditions of deadl.docx
AS1- Four Condition of Deadloc- show that the four conditions of deadl.docxAS1- Four Condition of Deadloc- show that the four conditions of deadl.docx
AS1- Four Condition of Deadloc- show that the four conditions of deadl.docx
 
As we know- total ownership is not a requirement for consolidation- A.docx
As we know- total ownership is not a requirement for consolidation- A.docxAs we know- total ownership is not a requirement for consolidation- A.docx
As we know- total ownership is not a requirement for consolidation- A.docx
 
Asset Depreciation 2 2 unread replies- 2 2 replies- Answer each of the.docx
Asset Depreciation 2 2 unread replies- 2 2 replies- Answer each of the.docxAsset Depreciation 2 2 unread replies- 2 2 replies- Answer each of the.docx
Asset Depreciation 2 2 unread replies- 2 2 replies- Answer each of the.docx
 
Ashley Wesley is the assistant controller at the Walitin Construction.docx
Ashley Wesley is the assistant controller at the Walitin Construction.docxAshley Wesley is the assistant controller at the Walitin Construction.docx
Ashley Wesley is the assistant controller at the Walitin Construction.docx
 
Assembly language --- Area of a Polygon program Write a program to fin.docx
Assembly language --- Area of a Polygon program Write a program to fin.docxAssembly language --- Area of a Polygon program Write a program to fin.docx
Assembly language --- Area of a Polygon program Write a program to fin.docx
 
As a transportation planner-engineer- would you implement a bus servic.docx
As a transportation planner-engineer- would you implement a bus servic.docxAs a transportation planner-engineer- would you implement a bus servic.docx
As a transportation planner-engineer- would you implement a bus servic.docx
 
explain why glass electrode is a good example of an ion selective elec.docx
explain why glass electrode is a good example of an ion selective elec.docxexplain why glass electrode is a good example of an ion selective elec.docx
explain why glass electrode is a good example of an ion selective elec.docx
 
explain why galvanize steel does not rust Chlorine is added to swimmin.docx
explain why galvanize steel does not rust Chlorine is added to swimmin.docxexplain why galvanize steel does not rust Chlorine is added to swimmin.docx
explain why galvanize steel does not rust Chlorine is added to swimmin.docx
 
Explain why in the DPCM structure- the input to the predictor P is the.docx
Explain why in the DPCM structure- the input to the predictor P is the.docxExplain why in the DPCM structure- the input to the predictor P is the.docx
Explain why in the DPCM structure- the input to the predictor P is the.docx
 
explain Westminster system- explain Westminster system- explain We.docx
explain Westminster system-    explain Westminster system-  explain We.docxexplain Westminster system-    explain Westminster system-  explain We.docx
explain Westminster system- explain Westminster system- explain We.docx
 
Explain what anSolutionAn intervention is a deliberate process by whic.docx
Explain what anSolutionAn intervention is a deliberate process by whic.docxExplain what anSolutionAn intervention is a deliberate process by whic.docx
Explain what anSolutionAn intervention is a deliberate process by whic.docx
 
Explain what is meant by the statement that a preferred stock is a hyb.docx
Explain what is meant by the statement that a preferred stock is a hyb.docxExplain what is meant by the statement that a preferred stock is a hyb.docx
Explain what is meant by the statement that a preferred stock is a hyb.docx
 
Explain the weaknesses of the OOA-OOD focusing only on Use-cases and C.docx
Explain the weaknesses of the OOA-OOD focusing only on Use-cases and C.docxExplain the weaknesses of the OOA-OOD focusing only on Use-cases and C.docx
Explain the weaknesses of the OOA-OOD focusing only on Use-cases and C.docx
 
Explain the use of directives in configuration files- Provide an examp.docx
Explain the use of directives in configuration files- Provide an examp.docxExplain the use of directives in configuration files- Provide an examp.docx
Explain the use of directives in configuration files- Provide an examp.docx
 
Explain the steps needed to configure RIPng and explain the advantages.docx
Explain the steps needed to configure RIPng and explain the advantages.docxExplain the steps needed to configure RIPng and explain the advantages.docx
Explain the steps needed to configure RIPng and explain the advantages.docx
 
Explain the motivation behind using a header file for a C program-Solu.docx
Explain the motivation behind using a header file for a C program-Solu.docxExplain the motivation behind using a header file for a C program-Solu.docx
Explain the motivation behind using a header file for a C program-Solu.docx
 
Explain the importance of using the typedef keyword then write a C ++.docx
Explain the importance of using the typedef keyword then write a C ++.docxExplain the importance of using the typedef keyword then write a C ++.docx
Explain the importance of using the typedef keyword then write a C ++.docx
 

Recently uploaded

भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 

Recently uploaded (20)

भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 

Explain two Principle of locality used in Memory Hierarchy-SolutionHie.docx

  • 1. Explain two Principle of locality used in Memory Hierarchy. Solution Hierarchical memory is a hardware optimization that takes the benefits of spatial and temporal locality and can be used on several levels of the memory hierarchy. Paging obviously benefits from temporal and spatial locality. A cache is a simple example of exploiting temporal locality, because it is a specially designed, faster but smaller memory area, generally used to keep recently referenced data and data near recently referenced data, which can lead to potential performance increases. Principle of Locality: Memory Hierarchies :- Temporal locality- Recently accessed items will be accessed in the near future. Temporal locality is found in instruction loops, data stacks and variable accesses. If at one point a particular memory location is referenced, then it is likely that the same location will be referenced again in the near future. There is a temporal proximity between the adjacent references to the same memory location. In this case it is common to make efforts to store a copy of the referenced data in special memory storage, which can be accessed faster. Temporal locality is a special case of spatial locality, namely when the prospective location is identical to the present location. Spatial locality - Items at addresses close to the addresses of recently accessed items will be accessed in the near future. Spatial locality describes the characteristic that programs access a number of distinct regions. If a particular storage location is referenced at a particular time, then it is likely that nearby memory locations will be referenced in the near future. In this case it is common to attempt to guess the size and shape of the area around the current reference for which it is worthwhile to prepare faster access