Giter Club home page Giter Club logo

parallel_fsm_rv's Introduction

Exploring Data Parallel Finite State Machines for Runtime Verification


A course project for CS 6156: Runtime Verification.

The goal is to exploit the parallelism offered by modern hardware to lower the runtime and energy overhead of monitoring with finite state machines, based initially on techniques from the ASPLOS 2014 paper Data-parallel Finite State Machines.


How to install

Install Rust and run cargo test in the root of this repository to install all monitor dependencies. Install Python3 and run pip3 install click to install scripting dependencies.

How to use

This project provides a tool with a command line interface:

Parallel FSM for Runtime Verification

USAGE:
    parallel_fsm_rv [FLAGS] [OPTIONS] <INPUT>

FLAGS:
    -h, --help       Prints help information
        --seq        Run sequentially
    -V, --version    Prints version information

OPTIONS:
        --par <par>    Parallelism factor (number of cores), defaults to
                       number of physical cores on the machine

ARGS:
    <INPUT>    Sets the input file

To run the project on a well-formatted trace:

cargo run --release compress-slices/52654653

Obtaining traces

Use JavaMOP to obtain a raw trace, then pipe it to the preprocessing script:

cat trace | python3 preprocess-trace.py

This script has the following options:

Usage: preprocess-trace.py [OPTIONS] <out>

  Preprocess trace by removing tags, splitting on monitor instance, and
  writing to a new file per monitor instance.

Options:
  --dedup / --no-dedup
  --help                Show this message and exit.

parallel_fsm_rv's People

Contributors

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