Ssd caching how does it work
This workload pattern receives mostly sequential requests with seldom random write and read operations. Without SSD cache, the storage makes attempts to moderate these peaks by HDDs, which consequently cause total performance degradation.
Figure 1. Irregular time gaps and unpredictable frequency of the requests. In reality, random requests often emerge within steady sequential workloads. For example, during simultaneous work of different applications, the one with the higher priority generates a sequential pattern, while the others send random requests to the storage from time to time. At the same time, SSD caching is ineffective in processing highly frequent random requests to non-repeatable data.
Figure 2. Regular time gaps and predictable frequency of the requests. With a high number of non-repeatable requests, flash drives will run out of space very fast, and performance of the storage system will lower to the speed of HDD array. Remember, that SSD cache is a very situational tool and its productivity strongly depends on the context. Generally, it is recommended to be used, if the workload has:. Main purpose of cache is to accelerate operations by placing frequently used data blocks on the fast drive space.
L1 cache can be extended by slower flash drives — in this case we have a second level cache L2 cache. This approach is the most common way to implement SSD caching in traditional hybrid storage.
Figure 3. Traditional second-level SSD cache. Traditional scheme of second level cache is the following: all requests come to RAM first and move to the SSD buffer afterwards Figure 3. When read request comes to the storage, the system finds the required data block on the HDD and performs the read operation.
If requests to these data blocks repeat, the system makes temporary copies on the SSD drives. The following read operations will be faster, because they are performed from the flash drives. When a write request comes to the storage, the system writes data blocks to the SSD drives. As the flash drives are fast, write operation and status response are quick and have low latency.
SSD Cache is used exclusively for host reads. In primary cache, the data is stored in DRAM after a host read. The internal RAID volumes are used for internal cache processing purposes. These volumes are not accessible or displayed in the user interface. However, these two volumes do count against the total number of volumes allowed in the storage array.
Intelligent caching places data in a lower-latency drive so responses to future requests for that data can occur much faster. This will enable you to configure part of or your whole SSD for caching in a later step. Keep in mind that you must have a separate HDD for this as well. Ensure that all up-to-date drivers are installed prior to doing this. Then follow these steps:. SSD caching can seem daunting, but the results will be well worth the time spent configuring a cache in your system.
Following the steps above should make things a bit less intimidating. Once you have a cache configured, you can reap the benefits of fast load times, quicker boots, and faster performance all around. Contents hide. Connect with D. I allow to create an account.
0コメント