Does mtd support two-plane page program for nand flash?
joern at lazybastard.org
Fri Mar 9 06:42:46 EST 2007
On Fri, 9 March 2007 10:09:37 +0200, Adrian Hunter wrote:
> OneNAND DDP does this too (google: onenand "2x program")
> I presume the possibility exists to have the driver pretend that the
> page size is twice as large and there are half as many erase blocks.
> It would have to map the addressses accordingly - and everything
> else would have to be willing to accept a 4KiB page with 8
> subpages and 128 bytes of oob.
That would be the quick way to get extra bandwidth.
Interleaving writes to both planes can also help latency. It is
possible to write to one plane while the other is erasing. It is
possible to do two writes in parallel. Keeping things seperate would
keep writesize and erasesize low. And by combining two or more planes,
the slowest of them always decides how long a write/erase will take.
So in the long run, I would prefer to keep planes seperate and add
intelligence to filesystems, LogFS in particular.
It does not matter how slowly you go, so long as you do not stop.
More information about the linux-mtd