Code Monkey home page Code Monkey logo

tomzhic / most Goto Github PK

View Code? Open in Web Editor NEW

This project forked from esos-lab/most

0.0 2.0 0.0 21.1 MB

Reference: LEE Kisung and WON Youjip "Smart layers and dumb result: Io characterization of an android-based smartphone" In EMSOFT 2012: In Proc. of International Conference on Embedded Software (Oct.7-12 2012). Tampere, Finland

Home Page: http://www.esos.hanyang.ac.kr/files/publication/conferences/international/Smart_Layers_and_Dumb_Result.pdf

C 78.95% R 0.52% Python 0.39% Shell 1.14% Makefile 3.74% Groff 8.91% C++ 0.07% TeX 5.76% Awk 0.26% Yacc 0.14% Scilab 0.01% Perl 0.10%

most's Introduction

Mobile Storage Analyzer

Written by Kisung Lee [email protected] (based on e2fsprogs).

Reference:

Acknowledgement:

  • This work is supported by IT R&D program MKE/KEIT (No. 10041608, Embedded System Software for New-memory based Smart Device).

Kernel part (MOST/kernel)

  • Kernel source is based on Linux kernel 2.6.35.7. (Defined by CONFIG_MOST)
  • kernel\trace\blktrace.c
  • block\blk-core.c

User program (MOST/progs/most/)

Build

    1. cd build
    1. ../configure
    1. ./config.most
    1. make
    1. Program(most) is built in build/most/.

Usage

# most [filesystem (EXT4/FAT32)] [partition path] [input file] [output file]
# most EXT4 /dev/block/mmcblk0p1 trace_in.log trace_out.log

Example

1. Run blktrace (for 60 secs)
    # blktrace -d /dev/block/mmcblk0p12 -a complete -a issue -o result -w 60
2. Run android application (for 60 secs)
3. Run blparse
    # blkparse -f "%5T.%9t\t%a\t%d\t%8S\t%4n\t%4p\t%20C\n" -q -i result > result.p
4. Run MOST
    # most EXT4 /dev/block/mmcblk0p12 result.p result.po

2012-08-27, Kisung Lee [email protected]

MOST Viewer

Requirement tools

1. python
    # apt-get install python
2. R
    # apt-get install r-base

Usage

# python test2.py [option]

example

# python test2.py [-g graph_type] [-rw Read or Write] [-t time] [-y y-axis] [-l legend] [-i input] [-o output] [-s size] [-p point]
* graph_type : f(Cumulative Bar Plot-file_type)/ b(Cumulative Bar Plot-block_type)/ t(time_plot+simple bar plot)/ all
* Read or Write : r(read)/ w(write)/ rw(both read and write) 1. time_plot(graph) only 2. rw is default
* time : sec(start):sec(end) # default - whole of the <result.po> data
* y-axis - t(time plot) : s(sector size)/ n(sector number)/ all(default) 
 - b(block type)/f(file type) : s(I/O Size)/ c(I/O Count)/ all(default)
* legend : f(file_type)/ b(block_type) # time_plot(graph) only, not implemented.
* input : # 1. name of the MOST output file(*.po), 2. default : result.po
    3. also setted as directory names : <name>-<time> ex> result.po-Wed,Sep,30,16:08:04,2015
* output # 1. name and location of the graph 2. file extension together
* size : width:height # 1. To control the ratio, size of the Graph file 2. units : inch  3. default is 7:7
* point : c(color)/ s(shape) # 1. time_plot(graph) only, 2. color is default

manual

https://drive.google.com/file/d/0B_qhp_YDu7dwalI1RWhsLWxXV0k/view?usp=sharing

2016-01-08, Kyeongyeol Choe [email protected]

most's People

Contributors

chl4651 avatar esos-lab avatar hydgen avatar kisunglee avatar kunulee avatar smartzzz avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.