Page 3 of 3

Re: [2020-12-31] PrimoCache 4.0.1 released!

Posted: Mon Jan 11, 2021 9:14 am
by InquiringMind
Support wrote: Mon Jan 11, 2021 3:46 am ...the performance of the sequential read/write will be the best.
My experience has been that sequential performance improves noticeably with larger block sizes. Might you have been talking about random, rather than sequential, access?

Re: Questions about block size

Posted: Mon Jan 11, 2021 1:32 pm
by Support
When use 1MB test length, it is possible that sequential performance get improved by lager block sizes. This is because larger block size can reduce CPU time on processing requests. However, if test with small test length like 128KB or 64KB, especially in single thread, the sequential performance will be the best when the block size is equal to the cluster size.

Re: Questions about block size

Posted: Mon Jan 11, 2021 7:24 pm
by TomB
Thank you, Jaga, InquiringMind, and @Support.

This is the information / analysis I was hoping for.

Re: Questions about block size

Posted: Mon Jan 11, 2021 8:53 pm
by TomB
I guess my only other question along this topic is: If using a larger block size, what effect might that have on cached writes (especially smaller writes) to the underlying HDD? (I think mentioned earlier that I am using a 180GB NVME SSD to cache a 1TB 7200rpm HDD. This cache task also caches this drive with a 4GB L1 cache. Both caches are Shared, not separate read/write and both caches use 4kb block sizes. And Defer-Write is enabled. I don't know if any of this other information matters, but I thought I would include it. My question is still mainly about the effect of larger block sizes on cached writes. For instance, does PrimoCache have to write out the entire larger cache block every time a small write occurs to one of the clusters in the block?)

Re: Questions about block size

Posted: Tue Jan 12, 2021 4:51 am
by Support
TomB wrote: Mon Jan 11, 2021 8:53 pm For instance, does PrimoCache have to write out the entire larger cache block every time a small write occurs to one of the clusters in the block?
No, only dirty data will be written since v3.0.

Re: Questions about block size

Posted: Tue Jan 12, 2021 9:35 pm
by TomB
Thank you.