astream User Guide
astream is a tool for prolonging the service life of drives. It monitors directories based on the inotify mechanism of Linux and works with the stream allocation rules for application scenarios defined by users to set stream information for matched files when they are created. Then, the stream information is transparently transmitted to an NVMe SSD with the multi-stream feature enabled through the kernel. This allows the file storage to be better classified as identified by the stream information and reduces the workload of drive garbage collection, thereby lowering the write amplification factor (WAF) and prolonging the service life of the drive. astream focuses on database applications that have workloads with the same or similar lifecycles, such as MySQL.