SSD L2 Writeback Cache Question

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
User avatar
DarkDiamond
Posts: 29
Joined: Sat Dec 31, 2011 5:57 pm

Fri Jan 23, 2015 9:19 pm

Hi,

I am considering building out a raid array based on slower WD Red NAS drives and have a question about using SSD's as a write back cache. Would mirroring a pair of SSDs with on board capacitors and using that mirror as a L2 write back cache be enough of protection to prevent data loss in the event of a power failure? Basically all writes would go to the SSD cache first and then be written out to the hard drives. I was thinking this configuration could blunt the reduction of IOPS as a result of using slower larger spinning SATA drives? Is there anything else I should consider? Is this a really bad idea?

Thanks!
Chris
User avatar
Max (staff)
Staff
Posts: 533
Joined: Tue Apr 20, 2010 9:03 am

Sat Jan 24, 2015 9:50 am

Hi!
I'm not sure that's a necessary measure.
In case of a power outage you're still dealing with application failures caused by sudden blackout.
So adding an extra layer of protection to just storage doesn't justify itself.

As for the IOPS, using SSD for write-back doesn't eliminate the bottleneck of the disks themselves.
You have to understand that the moment the cache fills up you'll get a performance drop down to the SATA speeds.
Although, this idea might be good if you keep an oversized SSD cache.
Max Kolomyeytsev
StarWind Software
Post Reply