Simulated Cache Bookkeeping with LLVM
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...
Main Authors: | , |
---|---|
Format: | Others |
Language: | English |
Published: |
KTH, Skolan för datavetenskap och kommunikation (CSC)
2015
|
Subjects: | |
Online Access: | http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-166579 |
id |
ndltd-UPSALLA1-oai-DiVA.org-kth-166579 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-UPSALLA1-oai-DiVA.org-kth-1665792018-01-12T05:11:16ZSimulated Cache Bookkeeping with LLVMengPalmkvist, ViktorLinn, AndreasKTH, Skolan för datavetenskap och kommunikation (CSC)KTH, Skolan för datavetenskap och kommunikation (CSC)2015Computer SciencesDatavetenskap (datalogi)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. 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. Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-166579application/pdfinfo:eu-repo/semantics/openAccess |
collection |
NDLTD |
language |
English |
format |
Others
|
sources |
NDLTD |
topic |
Computer Sciences Datavetenskap (datalogi) |
spellingShingle |
Computer Sciences Datavetenskap (datalogi) Palmkvist, Viktor Linn, Andreas Simulated Cache Bookkeeping with LLVM |
description |
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. === 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. |
author |
Palmkvist, Viktor Linn, Andreas |
author_facet |
Palmkvist, Viktor Linn, Andreas |
author_sort |
Palmkvist, Viktor |
title |
Simulated Cache Bookkeeping with LLVM |
title_short |
Simulated Cache Bookkeeping with LLVM |
title_full |
Simulated Cache Bookkeeping with LLVM |
title_fullStr |
Simulated Cache Bookkeeping with LLVM |
title_full_unstemmed |
Simulated Cache Bookkeeping with LLVM |
title_sort |
simulated cache bookkeeping with llvm |
publisher |
KTH, Skolan för datavetenskap och kommunikation (CSC) |
publishDate |
2015 |
url |
http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-166579 |
work_keys_str_mv |
AT palmkvistviktor simulatedcachebookkeepingwithllvm AT linnandreas simulatedcachebookkeepingwithllvm |
_version_ |
1718605840030629888 |