Similar to this question, but for Broadcom/LSI controllers: Can MegaRAID controllers use the onboard disk cache for JBOD drives? (I would like to enable the controller's hardware cache and then use mdraid on the drives directly.)
This would increase performance by coalescing random writes in the controller's write cache for sequential writeback by the controller.
I found this in the storcli that hints at the possibility:
# storcli /c0 show all 2>&1 | grep -i cache | grep -i jbod
Support JBOD Write cache = No
Question: How do you set "Support JBOD Write cache" to yes? What setting changes are needed using storecli (or another command) to enable JBOD writeback caching?
I know that storcli /c1/e56/s3 set jbod will set a disk to JBOD mode, but I'm not sure how to tell it to be cached in write-back mode. Has anyone seen this option or used it in production? Any detail you can provide would be greatly appreciated.
After googling for Support JBOD Write cache = Yes, it seems that all ocurrences also have Support JBOD = Yes and Enable JBOD = Yes. Perhaps this a pre-requisite?
(nb, I understand the effects of cache safety, so please only comment on the setting change. Also, I know that I can create a RAID0 LUN w/ caching, but that is not what this question asks.)