Skip to content

A Hello-World for LightNVM, useful tools for both QEMU and real hardware implementations of the LightNVM (OpenChannel SSD) project

License

Notifications You must be signed in to change notification settings

DustinK92/lightnvm-hw

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lightnvm-hw

A Hello-World for LightNVM, useful tools for both QEMU and real hardware implementations of the LightNVM (OpenChannel SSD) project.

config

This folder contains config files for various incarnations of the lightnvm linux kernel. The naming convnention is config. where is the start of the sha key for the linux-lightnnvm fork of the main link kernel (https://github.com/OpenChannelSSD/linux).

There is also a simple build shell script with rules on how to build the kernel on debian/ubuntu based systems.

qemu

This folder contains some useful scripts for managing the lighnvm fork of QEMU to enable testing without physical lightnvm compliant block devices. The QEMU fork is at https://github.com/OpenChannelSSD/qemu-nvme.

nvme-cli

This is a submodule pointing to the lightnvm branch of the nvme-cli project. Refer to the README in the submodule for more information.

sanity

This is a sanity test ;-). Run the python script called lnvm_test.py with appropriate arguments to create and test lightnvm block devices that use kernel plug-ins as the FTL. 'python lnvm_test.py -h' gives an overview of the available commands.Sanity uses the most excelent fio tool in order to test the createdblock device.

Useful arguments are:
-g: Execute a set of auto-generated fio tests
-s: Execute any fio tests (*.fio) in fio_tests/

A bash script called sanity.sh is also provided as an alternative for single fio tests.

Note that both scripts must be launched with root privileges due to fio

TODO: -c: Add single test support as in sanity.sh
TODO: Load/unload LightNVM target for each test

Contributions

Pull requests and patches gratefully received ;-).

About

A Hello-World for LightNVM, useful tools for both QEMU and real hardware implementations of the LightNVM (OpenChannel SSD) project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 72.9%
  • Shell 27.1%