SlideShare una empresa de Scribd logo
1 de 15
Cache Performance Evaluation
for Multiprocessor System
Drs. Alfred Mutanga
Management Information Systems Specialist
University of Venda
Date: 17 November 2013
Venue: Novotel Hotel, World Trade Centre, Dubai, UAE
Why a Cache Performance Evaluation System?

????
The Memory Wall?
– Memory and Processor Speeds
• Processors Speeds rising dramatically at 75%/p.a.
• Memory clock speeds at a paltry 7% p.a.

– Result: A divergence in the Operating Speeds
Research Questions
1. To what extend do the number of processors in
multiprocessor architectures affect the
performance of level one (L1) data Cache
Memory Systems?
2. How do cache coherency protocols influence the
Level-1 Data Cache memory performances of
multiprocessor architectures?
Theoretical Framework
The Challenges of Multi-core architectures?
– Programmability
– Scalability
– Communications
– Management of heterogeneous architectures

– Cache Memory Systems
– Attempts to increase memory bandwidth by

introducing concurrency in memory access
– Required regular memory access patterns – resulted
in degradation in memory performance
Memory Hierarchy

Architectural issues of Memory Hierarchy?
– Brings conflicting requirements in the memory systems
• Computing systems require a large and fast memory to scale
up performances

– MH attempts to make slow memory appear fast by
buffering data into smaller faster memories close to
CPUs

– Electronic Systems: Slow down as they increase in

size (compromise between power and performance)

– Most common solution to Memory wall is to cache
data
Research Methodology
CPU

CACHE

CPU

CPU

CACHE

CACHE

INTERCONNECTION NETWORK

CPU

CACHE

• Linux Environment – Arch
Linux
• SystemC
• Memory Trace Files
• Fast Fourier Trace Files
• Random Trace Files
• Debugging Trace Files

• Distributed Shared Memory
System
• Cache Coherence Protocols
• Snoopy (Valid-Invalid)
• Directory based (MOESI)

• Cache Memory
MEMORY

• 32KB Level-1 Data Cache
• 32 Byte line
Design and Implementation in SystemC
• Memory Module-simulated the Shared bulk (RAM)
• CPU Module-has to connect to the other modules such
as the cache, and memory using the appropriate ports
• Cache Module- defined the Cache properties and
macros that were used throughout the simulation
• Simple Bus Module- connected to the different address
ports in the cache using an appropriate bus signal
• Cache Helper Libraries- represented files that collected
the traces of the memory requests during each program
execution
Average Hit Rate Using Random Traces
Average Hit Rate Using Fast-Fourier
Transform Traces
Average Bus Contention Using Random
Traces
Average Bus Contention Using Fast-Fourier
Transform Traces
Conclusions
• Write-invalidate-needs management of dynamic
requests
• Execution time-increases with number of processors
• Snooping- has a direct effect on cache
• Synchronization of caches and optimizations in the
compiler- can increase cache performance
• Cache Coherency protocols- directory based cache
coherency protocols have a slight performance edge
over Snooping cache coherency protocols
Acknowledgements
•
•
•
•
•

Jesshope, C(2008,2009,2011)-Trace files
Bhasker, J. (2009)-SystemCTM Primer
OSCI- SystemC Libraries
AMD-64 Programming manual- MOESI Protocol
Hennessy, L., J. and Patterson, A., D. (2007)- Computer
Architecture: A Quantitative Approach
• Etc.
Thank you

Más contenido relacionado

La actualidad más candente

Coherence and consistency models in multiprocessor architecture
Coherence and consistency models in multiprocessor architectureCoherence and consistency models in multiprocessor architecture
Coherence and consistency models in multiprocessor architectureUniversity of Pisa
 
Multiprocessor
MultiprocessorMultiprocessor
MultiprocessorNeel Patel
 
Symmetric multiprocessing and Microkernel
Symmetric multiprocessing and MicrokernelSymmetric multiprocessing and Microkernel
Symmetric multiprocessing and MicrokernelManoraj Pannerselum
 
Paralle programming 2
Paralle programming 2Paralle programming 2
Paralle programming 2Anshul Sharma
 
Parallel Processing Presentation2
Parallel Processing Presentation2Parallel Processing Presentation2
Parallel Processing Presentation2daniyalqureshi712
 
Smp and asmp architecture.
Smp and asmp architecture.Smp and asmp architecture.
Smp and asmp architecture.Gaurav Dalvi
 
Multiprocessor structures
Multiprocessor structuresMultiprocessor structures
Multiprocessor structuresShareb Ismaeel
 
Multivector and multiprocessor
Multivector and multiprocessorMultivector and multiprocessor
Multivector and multiprocessorKishan Panara
 
Symmetric multiprocessing (smp)
Symmetric multiprocessing (smp)Symmetric multiprocessing (smp)
Symmetric multiprocessing (smp)rayhan basher
 
Lecture 6
Lecture  6Lecture  6
Lecture 6Mr SMAK
 

La actualidad más candente (20)

Shared memory.pptx
Shared memory.pptxShared memory.pptx
Shared memory.pptx
 
Coherence and consistency models in multiprocessor architecture
Coherence and consistency models in multiprocessor architectureCoherence and consistency models in multiprocessor architecture
Coherence and consistency models in multiprocessor architecture
 
Multiprocessor
MultiprocessorMultiprocessor
Multiprocessor
 
Moving to moodle 2
Moving to moodle 2Moving to moodle 2
Moving to moodle 2
 
Symmetric multiprocessing and Microkernel
Symmetric multiprocessing and MicrokernelSymmetric multiprocessing and Microkernel
Symmetric multiprocessing and Microkernel
 
Lecture4
Lecture4Lecture4
Lecture4
 
Paralle programming 2
Paralle programming 2Paralle programming 2
Paralle programming 2
 
Parallel Processing Presentation2
Parallel Processing Presentation2Parallel Processing Presentation2
Parallel Processing Presentation2
 
Multiprocessor
MultiprocessorMultiprocessor
Multiprocessor
 
Smp and asmp architecture.
Smp and asmp architecture.Smp and asmp architecture.
Smp and asmp architecture.
 
Parallel processing extra
Parallel processing extraParallel processing extra
Parallel processing extra
 
Lecture6
Lecture6Lecture6
Lecture6
 
Lecture1
Lecture1Lecture1
Lecture1
 
Week5
Week5Week5
Week5
 
Lecture5
Lecture5Lecture5
Lecture5
 
Multiprocessor structures
Multiprocessor structuresMultiprocessor structures
Multiprocessor structures
 
Micro kernel
Micro kernelMicro kernel
Micro kernel
 
Multivector and multiprocessor
Multivector and multiprocessorMultivector and multiprocessor
Multivector and multiprocessor
 
Symmetric multiprocessing (smp)
Symmetric multiprocessing (smp)Symmetric multiprocessing (smp)
Symmetric multiprocessing (smp)
 
Lecture 6
Lecture  6Lecture  6
Lecture 6
 

Similar a Cache Performance Evaluation Multiprocessor System

chapter-18-parallel-processing-multiprocessing (1).ppt
chapter-18-parallel-processing-multiprocessing (1).pptchapter-18-parallel-processing-multiprocessing (1).ppt
chapter-18-parallel-processing-multiprocessing (1).pptNANDHINIS109942
 
18 parallel processing
18 parallel processing18 parallel processing
18 parallel processingdilip kumar
 
Chip Multithreading Systems Need a New Operating System Scheduler
Chip Multithreading Systems Need a New Operating System Scheduler Chip Multithreading Systems Need a New Operating System Scheduler
Chip Multithreading Systems Need a New Operating System Scheduler Sarwan ali
 
GEN-Z: An Overview and Use Cases
GEN-Z: An Overview and Use CasesGEN-Z: An Overview and Use Cases
GEN-Z: An Overview and Use Casesinside-BigData.com
 
Lecture-7 Main Memroy.pptx
Lecture-7 Main Memroy.pptxLecture-7 Main Memroy.pptx
Lecture-7 Main Memroy.pptxAmanuelmergia
 
Lecture 1 (distributed systems)
Lecture 1 (distributed systems)Lecture 1 (distributed systems)
Lecture 1 (distributed systems)Fazli Amin
 
Memory Management in Operating Systems for all
Memory Management in Operating Systems for allMemory Management in Operating Systems for all
Memory Management in Operating Systems for allVSKAMCSPSGCT
 
Parallel Computing
Parallel ComputingParallel Computing
Parallel ComputingMohsin Bhat
 
A Closer Look at Apache Kudu
A Closer Look at Apache KuduA Closer Look at Apache Kudu
A Closer Look at Apache KuduAndriy Zabavskyy
 
Study of various factors affecting performance of multi core processors
Study of various factors affecting performance of multi core processorsStudy of various factors affecting performance of multi core processors
Study of various factors affecting performance of multi core processorsateeq ateeq
 

Similar a Cache Performance Evaluation Multiprocessor System (20)

parallel processing.ppt
parallel processing.pptparallel processing.ppt
parallel processing.ppt
 
chapter-18-parallel-processing-multiprocessing (1).ppt
chapter-18-parallel-processing-multiprocessing (1).pptchapter-18-parallel-processing-multiprocessing (1).ppt
chapter-18-parallel-processing-multiprocessing (1).ppt
 
22CS201 COA
22CS201 COA22CS201 COA
22CS201 COA
 
parallel-processing.ppt
parallel-processing.pptparallel-processing.ppt
parallel-processing.ppt
 
18 parallel processing
18 parallel processing18 parallel processing
18 parallel processing
 
Parallel processing
Parallel processingParallel processing
Parallel processing
 
Intro_ppt.pptx
Intro_ppt.pptxIntro_ppt.pptx
Intro_ppt.pptx
 
OS_MD_4.pdf
OS_MD_4.pdfOS_MD_4.pdf
OS_MD_4.pdf
 
Factored operating systems
Factored operating systemsFactored operating systems
Factored operating systems
 
Parallel processing
Parallel processingParallel processing
Parallel processing
 
Chip Multithreading Systems Need a New Operating System Scheduler
Chip Multithreading Systems Need a New Operating System Scheduler Chip Multithreading Systems Need a New Operating System Scheduler
Chip Multithreading Systems Need a New Operating System Scheduler
 
GEN-Z: An Overview and Use Cases
GEN-Z: An Overview and Use CasesGEN-Z: An Overview and Use Cases
GEN-Z: An Overview and Use Cases
 
Lecture-7 Main Memroy.pptx
Lecture-7 Main Memroy.pptxLecture-7 Main Memroy.pptx
Lecture-7 Main Memroy.pptx
 
Lecture 1 (distributed systems)
Lecture 1 (distributed systems)Lecture 1 (distributed systems)
Lecture 1 (distributed systems)
 
Memory Management in Operating Systems for all
Memory Management in Operating Systems for allMemory Management in Operating Systems for all
Memory Management in Operating Systems for all
 
Parallel Computing
Parallel ComputingParallel Computing
Parallel Computing
 
Aca module 1
Aca module 1Aca module 1
Aca module 1
 
A Closer Look at Apache Kudu
A Closer Look at Apache KuduA Closer Look at Apache Kudu
A Closer Look at Apache Kudu
 
Chap2 slides
Chap2 slidesChap2 slides
Chap2 slides
 
Study of various factors affecting performance of multi core processors
Study of various factors affecting performance of multi core processorsStudy of various factors affecting performance of multi core processors
Study of various factors affecting performance of multi core processors
 

Último

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 

Último (20)

Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 

Cache Performance Evaluation Multiprocessor System

  • 1.
  • 2. Cache Performance Evaluation for Multiprocessor System Drs. Alfred Mutanga Management Information Systems Specialist University of Venda Date: 17 November 2013 Venue: Novotel Hotel, World Trade Centre, Dubai, UAE
  • 3. Why a Cache Performance Evaluation System? ???? The Memory Wall? – Memory and Processor Speeds • Processors Speeds rising dramatically at 75%/p.a. • Memory clock speeds at a paltry 7% p.a. – Result: A divergence in the Operating Speeds
  • 4. Research Questions 1. To what extend do the number of processors in multiprocessor architectures affect the performance of level one (L1) data Cache Memory Systems? 2. How do cache coherency protocols influence the Level-1 Data Cache memory performances of multiprocessor architectures?
  • 5. Theoretical Framework The Challenges of Multi-core architectures? – Programmability – Scalability – Communications – Management of heterogeneous architectures – Cache Memory Systems – Attempts to increase memory bandwidth by introducing concurrency in memory access – Required regular memory access patterns – resulted in degradation in memory performance
  • 6. Memory Hierarchy Architectural issues of Memory Hierarchy? – Brings conflicting requirements in the memory systems • Computing systems require a large and fast memory to scale up performances – MH attempts to make slow memory appear fast by buffering data into smaller faster memories close to CPUs – Electronic Systems: Slow down as they increase in size (compromise between power and performance) – Most common solution to Memory wall is to cache data
  • 7. Research Methodology CPU CACHE CPU CPU CACHE CACHE INTERCONNECTION NETWORK CPU CACHE • Linux Environment – Arch Linux • SystemC • Memory Trace Files • Fast Fourier Trace Files • Random Trace Files • Debugging Trace Files • Distributed Shared Memory System • Cache Coherence Protocols • Snoopy (Valid-Invalid) • Directory based (MOESI) • Cache Memory MEMORY • 32KB Level-1 Data Cache • 32 Byte line
  • 8. Design and Implementation in SystemC • Memory Module-simulated the Shared bulk (RAM) • CPU Module-has to connect to the other modules such as the cache, and memory using the appropriate ports • Cache Module- defined the Cache properties and macros that were used throughout the simulation • Simple Bus Module- connected to the different address ports in the cache using an appropriate bus signal • Cache Helper Libraries- represented files that collected the traces of the memory requests during each program execution
  • 9. Average Hit Rate Using Random Traces
  • 10. Average Hit Rate Using Fast-Fourier Transform Traces
  • 11. Average Bus Contention Using Random Traces
  • 12. Average Bus Contention Using Fast-Fourier Transform Traces
  • 13. Conclusions • Write-invalidate-needs management of dynamic requests • Execution time-increases with number of processors • Snooping- has a direct effect on cache • Synchronization of caches and optimizations in the compiler- can increase cache performance • Cache Coherency protocols- directory based cache coherency protocols have a slight performance edge over Snooping cache coherency protocols
  • 14. Acknowledgements • • • • • Jesshope, C(2008,2009,2011)-Trace files Bhasker, J. (2009)-SystemCTM Primer OSCI- SystemC Libraries AMD-64 Programming manual- MOESI Protocol Hennessy, L., J. and Patterson, A., D. (2007)- Computer Architecture: A Quantitative Approach • Etc.