By: Howard Chu (hyc.delete@this.symas.com), December 1, 2018 5:23 am
Room: Moderated Discussions
David Kanter (dkanter.delete@this.realworldtech.com) on July 23, 2018 9:02 am wrote:
> In honor of our anniversary, I have a new article on Intel's 3DXP DIMMs:
>
> Intel will offer 3DXP-based DIMMs (previously codenamed Apache Pass) that use the DDR4 interface on the next-generation
> Cascade Lake server processor. The first DIMMs will be available in 128GB, 256GB, and 512GB capacities and
> work with a new software architecture for persistent memory. Intel and its partners have enabled the new persistent
> memory programming model for Java, Linux, VMware, and Windows and many customers are eagerly awaiting the
> non-volatile, high-capacity memory for in-memory databases and other applications.
>
> I also point out many of the areas Intel has been less than forthcoming,
> particularly around security and serviceability.
>
> As always - comments, questions, and feedback are appreciated.
>
> David
I've spent several weeks working with Intel to benchmark LMDB on Optane DIMMs, starting this past July. Unfortunately, we still don't have permission to discuss performance results. (But you can check out our results on Optane SSDs here http://www.lmdb.tech/bench/optanessd/ )
Some comments and bragging though:
LMDB Lightning Memory-Mapped DB works out of the box with all operating modes
of Optane DIMMs. Whether using the DIMMs configured as a raw block device, or
using regular file access through a filesystem, with or without DAX. All of
these modes were tested and It Just Works.
But, presenting Optane DIMMs as separate storage is not sensible, and IMO all
the work done at SNIA to create their PMDK (which we don't use) was wasted
effort.
It is a fact of computing that the size of work always grows to exceed the
available space. Even with 512GB NVDIMMs and terabytes of addressable
"RAM". What SNIA has done is allow people to use NVDIMMs as RAMdisks. Hello,
RAMdisks went out of style in the late 1980s, for good reasons. Primarily
because they require users to explicitly decide what portions of their data
to move onto RAMdisks, forcing them to leave other portions of their data
still on slower storage. The only sensible way to use finite RAM is as a cache
for (nearly) infinite secondary storage. And a cache should operate invisibly,
so there should be no need for special APIs like PMDK.
Personally I don't believe Optane DIMMs are going to replace DRAM, but tech
like STT-MRAM has a good shot, if they ever reach parity to DRAM density. So
we shouldn't be building software systems around the notion of mixed RAM/NVRAM
memory maps. We should assume that eventually we're going to have machines
with 100% NVRAM, and design accordingly. That means you want a kernel whose
pagecache manager knows how to reuse the hot contents of NVRAM after a reboot.
That's all you need, the rest of user space can go on without changing a single
line of code.
> In honor of our anniversary, I have a new article on Intel's 3DXP DIMMs:
>
> Intel will offer 3DXP-based DIMMs (previously codenamed Apache Pass) that use the DDR4 interface on the next-generation
> Cascade Lake server processor. The first DIMMs will be available in 128GB, 256GB, and 512GB capacities and
> work with a new software architecture for persistent memory. Intel and its partners have enabled the new persistent
> memory programming model for Java, Linux, VMware, and Windows and many customers are eagerly awaiting the
> non-volatile, high-capacity memory for in-memory databases and other applications.
>
> I also point out many of the areas Intel has been less than forthcoming,
> particularly around security and serviceability.
>
> As always - comments, questions, and feedback are appreciated.
>
> David
I've spent several weeks working with Intel to benchmark LMDB on Optane DIMMs, starting this past July. Unfortunately, we still don't have permission to discuss performance results. (But you can check out our results on Optane SSDs here http://www.lmdb.tech/bench/optanessd/ )
Some comments and bragging though:
LMDB Lightning Memory-Mapped DB works out of the box with all operating modes
of Optane DIMMs. Whether using the DIMMs configured as a raw block device, or
using regular file access through a filesystem, with or without DAX. All of
these modes were tested and It Just Works.
But, presenting Optane DIMMs as separate storage is not sensible, and IMO all
the work done at SNIA to create their PMDK (which we don't use) was wasted
effort.
It is a fact of computing that the size of work always grows to exceed the
available space. Even with 512GB NVDIMMs and terabytes of addressable
"RAM". What SNIA has done is allow people to use NVDIMMs as RAMdisks. Hello,
RAMdisks went out of style in the late 1980s, for good reasons. Primarily
because they require users to explicitly decide what portions of their data
to move onto RAMdisks, forcing them to leave other portions of their data
still on slower storage. The only sensible way to use finite RAM is as a cache
for (nearly) infinite secondary storage. And a cache should operate invisibly,
so there should be no need for special APIs like PMDK.
Personally I don't believe Optane DIMMs are going to replace DRAM, but tech
like STT-MRAM has a good shot, if they ever reach parity to DRAM density. So
we shouldn't be building software systems around the notion of mixed RAM/NVRAM
memory maps. We should assume that eventually we're going to have machines
with 100% NVRAM, and design accordingly. That means you want a kernel whose
pagecache manager knows how to reuse the hot contents of NVRAM after a reboot.
That's all you need, the rest of user space can go on without changing a single
line of code.
Topic | Posted By | Date |
---|---|---|
New article on Intel's 3DXP | David Kanter | 2018/07/23 09:02 AM |
New article on Intel's 3DXP | Groo | 2018/07/23 12:53 PM |
New article on Intel's 3DXP | Michael S | 2018/07/23 01:47 PM |
New article on Intel's 3DXP | Teemo | 2018/07/23 04:38 PM |
New article on Intel's 3DXP | Wes Felterw | 2018/07/23 08:41 PM |
Flash DIMMs = bad idea | David Kanter | 2018/07/24 03:31 AM |
Flash DIMMs = bad idea | Emil Briggs | 2018/07/24 05:30 AM |
Flash DIMMs = bad idea | David Kanter | 2018/07/24 05:49 AM |
Flash DIMMs = bad idea | Michael S | 2018/07/24 05:59 AM |
Flash DIMMs = bad idea | Emil Briggs | 2018/07/24 07:29 AM |
Flash DIMMs = bad idea | Doug S | 2018/07/24 07:49 AM |
price | Michael S | 2018/07/24 02:16 PM |
price | Doug S | 2018/07/24 02:32 PM |
price | Michael S | 2018/07/24 02:49 PM |
Flash DIMMs = bad idea | blaine | 2018/12/03 03:40 PM |
Flash DIMMs = bad idea | Wes Felter | 2018/12/04 11:07 AM |
Flash DIMMs = bad idea | RichardC | 2018/12/04 03:09 PM |
Flash DIMMs = bad idea | Michael S | 2018/07/24 05:51 AM |
Flash DIMMs = bad idea | Adrian | 2018/07/24 06:35 AM |
Flash DIMMs = bad idea | Ricardo B | 2018/07/24 08:24 AM |
Flash DIMMs = bad idea | bakaneko | 2018/07/24 05:55 PM |
New article on Intel's 3DXP | Etienne | 2018/07/25 04:02 AM |
New article on Intel's 3DXP | Howard Chu | 2018/12/01 05:23 AM |
New article on Intel's 3DXP | Michael S | 2018/12/01 07:56 AM |
New article on Intel's 3DXP | anon | 2018/12/01 08:21 AM |
New article on Intel's 3DXP | Howard Chu | 2018/12/01 12:52 PM |
New article on Intel's 3DXP | Adrian` | 2018/12/01 02:43 PM |
New article on Intel's 3DXP | Adrian | 2018/12/01 10:05 PM |
New article on Intel's 3DXP | Howard Chu | 2018/12/11 04:17 AM |
New article on Intel's 3DXP | Adrian | 2018/12/11 04:42 AM |
New article on Intel's 3DXP | Maynard Handley | 2018/12/11 07:20 AM |
New article on Intel's 3DXP | wumpus | 2018/12/11 08:36 AM |
New article on Intel's 3DXP | Anon | 2018/12/11 04:21 PM |
New article on Intel's 3DXP | Maynard Handley | 2018/12/11 04:32 PM |
New article on Intel's 3DXP | Anon | 2018/12/11 11:29 PM |
New article on Intel's 3DXP | Maynard Handley | 2018/12/12 10:32 AM |
New article on Intel's 3DXP | wumpus | 2018/12/12 11:07 AM |
New article on Intel's 3DXP | Maynard Handley | 2018/12/12 11:41 AM |
New article on Intel's 3DXP | Anon | 2018/12/12 02:55 PM |
New article on Intel's 3DXP | Anon | 2018/12/12 02:49 PM |
New article on Intel's 3DXP | Anne O. Nymous | 2018/12/12 12:14 AM |
New article on Intel's 3DXP | anon | 2018/12/12 05:28 AM |
New article on Intel's 3DXP | Maynard Handley | 2018/12/12 10:26 AM |
New article on Intel's 3DXP | Anne O. Nymous | 2018/12/12 01:10 PM |
New article on Intel's 3DXP | innocent bystander | 2018/12/12 09:34 PM |
New article on Intel's 3DXP | anon | 2018/12/12 01:42 PM |
New article on Intel's 3DXP | Howard Chu | 2018/12/02 04:53 AM |
New article on Intel's 3DXP | Adrian | 2018/12/02 06:01 AM |
New article on Intel's 3DXP | Howard Chu | 2018/12/02 10:34 AM |
Intel's 3DXP availability | Etienne Lorrain | 2018/12/03 03:50 PM |