monitors chapter seven dr. gheith abandah1. outline monitors software monitors hardware monitors dr....

Post on 18-Jan-2018

219 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Monitors A monitor is a tool used to observe the activities on a system Useful for: – Software optimization – Finding bottlenecks – Tuning – Characterizing workloads Dr. Gheith Abandah3

TRANSCRIPT

Monitors

Chapter Seven

Dr. Gheith Abandah 1

Outline

• Monitors• Software monitors• Hardware monitors

Dr. Gheith Abandah 2

Monitors

• A monitor is a tool used to observe the activities on a system

• Useful for:– Software optimization– Finding bottlenecks– Tuning– Characterizing workloads

Dr. Gheith Abandah 3

Definitions

• Event is a change in the system state• Trace is a log of events usually including event

times• Monitors often have overheads

Dr. Gheith Abandah 4

Monitor types

• Triggers– Event driven: good for infrequent events– Timer driven (sampling): good for frequent events

• Results displaying– Online– Batch

• Implementation– Software, hardware, firmware, hybrid

Dr. Gheith Abandah 5

Software monitors

• Activation mechanism:– Trap instruction– Trace mode; interrupt after every instruction– Timer interrupt (resolution problem)

Dr. Gheith Abandah 6

Hardware monitors

• Probes• Counters• Timers• Logic analyzers

Dr. Gheith Abandah 7

Comparison

Criterion Hardware monitor

Software monitor

Domain HW events Application and OS events

Input rate High LowTime resolution High Low

Overhead None Varies

Dr. Gheith Abandah 8

top related