by mtanski · 11y ago · 0 comments
The current iteration of what we call NVM is just SSD on PCIe busses so they are not bound by the speed of SATA/SAS controllers.
Maybe it's just me but when I think NVM I think of Non-Volatile Memory something like RAM that doesn't go blank when you hit the power button. And like RAM can be mapped into (kernel or user) address space. And access to them go through processor caches (L2 or L3) strait into NVM.
The current SSD+ drives very much behave like the block devices of the old, just with a different host interface. Most importantly they can't be directly memory mapped without going through the page cache. That still leaves a lot of performance on the table (double copy, requiring RAM for page cache versus working set).
It's not a marketing trick
It's been ages since I last did anything with PCI MMIO, but it was definitely possible to map PCI devices' own memory into a process's address space using /dev/mem, and into kernel space as well. Is there no longer an equivalent concept for PCIe? Or was MMIO always attached to real RAM?
This is the "Persistent Memory" device class. See e.g. this article for a nice summary of the status quo: https://lwn.net/Articles/636096/