3 ms·
> Just put a battery on ram and you have an sdd as fast as ram, in principle. That reminds me of non-volatile SRAM modules you can get by Microchip. How it wor
by dkersten 5y ago
> Just put a battery on ram and you have an sdd as fast as ram, in principle.
That reminds me of non-volatile SRAM modules you can get by Microchip. How it works is that its just normal SRAM, but each cell is connected to a matching flash cell and when the mdoules voltage drops below a threshold, it writes the SRAM contents to flash in parallel. When the voltage is restored, it does the reverse. The user-observable effect is that you have normal SRAM (speed and it doesn't wear out) but its non-volatile. In reality, its a clever trick, but since the flash is only written when the module is powered off (not per-write to the module), you get a lot more use before it wears out.
Of course these modules are tiny (a few KB), but I still thought it was pretty interesting!