BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] SSD drives vs. Mechanical drives
- Subject: [Discuss] SSD drives vs. Mechanical drives
- From: bogstad at pobox.com (Bill Bogstad)
- Date: Wed, 7 May 2014 10:28:27 -0400
- In-reply-to: <53692E35.8050900@gmail.com>
- References: <5364F3FB.40707@blu.org> <5367AE30.5020205@borg.org> <65397498e62c47bdb922195a82122a46@CO2PR04MB684.namprd04.prod.outlook.com> <5368DE98.9070303@borg.org> <li6d2frgc3i.fsf@panix5.panix.com> <CAJFsZ=pDVMUr-32igmrUco3mED0ghJaSn5dPV_Buvp0GCDXcQA@mail.gmail.com> <53692E35.8050900@gmail.com>
On Tue, May 6, 2014 at 2:47 PM, Richard Pieri <richard.pieri at gmail.com> wrote: > Bill Bogstad wrote: >> 1. SSDs are constantly moving data around in order to do wear leveling. > > Not constantly. SSD on-board controllers automatically perform garbage > collection when they're idle. Not when the systems are idle; when the > controllers are idle. Or they can be sent a trim command to initiate > garbage collection. Fair enough. More accurate would have been to say that it is difficult to know when an SSD isn't moving data around (i.e. when it is done with internal garbage collection, etc.). >> 2. Not all SSDs have batteries/super capacitors to finish those >> activities if power is lost. > > I'm unaware of any consumer-grade SSDs with batteries or supercaps. > That's typical of enterprise-grade devices but those tend to cost > substantially more than consumer kit. The original poster didn't say what kind of SSD he had. Given that most people around here are talking about consumer devices, this is certainly possible. > SSD performance is largely dependent on massive DRAM caches on the > controllers. Seagate's super-fast Cheetah disks have 16MB DRAM caches; > the Samsung SSD you referenced previously has a 512MB DRAM cache. That's > where the performance comes from, and that's one place where data loss > is going to clobber you hard if the power fails. Making sudden power loss even more likely to screw things up. Noting that this can happen with a hard drive as well if you allow write caching, but I would think less likely to result in catastrophic failure. Again due to wear leveling, an SSD could lose track of old data which the OS may not have read or written for a long time. A hard drive is only going to lose the most recently written data against which many filesystems have been hardened anyway. > There are other possible problems; I leave it to the reader to ask > Google about SSD power failures. Power failure vs. forced power off. Is there a difference from the prospective of an SSD? Moving this conversation in a slightly different direction. Does anybody know how to tell a generic SSD to go into a consistent state? If the software sends a standby or spin down command to an SSD will it intepret that as a command to stop garbage collection? If not is the only solution to wait some arbitrary amount of time and hope the SSD is finished with its internal magic? Bill Bogstad
- Follow-Ups:
- [Discuss] SSD drives vs. Mechanical drives
- From: richard.pieri at gmail.com (Richard Pieri)
- [Discuss] SSD drives vs. Mechanical drives
- References:
- [Discuss] SSD drives vs. Mechanical drives
- From: gaf at blu.org (Jerry Feldman)
- [Discuss] SSD drives vs. Mechanical drives
- From: kentborg at borg.org (Kent Borg)
- [Discuss] SSD drives vs. Mechanical drives
- From: blu at nedharvey.com (Edward Ned Harvey (blu))
- [Discuss] SSD drives vs. Mechanical drives
- From: kentborg at borg.org (Kent Borg)
- [Discuss] SSD drives vs. Mechanical drives
- From: smallm at panix.com (Mike Small)
- [Discuss] SSD drives vs. Mechanical drives
- From: bogstad at pobox.com (Bill Bogstad)
- [Discuss] SSD drives vs. Mechanical drives
- From: richard.pieri at gmail.com (Richard Pieri)
- [Discuss] SSD drives vs. Mechanical drives
- Prev by Date: [Discuss] SSD drives vs. Mechanical drives
- Next by Date: [Discuss] SSD drives vs. Mechanical drives
- Previous by thread: [Discuss] SSD drives vs. Mechanical drives
- Next by thread: [Discuss] SSD drives vs. Mechanical drives
- Index(es):