NVDIMM-N
NVDIMM-N is a DIMM that works as DRAM and, on power loss, copies its contents to on-module flash using stored energy, restoring them at the next boot.
NVDIMM-N exposes DRAM to the host; flash holds its backup image, not additional host-addressable capacity. Backup power may come from a separate module or the host. [5] An on-module supercapacitor is not a defining requirement: one server design uses a centralized battery. [6]
In SNIA's ADR example, health checks and stored energy permit arming. On power loss the platform drains protected buffers and puts the DIMMs in self-refresh before DRAM is isolated and saved to flash. Firmware restores it on power-up. [5]
The cited server guide reports save times of about one minute for its listed rack and tower models, versus 140 seconds for MX740c and MX840c. With a missing or insufficiently charged battery, it can restore data but keep the module read-only. Lack of readiness for another save does not itself prove that restored data was lost. [6]
Linux can expose the address range as a PMEM block device. [2] CPU caches may need flushing and draining; a completed store is not a transaction commit. [7] A Block Translation Table (BTT) supplies atomic sector updates using indirection and reserved metadata. [8] The ndctl sector mode disables DAX: BTT sector access and DAX are alternative configurations for the same namespace. [9]
Linux NFIT per-module flags include save_fail, restore_fail, flush_fail, not_armed, smart_event, map_fail and smart_notify; they describe different conditions. [3]
Relations
- related
- Persistent memory, Storage-class memory (SCM), Byte-addressable storage, Direct Access, Power loss protection, Non-volatile random-access memory, Persistence domain
Limitations
- Protection for new writes requires a ready backup path; successful restoration into read-only mode is distinct from readiness for the next save. [5, 6]
Citations
- LIBNVDIMM: Non-Volatile Devices, Linux kernel documentation
- Documentation/ABI/testing/sysfs-bus-nfit, Linux kernel
- NVDIMM-N Cookbook: A Soup-to-Nuts Primer on Using NVDIMM-Ns to Improve Your Storage Performance
- Dell EMC NVDIMM-N Persistent Memory User Guide: Battery; implementation-specific power, save time and read-only restore behavior.
- PMDK libpmem: pmem_persist, pmem_flush, pmem_drain and pmem_has_auto_flush; persistence is not transactional.
- Linux kernel documentation. BTT - Block Translation Table, introduction and theory of operation.
- ndctl-create-namespace(1): sector, fsdax and devdax modes; BTT disables DAX.
Further reading
Sources & caveats
- c4 is a 2021 arXiv preprint on another subject, retained as historical secondary background, not as a current NVDIMM-N capacity or energy-density limit.
- c5 is a 2016 SNIA tutorial by module-maker authors; slides 7-16 describe host access, save/restore, ADR and backup-power arrangements.
- dell-battery is product documentation, not a Hesela measurement; its timing and read-only behavior apply to the named implementations.
- c2, c3 and btt document Linux interfaces. A flag name alone is not a universal diagnosis of which bytes were lost.
- pmem-persist and ndctl-mode distinguish persistence completion, sector atomicity and DAX; no NVDIMM hardware experiment or current market survey was performed.