16
Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu

Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu

  • View
    217

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu

Program Visualization at the System Level

University of Notre DameDirk Van Bruggen and Jian Mu

Page 2: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu

The Problem

Simple programs can be complex

Commands offer a look into the system calls

Output is difficult to decipher

How does the program run?

What files/resources are used?

Page 3: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu

The Solution

Create a program to assist in visualizations Create a Data Pipeline

Create Modules for each stage

commands parser Data processor

visualizer

Page 4: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu

Implementation

• Written in a combination of Python and C++

• Data Processing Modules

• Pull out size of data read

• Calculate IO Rate per files

• Calculate Time spent on each file

• Sum up the total time taken for all system calls

Page 5: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu

Usage Example

All-pairs program:

Compare_bitdumb

Set A Set B

Matrix M

File size = 100M

Page 6: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu

Visualization App

Page 7: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu

Visualization App

Page 8: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu

Visualization App

Page 9: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu

Visualization App

Page 10: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu

Test Results

CPU utilization over time

Page 11: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu

Test Results (contd.)

Memory utilization over time

Page 12: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu

Test Results (contd.)

Load average in the last one minute

Page 13: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu

How Much Overhead?

Page 14: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu

User Study

• Small Study – 4 testers

• Results

• Raw strace – Information is too dense

• Time consuming to find total file sizes

• Viz App is easier to find total file sizes• Range of improvement answers.

Page 15: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu

Future Work

• Ideas from user study:

• Labeling Function

• Zoom Problems

• Display call details

• Display time spent opening and reading per file

• Easier expansion of directories

Page 16: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu

Questions?