You might under-estimate the rates at which it is being accessed.iv used ssds and ipads for a decade, not once have they failed. the flash storage in tesla must be rubbish.
There is, you can put more in so it wears slower, if the driver is good, and you can write software that does not do writes as often, as it's the writes that kill it. This feels like typical start up thinking, where the concept of what you made still being used in 5 years is a problem for someone else.Not much you can do about flash drive wear.
iv used ssds and ipads for a decade, not once have they failed. the flash storage in tesla must be rubbish.
There are many types and grades of flash memory. If you don't care about longevity, you can save some money by using a cheap variant with low endurance rating.I checked my 500 GB Samsung EVO SSD and in the past ~32 months it has had 22.4 TB written to the drive. Samsung guarantees the drive for up to 2,400 TBW, or is backed by a 5-year limited warranty. I use the PC for ~6-12 hours per day. I have a fan on the SSD drive for cooling. At the present rate of use the estimated life would be a very long timeeee. Apparently the memory used in the Tesla vehicles is pretty cheesy.
There are many types and grades of flash memory. If you don't care about longevity, you can save some money by using a cheap variant with low endurance rating.
Flash memory can be tricky to manage correctly. Each block has a limited number of erase cycles which can be as low as 1,000 for cheap MLC chips. A typical endurance rating for decent SLC flash is 100,000 erase cycles. Regardless of the rating, measures must be taken to limit the number of writes to any single block. To this end, some wear levelling scheme is used. This means that block numbers as presented to higher level software do not map to fixed locations in the flash device. Instead, each time a block is written, a new physical location is chosen and stored in a mapping table. The old location is marked as unused and added to the list of free blocks to be used by future writes. This spreads the writes (more or less) evenly across the device, so even if the software is writing repeatedly to (what it sees as) the same location, it won't cause excessive wear of any physical block.
Wear levelling is the reason why SSD endurance is quoted in number of bytes written. This figure is simply the block size times erase endurance times number of blocks, minus some safety margin. Thus, the lifetime of the device as a whole can, as mentioned above, be increased simply by adding more flash memory than the bare minimum required.
Even with wear levelling, it is important to minimise the number of writes. This requires some level of discipline from the software developers, something which is often sorely lacking. For an application such as a car dashboard, there is in fact little reason to ever write anything at all. Little things like the last tuned radio station and other user settings are better to store in a separate EEPROM.
Another problem that has to be dealt with is gradual corruption of stored data. Random bit-flips are an expected occurrence, and each block includes around 10% error-correction data so as to cope with this. Whenever a block is read and the number of errors exceeds some threshold, a fresh copy is written. To ensure corruption is detected in time, while it is still correctable, background scrubbing may be necessary. This gets extra complicated with MLC/TLC/QLC flash where even the act of reading a block can cause corruption. Too vigorous scrubbing can thus generate additional writes, increasing wear.
In an SSD, all this complexity is handled by the controller chip, presenting to the host computer what appears to be a simple, reliable storage device. Some controllers are better at this than others, which is (in part) why performance varies between makes and models. Embedded devices often use plain flash chips, doing all the above-mentioned management in the OS. This can offer more flexibility in system design, provided the designers know what they are doing. If not, disaster awaits.
Memory cards wear out. Those of the micro-SD variety seem to be especially short-lived.I think the fellow you spoke to has nothing to worry about considering people have Flash Cards (SD etc...) that have been going on for years of constant video writing and deleting from daily camera use.
Yes, Samsung SSDs are among the top choices for both reliability and performance. They know what they're doing.Especially since he's using Samsung SSD's which are known to be virtually the best in all regards aside from price (debatable, seeing as how they technically perform the best with vertically integrated design giving way to their current reign with the NAND and memory controllers as well).
Flash memory is useless without ECC. The only choice you have is the strength. Stronger ECC can correct a larger number of bit-flips at the expense of reduced capacity and increased computational cost.Also, the bit flips issues can be mitigated in critical use cases with ECC as you say, which should only get better as time goes on and more active "background" diagnostic and management software.
Hackadays take on Tesla's attempt to wriggle out of this by labeling the Flash a "wear item"
When the requirements for capacity and performance are moderate, as I'm sure they is the case here, and the full product is (literally) the price of a car, it is perfectly reasonable to design a storage solution with an expected lifetime at least as long as that of other critical components. Sooner or later, it will of course fail, but so will e.g. the wheel bearings. Nobody complains about needing to replace mechanical parts after 15 years, and a circuit board would/should be no different. The mistake here seems to have been some combination of underestimating the wear and using a non-automotive-qualified part, thus reducing its lifetime below spec.Flash is a wear item. Maybe if Tesla installed the flash as a M.2, esily accessible and replaceable, they wouldn't have all this trouble with recalls. A little flap cover, one screw and you're good to go for another 5 years- all for $50-$100.
Not much you can do about flash drive wear.
A $100 M.2 SSD will definitely not be automotive-qualified.