Skip to content

youngtack/liblightnvm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User space I/O library for Open-channel SSDs

Status Build Status docs http://lightnvm.io/liblightnvm

liblightnvm is a user space library that manages provisioning of and I/O submission to physical flash. The motivation is to enable I/O-intensive applications to implement their own Flash Translation Layer (FTLs) using the internal application data structures. The design is based on the principle that high-performance I/O applications often use structures that assimilates structures found within a Flash translation layer. This include log-structured data structures that provides their own mechanisms for data placement, garbage collection, and I/O scheduling strategies.

For example, popular key-value stores often use a form of Log Structured Merge Trees (LSMs) as their base data structure (including RocksDB, MongoDB, Apache Cassandra). The LSM is in itself a form of FTL, which manages data placement and garbage collection. This class of applications can benefit from a direct path to physical flash to take full advantage of the optimizations they do and spend host resources on, instead of missing them through the several levels of indirection that the traditional I/O stack imposes to enable genericity: page cache, VFS, file system, and device physical - logical translation table. liblightnvm exposes append-only primitives using direct physical flash to support this class of applications.

Contact and Contributions

liblightnvm is in active development and pull requests are very welcome.

References

  1. Open-channel SSDs
  2. Getting Started
  3. nvme-cli
  4. [qemu-nvme](<https://github.com/OpenChannelSSD/qemu-nvme)
  5. [lightnvm-hw](<https://github.com/OpenChannelSSD/lightnvm-hw)
  6. rocksdb support

About

User space I/O library for Open-Channel SSDs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 84.4%
  • Python 7.8%
  • CMake 3.8%
  • C++ 2.3%
  • Makefile 1.1%
  • Shell 0.6%