Record Details

Experiments with the pentium Performance monitoring counters

Electronic Theses of Indian Institute of Science

View Archive Info
 
 
Field Value
 
Title Experiments with the pentium Performance monitoring counters
 
Creator Agarwal, Gunjan
 
Subject Computer and Information Science
Computer Performance Evaluation
Monitoring System Performance
Cache Performance
Pentium Performance Monitoring
TLB misses
Cache misses
Profiling Methodology
 
Description Performance monitoring counters are implemented in most recent microprocessors. In this thesis, we describe various performance measurement experiments for a program and a system that we conducted on a Linux operating system using the Pentium performance counters. We carried out our performance measurements on a Pentium II microprocessor. The Pentium II performance counters can be configured to count events such as cache misses, TLB misses, instructions executed etc. We used a low intrusive overhead technique to access these performance counters.

We used these performance counters to measure the cache miss overheads due to context switches in Linux system. Our methodology involves sampling the hardware counters every 50ps. The sampling was set up using signals related to interval timers. We describe an analytical cache performance model under multiprogrammed condition from the literature and validate it using the performance monitoring counters.

We next explores the long term performance of a system under different workload conditions. Various performance monitoring events - data cache h, data TLB misses, data cache reads or writes, branches etc. - are monitored over a 24 hour period. This is useful in identifying activities which cause loss of system performance. We used timer interrupts for sampling the performance counters.

We develop a profiling methodology to give a perspective of performance of the different functions of a program, not only on the basis of execution-time but also on the data cache misses. Available tools like prof on Unix can be used to pinpoint the regions of performance loss of programs, but they mainly rely on an execution-time profiles. This does not give insight into problems in cache performance for that program. So we develop this methodology to get the performance of each function of the program not only on the basis of its execution time but also on the basis of its cache behavior.
 
Publisher Indian Institute of Science
 
Contributor Jacob, Matthew
 
Date 2005-02-11T06:43:26Z
2005-02-11T06:43:26Z
2005-02-11T06:43:26Z
2002-06
 
Type Electronic Thesis and Dissertation
 
Format 6539546 bytes
application/pdf
 
Identifier http://hdl.handle.net/2005/69
null
 
Language en
 
Rights I grant Indian Institute of Science the right to archive and to make available my thesis or dissertation in whole or in part in all forms of media, now hereafter known. I retain all proprietary rights, such as patent rights. I also retain the right to use in future works (such as articles or books) all or part of this thesis or dissertation.