News for hackers. Stuff that matters.
Re:Recovering an Agilent 2000A/3000A Oscilloscope with Corru... by userbinator on Wednesday June 19, 2024 @08:34PM (#40733762)
That NAND flash is a 128MB SLC part rated for 10 years of retention after 100K cycles. It's interesting that the datasheet says ECC is only "strongly recommended" and not "mandatory", but I guess SLC of the time, unlike MLC and later generations of flash where correctable errors are part of normal operation, was reliable enough that some applications didn't bother using ECC at all. It also recommends the 22-bit/256-byte SECDED ECC algorithm which originated in the earliest NAND flash with 256-byte pages and later became popularised by SmartMedia.

Flash memory bits wear out after 100,000 to 1,000,000 writes. Thus, file systems must keep track of the number of writes and have a strategy to avoid wearing out storage, such as by moving popular data. —Patterson & Hennessy, P.23 Computer Organization and Design 5E

That quote would've been true in the 90s or early 2000s at the latest. These days it's more like 100 to 10K cycles for most mass storage flash, with the majority trending towards the former.

Re:Recovering an Agilent 2000A/3000A Oscilloscope with Corru... by salvagedcircuit on Wednesday June 19, 2024 @10:30PM (#40734317)
Thanks for the input! That is a pretty reasonable conclusion. I was surprised there was no mention of wear leveling or garbage collection in any of the spear documentation when that's essentially assumed today. Wild.
Re:Recovering an Agilent 2000A/3000A Oscilloscope with Corru... by dezgeg on Thursday June 20, 2024 @03:48AM (#40736028)
I assume that's because wear leveling is something that would be implemented purely in software, so there's no much point having such info in a hardware manual.
Re:Recovering an Agilent 2000A/3000A Oscilloscope with Corru... by guenthert on Thursday June 20, 2024 @03:35AM (#40735952)
> Flash memory bits wear out after 100,000 to 1,000,000 writes.

I'd think that applies to (low density) NOR flash memory, not (high density) NAND based ones.