Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lastek/computing-fundamentals-memory-performance

Computing Fundamentals: Measuring Memory and CPU Cache Performance
https://github.com/lastek/computing-fundamentals-memory-performance

cache computer cpu memory performance-testing science

Last synced: about 2 months ago
JSON representation

Computing Fundamentals: Measuring Memory and CPU Cache Performance

Awesome Lists containing this project

README

        

### Mem Perf Measurements
This code was written for an assignment with the purpose of measuring memory performance differences of CPU cache vs RAM.
This also tests the performance of a linked list and set data structure.

The takeaways:
- Using compact and sequential data structures is preferred.
- Cache misses have a big impact on performance.
- The taking advantage of CPU pipelining allows for massive speedups.
- Conducting measurements is relatively simple and gives interesting insights into performance.