Settings

Theme

Show HN: CacheWarmer; a Way to Preload the Windows File System Cache

github.com

2 points by unquietwiki a month ago · 0 comments · 1 min read

Reader

I'm trying to help out an engineering team where I work, to eke out more performance from our CI/CD stack. RAM drives work, but only for certain use cases. PrimoCache does block-sector file system caching. But until now, I haven't found anything that primes the native file caching Windows does when processing data (Linux does similar behavior too).

I submitted my dilemma to Claude, and we came up with a PowerShell script to try. It did pre-cache files, but also loaded files into memory, inaccessible to other processes. I then had it restructure the attempt as a C# application, and that appears to be working. Not seeing any excessive handle usage; pre-selected files show up in RAMMap; and not having that memory usage issue that was in PowerShell.

I guess at this point, I could use some help testing it further to see if this is even something worth keeping around. I think it might be more useful on lower-mem systems, wherein cached files might get evicted more quickly from memory.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection