Writing more than size of L2
Posted: Wed Aug 09, 2017 9:28 pm
For test, I set up L2 cache of size only 1GB.
Then I read file which is 10G in size.
After that, PrimoCache starts filling up L2 cache - by reading from source drive&writing to L2 whole 10G - instead only 1G!
Basically, you are overwriting (several times) older data on L2 on drive, instead to calculate in memory before reading/writing which data should be on L2.
This seems like plain FIFO, instead of some logic to actually determine if really ALL read data needs to be read&written to L2 - even if it's larger than size of L2, and L2 will be overwritten multiple times.
Will there be a fix for this behavior?
Then I read file which is 10G in size.
After that, PrimoCache starts filling up L2 cache - by reading from source drive&writing to L2 whole 10G - instead only 1G!
Basically, you are overwriting (several times) older data on L2 on drive, instead to calculate in memory before reading/writing which data should be on L2.
This seems like plain FIFO, instead of some logic to actually determine if really ALL read data needs to be read&written to L2 - even if it's larger than size of L2, and L2 will be overwritten multiple times.
Will there be a fix for this behavior?