Estimated capacity loss from miss-matched block size?
Posted: Tue Jun 09, 2020 8:50 am
Setup:
500GB SSD cache for two 10TB HDDs.
Due to memory overhead I'm unable to match my cache block size to that of my storage drives (4kb).
From what I can tell, primocache works on a per block level for caching.
Does this mean setting a cache block size of 32kb with and a storage drive at 4kb, that each cached block would take up 8x the space thus greatly reducing capacity? Or while primocache has no concept of individual files, cache request grab chunks of blocks that represent the entirety of the file that's being accessed losing very little capacity on larger files?
Has there been any benchmarks between different cache block sizes on modern hardware and is there a sweet spot to aim for?
500GB SSD cache for two 10TB HDDs.
Due to memory overhead I'm unable to match my cache block size to that of my storage drives (4kb).
From what I can tell, primocache works on a per block level for caching.
Does this mean setting a cache block size of 32kb with and a storage drive at 4kb, that each cached block would take up 8x the space thus greatly reducing capacity? Or while primocache has no concept of individual files, cache request grab chunks of blocks that represent the entirety of the file that's being accessed losing very little capacity on larger files?
Has there been any benchmarks between different cache block sizes on modern hardware and is there a sweet spot to aim for?