Manual L2 cache population
Posted: Fri Feb 01, 2019 1:23 am
I often run simulations that produce GB of results, which I then need to post process. I save the results to HDD, but it would be great to work off L2 cache for the time I'm working with the files as the HDD is slow.
Because I make the files once, then work with them for a day, each file doesn't really register as a frequently accessed file by caching algorithms.
It would be great to be able to specify a set of files to load in entirety into the L2 cache so that I get cache hits throughout my work day. The cache could be overwritten by normal program operations over time, but at least I'd be starting from a good position.
I'm thinking something like the 'pinned' files discussed here:
https://ddp-americas.com/ssd-caching-load-balancing-1/
Because I make the files once, then work with them for a day, each file doesn't really register as a frequently accessed file by caching algorithms.
It would be great to be able to specify a set of files to load in entirety into the L2 cache so that I get cache hits throughout my work day. The cache could be overwritten by normal program operations over time, but at least I'd be starting from a good position.
I'm thinking something like the 'pinned' files discussed here:
https://ddp-americas.com/ssd-caching-load-balancing-1/