Where in the pipeline is the cache?
Posted: Tue Jun 17, 2014 6:04 pm
I understand how it works if you create a 1TB device with 256MB of write-back cache - you can write (say) 100MB over iSCSI and Starwind write this to the cache and return "Ok" immediately. Then it'll flush the 100MB from the cache to the disk at it's leisure.
How does this work when you add (say) 200GB of L2 cache on an SSD card? Where does the 256MB of write-back RAM cache sit now? When you add "L2" cache is suggests that write-through is more efficient for SSD cache. When you define write-through/write-back on the L2 cache, what are you effecting? I suspect it's not L2 cache -> hard disk image as that would kind of defeat the purpose of using SSD L2 caching if a write to L2 cache also has to write-through to the hard disk.
A diagram here would be *very* useful.
Cheers, Rob.
How does this work when you add (say) 200GB of L2 cache on an SSD card? Where does the 256MB of write-back RAM cache sit now? When you add "L2" cache is suggests that write-through is more efficient for SSD cache. When you define write-through/write-back on the L2 cache, what are you effecting? I suspect it's not L2 cache -> hard disk image as that would kind of defeat the purpose of using SSD L2 caching if a write to L2 cache also has to write-through to the hard disk.
A diagram here would be *very* useful.
Cheers, Rob.