Re: [PATCH 0/4] Allow persistent memory to be used like normal RAM

2019-01-18 Thread Fengguang Wu
With this patch set, an unmodified application would either use: 1) whatever memory it happened to get 2) only the faster dram (via numactl --membind=) 3) only the slower pmem (again, via numactl --membind1) 4) preferentially one or the other (numactl --preferred=) Yet another option:

Re: [PATCH 0/4] Allow persistent memory to be used like normal RAM

2019-01-17 Thread Dave Hansen
On 1/17/19 8:29 AM, Jeff Moyer wrote: >> Persistent memory is cool. But, currently, you have to rewrite >> your applications to use it. Wouldn't it be cool if you could >> just have it show up in your system like normal RAM and get to >> it like a slow blob of memory? Well... have I got the

Re: [PATCH 0/4] Allow persistent memory to be used like normal RAM

2019-01-17 Thread Jeff Moyer
Keith Busch writes: >> Keith, you seem to be implying that there are platforms that won't >> support memory mode. Do you also have some insight into how customers >> want to use this, beyond my speculation? It's really frustrating to see >> patch sets like this go by without any real use cases

Re: [PATCH 0/4] Allow persistent memory to be used like normal RAM

2019-01-17 Thread Keith Busch
On Thu, Jan 17, 2019 at 12:20:06PM -0500, Jeff Moyer wrote: > Keith Busch writes: > > On Thu, Jan 17, 2019 at 11:29:10AM -0500, Jeff Moyer wrote: > >> Dave Hansen writes: > >> > Persistent memory is cool. But, currently, you have to rewrite > >> > your applications to use it. Wouldn't it be

Re: [PATCH 0/4] Allow persistent memory to be used like normal RAM

2019-01-17 Thread Jeff Moyer
Keith Busch writes: > On Thu, Jan 17, 2019 at 11:29:10AM -0500, Jeff Moyer wrote: >> Dave Hansen writes: >> > Persistent memory is cool. But, currently, you have to rewrite >> > your applications to use it. Wouldn't it be cool if you could >> > just have it show up in your system like normal

Re: [PATCH 0/4] Allow persistent memory to be used like normal RAM

2019-01-17 Thread Dan Williams
On Thu, Jan 17, 2019 at 8:29 AM Jeff Moyer wrote: > > Dave Hansen writes: > > > Persistent memory is cool. But, currently, you have to rewrite > > your applications to use it. Wouldn't it be cool if you could > > just have it show up in your system like normal RAM and get to > > it like a slow

Re: [PATCH 0/4] Allow persistent memory to be used like normal RAM

2019-01-17 Thread Keith Busch
On Thu, Jan 17, 2019 at 11:29:10AM -0500, Jeff Moyer wrote: > Dave Hansen writes: > > Persistent memory is cool. But, currently, you have to rewrite > > your applications to use it. Wouldn't it be cool if you could > > just have it show up in your system like normal RAM and get to > > it like a

Re: [PATCH 0/4] Allow persistent memory to be used like normal RAM

2019-01-17 Thread Jeff Moyer
Dave Hansen writes: > Persistent memory is cool. But, currently, you have to rewrite > your applications to use it. Wouldn't it be cool if you could > just have it show up in your system like normal RAM and get to > it like a slow blob of memory? Well... have I got the patch > series for you!