Change search
ReferencesLink to record
Permanent link

Direct link
Simulated Cache Bookkeeping with LLVM
KTH, School of Computer Science and Communication (CSC).
KTH, School of Computer Science and Communication (CSC).
2015 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

This paper presents and examines a method for profiling the data cache usage of a program. By simulating the bookkeeping of a cache we can measure the impact of each memory access. This method can be used to guide optimizations or show bottlenecks. The method is mostly deterministic and independent of the external system. We compare the results of the method with measured CPU-events and find a correlation, indicating the method to be useful for profiling data cache usage.

Abstract [sv]

Detta paper presenterar och undersöker en teknik för att profilera ett programs användning av data-cachen. Genom att simulera en caches metainformation (vilka minnesområden den innehåller) kan vi mäta antalet träffar och missar. Den här metoden kan agera vägledning vid optimering och visa på flaskhalsar. Den är även mestadels deterministisk och oberoende av det externa systemet. Vi jämför metoden med räknade CPU-events och finner en korrelation, vilket antyder att metoden är väl lämpad för profilering av data-cache-användning.

Place, publisher, year, edition, pages
National Category
Computer Science
URN: urn:nbn:se:kth:diva-166579OAI: diva2:811370
Available from: 2015-05-28 Created: 2015-05-11 Last updated: 2015-05-28Bibliographically approved

Open Access in DiVA

fulltext(700 kB)100 downloads
File information
File name FULLTEXT01.pdfFile size 700 kBChecksum SHA-512
Type fulltextMimetype application/pdf

By organisation
School of Computer Science and Communication (CSC)
Computer Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 100 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 92 hits
ReferencesLink to record
Permanent link

Direct link