Re: [HACKERS][PATCH] Applying PMDK to WAL operations for persistentmemory - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: [HACKERS][PATCH] Applying PMDK to WAL operations for persistentmemory
Date
Msg-id 91411837-8c65-bf7d-7ca3-d69bdcb4968a@iki.fi
Whole thread Raw
In response to [HACKERS][PATCH] Applying PMDK to WAL operations for persistent memory  (Yoshimi Ichiyanagi <ichiyanagi.yoshimi@lab.ntt.co.jp>)
Responses Re: [HACKERS][PATCH] Applying PMDK to WAL operations for persistentmemory  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
On 16/01/18 15:00, Yoshimi Ichiyanagi wrote:
> Hi.
> 
> These patches enable to use Persistent Memory Development Kit(PMDK)[1]
> for reading/writing WAL logs on persistent memory(PMEM).
> PMEM is next generation storage and it has a number of nice features:
> fast, byte-addressable and non-volatile.

Interesting. How does this compare with using good old mmap()? I think 
just doing that would allow eliminating much of the complexity around 
managing the shared_buffers. And if the OS is smart about persistent 
memory (I don't know what the state of the art on that is), presumably 
msync() and fsync() on an file that lives in persistent memory is 
lightning fast.

- Heikki


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [HACKERS][PATCH] Applying PMDK to WAL operations for persistentmemory
Next
From: Andres Freund
Date:
Subject: Re: Failed to request an autovacuum work-item in silence