Experiments with the pentium Performance monitoring counters

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 meas...

Full description

Bibliographic Details
Main Author: Agarwal, Gunjan
Other Authors: Jacob, Matthew
Format: Others
Language:en
Published: Indian Institute of Science 2005
Subjects:
Online Access:http://hdl.handle.net/2005/69
id ndltd-IISc-oai-etd.ncsi.iisc.ernet.in-2005-69
record_format oai_dc
spelling ndltd-IISc-oai-etd.ncsi.iisc.ernet.in-2005-692013-01-07T21:20:05ZExperiments with the pentium Performance monitoring countersAgarwal, GunjanComputer and Information ScienceComputer Performance EvaluationMonitoring System PerformanceCache PerformancePentium Performance MonitoringTLB missesCache missesProfiling MethodologyPerformance 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.Indian Institute of ScienceJacob, Matthew2005-02-11T06:43:26Z2005-02-11T06:43:26Z2005-02-11T06:43:26Z2002-06Electronic Thesis and Dissertation6539546 bytesapplication/pdfhttp://hdl.handle.net/2005/69nullenI 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.
collection NDLTD
language en
format Others
sources NDLTD
topic Computer and Information Science
Computer Performance Evaluation
Monitoring System Performance
Cache Performance
Pentium Performance Monitoring
TLB misses
Cache misses
Profiling Methodology
spellingShingle Computer and Information Science
Computer Performance Evaluation
Monitoring System Performance
Cache Performance
Pentium Performance Monitoring
TLB misses
Cache misses
Profiling Methodology
Agarwal, Gunjan
Experiments with the pentium Performance monitoring counters
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.
author2 Jacob, Matthew
author_facet Jacob, Matthew
Agarwal, Gunjan
author Agarwal, Gunjan
author_sort Agarwal, Gunjan
title Experiments with the pentium Performance monitoring counters
title_short Experiments with the pentium Performance monitoring counters
title_full Experiments with the pentium Performance monitoring counters
title_fullStr Experiments with the pentium Performance monitoring counters
title_full_unstemmed Experiments with the pentium Performance monitoring counters
title_sort experiments with the pentium performance monitoring counters
publisher Indian Institute of Science
publishDate 2005
url http://hdl.handle.net/2005/69
work_keys_str_mv AT agarwalgunjan experimentswiththepentiumperformancemonitoringcounters
_version_ 1716475977590112256