Re: Write lifetime hints for NVMe

2018-01-28 Thread Dmitry Dolgov
> On 27 January 2018 at 23:53, Tomas Vondra > wrote: > > Amazon actually does provide instance types (f1 and i3) with real NVMe > devices. That's what I'd be testing. Yes, indeed, that's a better target for testing, thanks. I'll write back when will get some results.

Re: Write lifetime hints for NVMe

2018-01-27 Thread Tomas Vondra
On 01/27/2018 08:06 PM, Dmitry Dolgov wrote: >> On 27 January 2018 at 16:03, Tomas Vondra >> wrote: >> >> Aren't those numbers far lower that you'd expect from NVMe storage? I do >> have a NVMe drive (Intel 750) in my machine, and I can do thousands of >> transactions on it with two clients. See

Re: Write lifetime hints for NVMe

2018-01-27 Thread Dmitry Dolgov
> On 27 January 2018 at 16:03, Tomas Vondra > wrote: > > Aren't those numbers far lower that you'd expect from NVMe storage? I do > have a NVMe drive (Intel 750) in my machine, and I can do thousands of > transactions on it with two clients. Seems a bit suspicious. Maybe an NVMe storage can prov

Re: Write lifetime hints for NVMe

2018-01-27 Thread Tomas Vondra
On 01/27/2018 02:20 PM, Dmitry Dolgov wrote: > Hi, > > From what I see some time ago the write lifetime hints support for NVMe multi > streaming was merged into Linux kernel [1]. Theoretically it allows data > written together on media so they can be erased together, which minimizes > garbage co

Write lifetime hints for NVMe

2018-01-27 Thread Dmitry Dolgov
Hi, >From what I see some time ago the write lifetime hints support for NVMe multi streaming was merged into Linux kernel [1]. Theoretically it allows data written together on media so they can be erased together, which minimizes garbage collection, resulting in reduced write amplification as well