Question Disk Management and Allocation Unit Size for cache drive

eco_bach

Distinguished
Oct 18, 2015
158
2
18,585
Are there any specific settings in terms of allocation size, etc, you should use when formatting a NVMe drive that will be used primarilly for caching data (lots of read writes)?
Emphasis on performance over reliability or maximum allowable write space.
Thanks!
 
I think larger allocation unit sizes are conducive to performance....

Which is a far cry from saying you'd notice the difference........unless you have a quite unusual use case. Maybe you do. Maybe you carry a stopwatch at all times.

At some point, usable capacity is affected.

I've done some tests on this with my own PC, but can't find the results. I settled on the default.

You could easily do your own experiments with various settings and file sizes and decide how far you want to go down that rabbit hole.
 
  • Like
Reactions: eco_bach
Any modern OS already manages this automatically. That is, data that is to be written to data storage is first loaded into RAM. How much of this goes to RAM is only determined on the amount of RAM available.
The specific rules for RAM usage (cache) may differ between OS and possible also file systems, at least Linux use different rules for caching dependent on what file system is being used.