LFCS: Preparing Linux for nonvolatile memory devices
LFCS: Preparing Linux for nonvolatile memory devices
Posted Apr 26, 2013 12:14 UTC (Fri) by etienne (guest, #25256)In reply to: LFCS: Preparing Linux for nonvolatile memory devices by rahvin
Parent article: LFCS: Preparing Linux for nonvolatile memory devices
Even if this NVM is on the same DDR socket, they seem to say that the number of writes is limited, and the time it takes to write NVM is longer.
The processor can really write a lot of times per second to the DDR, flushing the same cache line times and times again - we do not want that penalty nor do we want some wear levelling at that point.
Note that NVM obviously do not need refresh cycles, I wonder what effect it has on performance.
Moreover, I am not sure I always want to suspend Linux instead of powering off - sometimes I want a clean slate and come back to the login screen so that applications which have been "loosing" memory for the last 10 days restart from fresh - or after an upgrade of a library, be sure that no more application still use the old version (removing a library file from the filesystem do not automatically restart users of the old library version, which still have memory mapped the old and deleted file).
For the later point, maybe a "full boot" each time is the best solution.
