Introduction
In-storage processing (ISP) has long been considered a potential solution for data-intensive applications by moving computation closer to the data. However, mainstream adoption has been hindered by significant developer friction—requiring vendor-specific APIs and code rewrites—and high communication overheads that often negate performance gains. DockerSSD addresses these challenges by allowing standard Docker containers to run directly on SSD hardware, effectively treating the storage device as an independent, container-enabled node.
The ISP Communication Bottleneck
A primary obstacle for programmable ISP models is the overhead associated with host-device communication and synchronization. Analysis of existing ISP frameworks reveals that communication and synchronization can account for a significant portion of total execution time, often offsetting the benefits of offloading computation to the storage device.
Furthermore, managing intelligent storage in modern disaggregated data centers adds layers of complexity, making the need for a standardized, familiar management interface critical for scalability.
System Architecture
DockerSSD introduces a novel architecture that bridges the gap between high-level containerization and low-level storage firmware. The system is built upon three primary pillars:
1. Ethernet over NVMe (Ether-oN)
To eliminate the need for specialized management protocols, DockerSSD implements "Ethernet over NVMe." This layer encapsulates standard TCP/IP networking within NVMe commands, allowing the host to interact with the SSD using the standard Docker CLI. This enables familiar workflows such as docker pull and docker run to manage in-storage tasks as if the SSD were a remote server.
2. Virtual Firmware (Virtual-FW)
Rather than attempting to run a full-weight Linux kernel on resource-constrained SSD controllers, the authors developed a lightweight Virtual-FW. This stack emulates essential OS features and includes a "mini-docker" runtime. The resulting binary is 83.4× smaller than a standard Linux distribution, making it suitable for embedded environments while maintaining compatibility with standard Docker images.
3. Lambda Filesystem ($λ$FS)
Data sharing between the host and the ISP container is managed by the Lambda Filesystem. It employs a dual-namespace approach: a private namespace for the container's root filesystem and a sharable namespace for application data. Consistency is maintained through a specialized "inode lock" mechanism that allows safe concurrent access.
Evaluation and Key Results
The researchers evaluated DockerSSD using an FPGA-based PCIe SSD prototype and the gem5 simulator across diverse workloads, including relational databases (MariaDB), key-value stores (RocksDB), and large language model (LLM) inference.
- General Performance: DockerSSD outperformed existing ISP models by 1.3× to 1.8× for general I/O-intensive tasks.
- LLM Inference Speedup: The system achieved a remarkable 7.9× average performance boost for distributed LLM inference. By treating flash memory as local memory for the container, DockerSSD effectively provides a massive, high-speed Key-Value (KV) cache, bypassing the slow software-based memory swapping typical of host-based systems.
- Efficiency and Latency: The Virtual-FW architecture reduced internal latency by 30.9% compared to previous models by pre-packaging execution parameters within the container's
rootfs, minimizing runtime handshaking.
Conclusion
DockerSSD demonstrates that the path to viable in-storage processing lies in standardization and software usability. By leveraging the Docker ecosystem, it provides a developer-friendly path to high-performance ISP. While host CPUs remain faster for purely compute-bound tasks, the significant gains in data-intensive scenarios—particularly LLM inference—position DockerSSD as a compelling architecture for future disaggregated data centers. Future research will focus on scaling these capabilities using orchestration tools like Kubernetes.
Summary updated