True but since the topic of this thread is how to speed up PBS I think it's a good thing to have
TBH, I don't know if PBS uses sync writes. I guess they are not needed and you could just send an ack when finished?
At least my backup to an NFS share seems to work that way. Fast transfer, reaching 100% and then there is still roughly 10s delay until it really finished.
Also OPs biggest issue is garbage collection, and I think this is a read only operation?
I though DRAM cache speeds up writes and that plp, provided by capacitors, is a security feature.
It is a "security feature" that you need because you did an insecure thing before.
It is like jumping out of a plane and calling the parachute a security feature.
Sure it is, but only because you jumped out of a plane. It is not a security feature when driving a car.
The SSD lied about data being written to NAND.
Because of that lie, the sync write is faster. But also because of that lie, data would be lost when there is a power outage.
So to make up for that, PLP drives have capacitors. Thanks to them, the drive can write stuff from cache to NAND even without the host having power.
There is one specific edge case you can rule out with PLP.
A word of caution: In the past, there were none PLP SSDs that lied about sync. A twitter user found out by running some test. Unfortunately the twitter user deleted his account, so I can't share it with you. Some Phison E18 controllers in combination with bad firmware from ADATA and Patriot lied about sync. That is why I don't blindly trust cheap consumer drives.
Source
I would still not call PLP a security feature because of that.
IMHO, this is more of a good example why you should get a mix of brands and controllers for a special vdev mirror.