Re: [HACKERS][PATCH] Applying PMDK to WAL operations for persistentmemory

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: [HACKERS][PATCH] Applying PMDK to WAL operations for persistentmemory
Дата
Msg-id 91411837-8c65-bf7d-7ca3-d69bdcb4968a@iki.fi
обсуждение исходный текст
Ответ на [HACKERS][PATCH] Applying PMDK to WAL operations for persistent memory  (Yoshimi Ichiyanagi <ichiyanagi.yoshimi@lab.ntt.co.jp>)
Ответы Re: [HACKERS][PATCH] Applying PMDK to WAL operations for persistentmemory  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список 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 по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [HACKERS][PATCH] Applying PMDK to WAL operations for persistentmemory
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Failed to request an autovacuum work-item in silence