Extending Cachegrind: L2 cache inclusion and TLB measuring

Stavros Kaparelos

Research output: Book/ReportOther report

537 Downloads (Pure)

Abstract

Programmers need to develop hardware conscious software in order to optimise efficiency and increase execution speed. To do that, they need tools that can provide such kind of information. Cachegrind is such a tool. It is a cache profiling tool that provides statistics for level 1 and the last level caches. This project extended Cachegrind, firstly, to include information for L2 cache when 3 levels of cache are present and, secondly, to measure the Translation Lookaside Buer (TLB). L2 cache inclusion presents the same information as presented in the other cache levels, while measuring the TLB provides
a) the number of hits and misses,
b) the pages used and the times used and
c) per file, per function and, per source code line statistics. Any extension is developed to work in an Intel x86 architecture. Finally, extensions have been tested and results have been checked to be logical, as well as to be along
the lines of the expected ones.
Original languageEnglish
PublisherDepartment of Computer Science, University of Bath
Number of pages104
Publication statusPublished - 11 Jun 2014

Publication series

NameDepartment of Computer Science Technical Report Series
No.CSBU-2014-01
ISSN (Electronic)1740-9497

Bibliographical note

Undergraduate dissertation supervised by Professor James Davenport

Keywords

  • Computer performance
  • cache utilization
  • TLB

Fingerprint

Dive into the research topics of 'Extending Cachegrind: L2 cache inclusion and TLB measuring'. Together they form a unique fingerprint.

Cite this