Giter Club home page Giter Club logo

gpu-rscode's Introduction

GPU-RSCode

Accelerate Reed-Solomon coding for Fault-Tolerance in RAID-like system.

Online presentation: http://yszheda.github.io/GPU-RSCode/

Motivation

In a RAID-like system, storage is distributed among several devices, and the probability of one of these devices failing becomes significant. Therefore, fault-tolerance must be taken into account.

Compared to the commonly used replication, erasure codes can reduce the redundancy ratio tremendously. Among various types of erasure codes, Reed-Solomon code is one of the popular and it is a kind of optimal erasure codes which has the so-called Maximum Distance Separable (MDS) property.

The reason that discourages using Reed-Solomon coding to replace replication is its high computational complexity: Galois Field arithmetic is complex, and matrix operations consume a lot of time. Therefore, GPU acceleratation is taken into account to improve its shortcomings.

Installation

./configure
make
make install

Usage

New Version

[-h]: show usage information

Encode:

[-k|-K nativeBlockNum] [-n|-N totalBlockNum] [-e|-E fileName]

Decode:

[-d|-D] [-k|-K nativeBlockNum] [-n|-N totalBlockNum] 
        [-i|-I originalFileName] [-c|-C config] [-o|-O output]

For encoding, the -k, -n, and -e options are all necessary. For decoding, the -d, -i, and -c options are all necessary. If the -o option is not set, the original file name will be chosen as the output file name by default.

Performance-tuning Options:

[-p]: set maxmimum blockDimX
[-s]: set stream number

Old Version (tag 2.0)

For encode:

RS <fragment num> <replica num> -e <original file>

For decode:

RS <fragment num> <replica num> -d [<configuration file>] [-o <output file>]

gpu-rscode's People

Contributors

yszheda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gpu-rscode's Issues

An example for (255,223) and (255,239) codes

Congratulations on your work.
We would like to try the performance of (255,223) and (255,239) codes.
Could you provide an example for en/decoding these codes?
Thank you in advance.

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.