Giter Site home page Giter Site logo

mmeerbott / fs-age-benchmark Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 2.71 MB

A project from a grad course taken in spring 2018. It compares F2FS (made specifically for NAND Flash storage) and EXT4 by aging them and measuring polling times to give an idea of reliability.

License: GNU General Public License v2.0

Shell 1.84% Gnuplot 0.43% Makefile 0.06% TeX 95.09% Python 2.58%
filesystem-analysis

fs-age-benchmark's Introduction

F2FS and EXT4 Reliability

FS Age Benchmarking

Measuring reliability through aging


Dependencies

libf2fs0 f2fs-tools

Git-Benchmark Scripts which are placed in src/: git_benchmark.py grep_ext4.sh grep-f2fs.sh

How to Run

You'll need to install the dependencies before running.

This section includes the files:

    runner.sh
    git_benchmark.py
    grep_ext4.sh
    grep_f2fs.sh
    reset.sh

runner.sh is a wrapper that uses Git-Benchmark scripts

reset.sh is for resetting the SD card to start the tests over (deletes the SD card's contents).

To run the tests, I created runner.sh to run tests for both EXT4 and F2FS, so that it can run in background. You will need to change the variables in the file. Below is a summary of them.

SRC_REPO: the path to git repo on your computer to pull from.

DEST: the path to be aged

OUTPUT_FILE: the file you want the script to write to

TOTAL_PULLS: total number of pulls you want performed

PULLS_PER_TEST: the step/amount-of-pulls you want to perform grep-tests at

TEST_SCRIPT: the script that performs the grep tests

PATH_TO_AGED: the path to the aged directory (you may need to create one) AGED_BLK_DEV: the device partition to age (found in /dev/) PATH_TO_UNAGED: the path to the aged directory (you may need to create one) UNAGED_BLK_DEV: the device partition that won't be aged (found in /dev/)

Note: These variables are changed half way through the script. Make sure you
change those as well. First half of the scipt is for F2FS, the other half is
for EXT4.

data/

This directory contains the data from running the experiments. Below is a description for each of the files.

plots.gp: this file can be loaded in gnuplot to plot the results into a graph.

data.dat: the data for each run, formatted for gnuplot for plots.gp.

f2fs_aged_out.txt: the raw data (in text) from the F2FS runs, with each failed pull line deleted, except for the first and last in each section.

ext4_aged_out.txt: the same as the above, but for the EXT4 runs.

report

Contains files for creating the report that was turned in for the course. Uses a makefile to generate the PDF from a LaTeX file.

fs-age-benchmark's People

Contributors

mmeerbott 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.