Deffer Write - Average - adjustable load/independent load
Posted: Sun Jan 03, 2021 11:31 am
Hello all!
My setup: 2x SSD as L2 cache with Defer Write - Average option selected. Cached HDD: target 1/2 - new and fast Seagate SSHD, target 3 - older Seagate HDD, lower performance.
I observed, that when using Average Primocache writes to ALL HDD with same speed, for example 40 MB/s. My idea: option to adjust (or just hard coded into program) disk LOAD that Primocache should target (30%, 50%, 80%), and allow each single HDD to be monitored independently. So fast SSHD will be loaded to 50% and write at 100 MB/s, old slow HDD will also be loaded to 50% but write at 40 MB/s. Thanks to that independent monitoring, faster HDD will be able to quicker download data from L2 storage and whole process will not be slowed down by the slowest disk in cache pool.
Image so it is more clear. Target 1 and 2 (fast HDD) is writing same MB/s as slow Target 3 despite lower activity %, all because of high % activity on Target 3 (slow HDD). When all disks (slow and fast) would be allowed to get to 80% activity, fast HDD would finish flushing faster.
My setup: 2x SSD as L2 cache with Defer Write - Average option selected. Cached HDD: target 1/2 - new and fast Seagate SSHD, target 3 - older Seagate HDD, lower performance.
I observed, that when using Average Primocache writes to ALL HDD with same speed, for example 40 MB/s. My idea: option to adjust (or just hard coded into program) disk LOAD that Primocache should target (30%, 50%, 80%), and allow each single HDD to be monitored independently. So fast SSHD will be loaded to 50% and write at 100 MB/s, old slow HDD will also be loaded to 50% but write at 40 MB/s. Thanks to that independent monitoring, faster HDD will be able to quicker download data from L2 storage and whole process will not be slowed down by the slowest disk in cache pool.
Image so it is more clear. Target 1 and 2 (fast HDD) is writing same MB/s as slow Target 3 despite lower activity %, all because of high % activity on Target 3 (slow HDD). When all disks (slow and fast) would be allowed to get to 80% activity, fast HDD would finish flushing faster.