The problems between L1 Cache and L2 Cache

Post Reply
xinwei
Support Team
Support Team
Posts: 28
Joined: Mon Jan 25, 2021 8:35 am

The problems between L1 Cache and L2 Cache

Post by xinwei »

1.Q: That data coming in (write cache) will also first go to L1 cache until its write percentage is full. Then it will immediately begin flushing write caching from L1 cache to L2 cache (provided L2 cache is configured and set up for write caching). Then after configurable options/intervals the write cache will flush from L2 cache down to disk.
A: In 3.x, when L1 is full, it will flush to target volumes. in 4.x, there is an option allowing to flush L1 to L2 when L1 is full. If both are full, "urgent write" will raise and flush certain data to target volumes even the interval time not expires.
2.Q: Which data gets flushed to L2? Is it the older data that was waiting to flush to hard drive or is it the newer data that now goes to L2 instead of L1?
A: It's older data
Post Reply