Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu.
-
date post
15-Jan-2016 -
Category
Documents
-
view
217 -
download
0
Transcript of Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu.
![Page 1: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu.](https://reader036.fdocuments.in/reader036/viewer/2022062322/56649d4d5503460f94a2bf6e/html5/thumbnails/1.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062322/56649d4d5503460f94a2bf6e/html5/thumbnails/2.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062322/56649d4d5503460f94a2bf6e/html5/thumbnails/3.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062322/56649d4d5503460f94a2bf6e/html5/thumbnails/4.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062322/56649d4d5503460f94a2bf6e/html5/thumbnails/5.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062322/56649d4d5503460f94a2bf6e/html5/thumbnails/6.jpg)
Visualization App
![Page 7: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu.](https://reader036.fdocuments.in/reader036/viewer/2022062322/56649d4d5503460f94a2bf6e/html5/thumbnails/7.jpg)
Visualization App
![Page 8: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu.](https://reader036.fdocuments.in/reader036/viewer/2022062322/56649d4d5503460f94a2bf6e/html5/thumbnails/8.jpg)
Visualization App
![Page 9: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu.](https://reader036.fdocuments.in/reader036/viewer/2022062322/56649d4d5503460f94a2bf6e/html5/thumbnails/9.jpg)
Visualization App
![Page 10: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu.](https://reader036.fdocuments.in/reader036/viewer/2022062322/56649d4d5503460f94a2bf6e/html5/thumbnails/10.jpg)
Test Results
CPU utilization over time
![Page 11: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu.](https://reader036.fdocuments.in/reader036/viewer/2022062322/56649d4d5503460f94a2bf6e/html5/thumbnails/11.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062322/56649d4d5503460f94a2bf6e/html5/thumbnails/12.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062322/56649d4d5503460f94a2bf6e/html5/thumbnails/13.jpg)
How Much Overhead?
![Page 14: Program Visualization at the System Level University of Notre Dame Dirk Van Bruggen and Jian Mu.](https://reader036.fdocuments.in/reader036/viewer/2022062322/56649d4d5503460f94a2bf6e/html5/thumbnails/14.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062322/56649d4d5503460f94a2bf6e/html5/thumbnails/15.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062322/56649d4d5503460f94a2bf6e/html5/thumbnails/16.jpg)
Questions?