Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.34 KB

README.md

File metadata and controls

41 lines (31 loc) · 1.34 KB

Python environment

Contains various files to generate plots or analyze results. Running any script in this directory is likely to require the libraries specified in requirements.txt. The easiest solution to install these dependencies is by setting up the python folder as virtualenv.

virtualenv -p python3 python
rm python/.gitignore
cd python
source bin/activate
pip3 install -r requirements.txt

Index

  1. graphs
  2. csd-*
  3. regular-*

CSD kernel files

The files starting with csd- perform CSD kernel operations in tandem with their application on the FluffleFS filesystem.

These files have the following prerequisites:

  1. FluffleFS must be mounted under the .test/ directory relative from the current path (not the path of python files themselves).
  2. The kernel objects registered and launched by the python file must exist on the mounted FluffleFS filesystem. The bin folder inside the project build directory ./build/opencsd/bin will contain these.
  3. A test file with (often) arbitrary test data must exist under /test from the FluffleFS mount point. Due to the simplicity of kernels the size must be sector aligned.

Regular files

Some python files are used to recreate behavior of CSD kernels without offloading. Typically, these start with regular-.