Re: [PATCH v8 00/22] Support ext4 on NV-DIMMs

From: Theodore Ts'o
Date: Wed Jul 23 2014 - 16:55:38 EST


On Wed, Jul 23, 2014 at 08:28:03AM -0700, Howard Chu wrote:
> >Perhaps you misunderstand the problem. There are many different kinds
> >of NV-DIMM out there today with different performance characteristics.
> >One that has been described to me has write times 1000x slower than read
> >times. In that situation, you can't possibly "just use it as page cache";
> >you need to place the read-often; write-rarely files on that media.
>
> Thanks for the clarification. Yes, I was assuming "NVDIMM" to mean something
> with DRAM performance + persistence, like http://www.agigatech.com/ddr3.php
> or http://www.vikingtechnology.com/nvdimm-technology . That's also the
> definition in Wikipedia http://en.wikipedia.org/wiki/NVDIMM

One example might be PCM (Phase Change Memory). PCM has read speeds
comporable to RAM or NOR flash, so you can certainly execute out of
PCM. However, writes generally tend to be bottlenecked on power
(since you need to effectively melt the PCM cell to cause it change
from crystalline to amorphous state and vice versa).

This year's FAST conference quoted a commericially available
SATA-attached PCM device that was 16x times faster than MLC SSD for 4k
reads, but 3.4x times slower than MLC SSD for 4k writes, and it was
basically limited to how much power/heat could fed/removed in/out of
the PCM chip. See:
https://www.usenix.org/conference/fast14/technical-sessions/presentation/kim
starting at about 2:00 to 10:30.

Cheers,

- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/