Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lastek/computing-fundamentals-memory-performance
- Owner: Lastek
- Created: 2024-03-02T22:29:06.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-30T15:59:21.000Z (4 months ago)
- Last Synced: 2024-10-13T03:44:24.984Z (3 months ago)
- Topics: cache, computer, cpu, memory, performance-testing, science
- Language: Java
- Homepage:
- Size: 70.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.