GithubHelp home page GithubHelp logo

isabella232 / file-system-stress-testing Goto Github PK

View Code? Open in Web Editor NEW

This project forked from google/file-system-stress-testing

0.0 0.0 0.0 131 KB

A tool that can be used to stress test POSIX filesystems.

License: Apache License 2.0

Makefile 8.03% C 86.58% Shell 5.39%

file-system-stress-testing's Introduction

Summary

A monkey test tool framework that can be used to stress test POSIX filesystems. There is a library of common filesystem operations (open,mmap, etc). And a small framework library that does some housekeeping (like tracking open FDs). Some example tools are provided.

Reading the monkey test overview, would help you understand the goals of this project.

Objectives

Develop a new monkey test tool that will meet these objectives:

  • Simplify adding new tests to the operational pool.
  • Increase code sharing of operation pools between different test tools.
  • Every test tool should use the same execution framework.
  • Every test tool should have the same command line API.
  • Every test tool should have a clearly defined test strategy.
  • Develop methods to reduce the effects of the Pesticide Paradox
  • Develop methods to reduce the amount of code and the execution time of the monkey test to reproduce the kernel bug.
  • Develop methods that take advantage of clusters.

Our Approach

Operational Pool

  • The operation pool is maintained as a library and can be shared between multiple test tools with different test strategies.
  • Instead of altering an existing operation -- fork the operation and create a new one.

Execution Framework

  • Use the krt framework for all test tools.
  • All tools need to have the same command line API to allow script reuse.

Strategy

  • All test tools use the krt framework and common operation libraries.
  • Each test tool needs to have a well defined test strategy.
  • Instead of changing a tool's strategy, fork the tool and create a new one.
  • Make it easy to add new operations to the pool.
  • Make it easy to prototype a new test strategy.

Scale

Split the monkey tool into two parts: one tool uses entropy to generate a file system operation list and another tool that replays this pre-generated operation list.

Using pre-generated operation lists is a win due to the future improvements this technique enables:

  • competitive algorithms can be used to create operation lists that maximize bug count
  • corpus distillation techniques can be used to create operation lists that maximize code coverage
  • regression test suites can be created using a set of minimized operation lists that have caused past regressions
  • improvements can be made to the front end without effecting existing regression tests
  • automated techniques can be developed to reduce a operation list to the minimum required to reproduce the failure in the software under test

Wiki Page Index

file-system-stress-testing's People

Contributors

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