I'm still waiting for the open source approval from WDC legel department... Please be patient...
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)
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.
Put all source files into a folder, e.g., MBPA, and then add the path in Matlab to this folder.
"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
- run the blktrace parser first to get the trace matrices "lists_cmd" and "Blktrace Parser"
- run the corresponding trace analysis functions based your need; by default, all workload metrices will be analyzed
- 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
- add more functions on locality analysis
- add flexiablity in report generator