Smart Write Cache
Overview
In balanced storage, to improve the read/write efficiency of HDDs, users generally use the built-in Bcache module of the Linux kernel to accelerate drive throughput. Although the acceleration effect is obvious, in scenarios where a large number of small files are written, the IOPS fluctuates greatly or even drops to zero (as shown in Figure 1), affecting user experience. As shown in Figure 2, the
Technical Principles
The Bcache performance is unstable because it does not have the QoS function and the cache efficiency is low. The smart write cache feature introduces bandwidth and IOPS traffic limiting measures and optimizes cache management to stabilize data streams and improve throughput.
Expected Results
The integration test with the Ceph cluster shows that the write performance is 1.2 times and the mixed read/write performance is 1.1 times the corresponding performance before optimization.

