primo cache writing more data at once than the L2 cache size is
Posted: Sat Apr 29, 2023 8:41 am
Hi,
I have 16GB L2 cache for my HDD. I was copying files and I forgot to turn off cache. I saw that L2 storage write is at about 1 GB when I turned off the cache. The total read was about 28GB. So I turn off the cache, but then the cache starts flushing. At the end 25 GB was written to L2. Why would you write 24 GB to a 16GB L2 cache partition? I think every now and again you should be checking if amount of cache that has to be flushed to L2 is bigger then the whole partition. Then discard the first data (first 8GB in my case) and flush the rest. It's a waste to wear down the SSD for no good reason. Also loading the system with copying data that will be erased later.
Please implement this! Thanks!
P.S. To replicate create a small cache partition - let's say 1 GB. Set the gather interval to a slow one (I used default). Then read (copy) a bit chunk of data - 10GB. Look at how much data will be written to the cache partition after the read has already finished.
I have 16GB L2 cache for my HDD. I was copying files and I forgot to turn off cache. I saw that L2 storage write is at about 1 GB when I turned off the cache. The total read was about 28GB. So I turn off the cache, but then the cache starts flushing. At the end 25 GB was written to L2. Why would you write 24 GB to a 16GB L2 cache partition? I think every now and again you should be checking if amount of cache that has to be flushed to L2 is bigger then the whole partition. Then discard the first data (first 8GB in my case) and flush the rest. It's a waste to wear down the SSD for no good reason. Also loading the system with copying data that will be erased later.
Please implement this! Thanks!
P.S. To replicate create a small cache partition - let's say 1 GB. Set the gather interval to a slow one (I used default). Then read (copy) a bit chunk of data - 10GB. Look at how much data will be written to the cache partition after the read has already finished.