News for hackers. Stuff that matters.
Re:SSDs: A gift and a curse by AYBABTME on Tuesday June 02, 2015 @01:50PM (#9647636)
Wouldn't that make performance a lot worse, for both CPU and disks? Offloading the job to something closer to the flash chips and fully dedicated to servicing them sounds like a better (and the current) path. Same for high speed network links.
Re:SSDs: A gift and a curse by bbulkow on Tuesday June 02, 2015 @06:29PM (#9649462)
FusionIO cards run with FTL maintenance on the main CPU. Run a workload and you'll see the driver spinning in a way that isn't accounted for by your operations. It's not pretty - at high workloads, the network interrupt traffic starts interfering with all the bus traffic to the cards. A controller can be designed to run exactly at the speed of the chips, no more no less, leaving the CPU doing what it does best.

That being said, if you build your system correctly, there is not any extra CPU load created by maintaining the FTL at app level. The main problem is the lack of an API for wear detection. I have discussed this with senior chip designers at the major manufacturers, and they are all loath to nail down to one api, as they believe how wear is specified will have to change over time. That's a broad brush - some manufacturers are more open to these discussions than others.

I'm still working on them.

Re:SSDs: A gift and a curse by rwmj on Tuesday June 02, 2015 @02:14PM (#9647812)
Re:SSDs: A gift and a curse by AYBABTME on Tuesday June 02, 2015 @02:34PM (#9647973)
Always have that in the back of my mind =]. However I don't think that's the current trend right now. Except where special hardware is integrated to the chip, but the work isn't left to the CPU itself.

I'm not so versed in the area so I'm just blind guessing here.

Re:SSDs: A gift and a curse by wtallis on Tuesday June 02, 2015 @02:21PM (#9647878)
Flash translation layers don't really need to be offloaded for the sake of performance. You need some kind of controller to multiplex access to a dozen or more flash chips from a narrow PCIe link, so you might as well throw in an ARM core to do the translation and wear leveling and garbage collection, and then you can stick a few supercaps in the drive too and have a robust hardware platform.
Re:SSDs: A gift and a curse by wmf on Tuesday June 02, 2015 @02:44PM (#9648047)
The FTL runs much faster on a 3GHz Xeon core than on a 150MHz ARM core. Of course, the cost and power consumption is also much higher.