Skip to content

3. LightNVM

Ivan Picoli edited this page Aug 20, 2019 · 3 revisions

LightNVM is the open-channel SSD subsystem in the Linux kernel. LightNVM identifies Open-Channel SSDs via the NVMe driver. Responsibilities like wear leveling, mapping table, garbage collection, bad blocks, and recovery, may be implemented within the stack. Figure 2 depicts the LightNVM ecosystem.

The device driver is responsible to identify and register the OpenChannel SSD within LightNVM core. Finally, applications can mount a target (expose a block device) on top of an Open-Channel SSD via 'pblk' FTL (available in the Linux kernel).

LightNVM Ecosystem Figure 2. LightNVM Ecosystem (Matias Bjørling, 2016)

LibLightNVM

Liblightnvm is the open-channel SSD user-space library. Applications may implement their own FTL or data placement using liblightnvm functions. In OX, we use this library to communicate with open-channel SSDs.

Clone this wiki locally