TorFS
TorFS is a plugin that enables RocksDB to access FDP SSDs
Install / Use
/learn @SamsungDS/TorFSREADME
TorFS: RocksDB Storage Backend for FDP SSDs
TorFS is a plugin that enables RocksDB to access Flexible Data Placement (FDP) SSDs
Getting started
Build
Download RocksDB and TorFS:
git clone git@github.com:facebook/rocksdb.git
cd rocksdb
git clone git@github.com:SamsungDS/TorFS.git plugin/torfs
Install and enable TorFS in micro-bench tool of RocksDB
DEBUG_LEVEL=0 ROCKSDB_PLUGINS=torfs make -j8 db_bench
Testing with db_bench
TorFS supports xNVMe back-end that provides unified interfaces for multiple IO paths.
| | io_uring_cmd (character device) | io_uring (block device) | libaio (block device) | SPDK | | :-------: | :-----------------------------: | :---------------------: | :-------------------: | :--: | | xNVMe | √ | O | O | √ | | raw | X | X | X | X |
- √: Support IO path and data directive
- O: Support IO path only, not data directive
- X: Not support IO path and data directive
./db_bench --benchmarks=<IO pattern> --fs_uri=torfs:<backend>:<dev>?be=<IO path>
e.g.
./db_bench --benchmarks=fillseq --fs_uri=torfs:xnvme:/dev/ng0n1?be=io_uring_cmd
Note
Before version 9.3.1, casting enum WriteLifeTimeHint to uint64 is required to match the parameter type of fcntl()
Related Skills
node-connect
350.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
