- Python-2.7
- NumPy-1.10
pip install numpy
- BitVector-3.3.2 (Optional)
pip install BitVector
bv_gf.py
-- an unoptimized general implementation using BitVector moduleconfig.py
-- simple configurationsdriver.py
-- main entry; used to setup RAID system and do experimentsgf.py
-- a tuned implementationlog_helper.py
-- logging utilities (with log.yaml)raid.py
-- abstract RAID class containing several common APIsraid4.py
-- RAID4 implementationraid5.py
-- RAID5 implementationraid6.py
-- RAID6 implementationutils.py
-- common utilities
- basic operations:
- read --> check
- write
- recover <=2 disks
- detect 1 corrupted disk
- find which disk is corrupted
- recover 2-disk case
- mutable files
- RAID4 and RAID5
- concurrent actual read/write
- optimized and raw gf8 multiplication
- data types can be:
- text-only
- arbitrary bytes
- unittest
- deal with socket