Skip to content
/ MBPAR Public

MATLAB-BASED BLOCK-TRACE PARSER, ANALYSER AND REPORTER

License

Notifications You must be signed in to change notification settings

junxu-ai/MBPAR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I'm still waiting for the open source approval from WDC legel department... Please be patient...

MBPA

Matlab-based Block-trace Parser, Analyser and Reporter. It comes with a book on "block trace analysis and storage system optimization". Besides, a Python version is also provided.

Author: Jun Xu (jun.xu@wdc.com)

Background

IO event trace analysis is one of the most common techniques for storage system performance analysis. In particular, block-level trace analysis is essential for storage system optimization and design, as most underlying storage devices are in block-level, even the upper-level system to users are in object- or file-level. However, there are very few tools dedicated to this topic. This tool intends to fill this gap and provide a self-inclusive contents for block-level trace analysis techniques, as well as trace parsing and result reporting techniques, based on MATLAB platform.

Installation

Put all source files into a folder, e.g., MBPA, and then add the path in Matlab to this folder.

structure

"Trace Analysis": the main functions to analysing the trace with given format. tens of properties are presented ##lists_cmd: Nx3 matrix; the first column is starting LBA, the second column is the request size, and the third column is access type (0/write, 1/read) ##lists_action: Nx2 matrix with the first column as arrival time, and the second coloumn as completion time

"Blktrace Parser": parse the ascii file into trace matrix raw data file with blkparse: use "blktrace_parser_s.m" with specified filename (e.g., "sample data\blkparse\310.blktrace.txt") parsed data file with btt: many different cases

"Report generator": powerpoint report generator

Howto

  1. run the blktrace parser first to get the trace matrices "lists_cmd" and "Blktrace Parser"
  2. run the corresponding trace analysis functions based your need; by default, all workload metrices will be analyzed
  3. run report generator to create a powerpoint slide;

batch_generate_report.m & batch_generate_ppt.m provide a demo. for more information, please refer to manual

TD list

  1. add more functions on locality analysis
  2. add flexiablity in report generator

About

MATLAB-BASED BLOCK-TRACE PARSER, ANALYSER AND REPORTER

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published