Re: RFC: [PATCH V2 0/9 Integration of SmartMedia/xD into mtdsubsystem

From: Maxim Levitsky
Date: Mon Jan 11 2010 - 17:24:43 EST


On Sat, 2010-01-09 at 01:26 +0100, JÃrn Engel wrote:
> On Fri, 8 January 2010 19:40:29 +0200, Maxim Levitsky wrote:
> >
> > Btw, your cards aren't Type M, right?
> > However I use here a Type M card, and its likely to include an FTL
> > inside, thus, it might explain the low speeds I get there partially...
>
> No, mine were the old ones before marketing invented the two types.
>
> JÃrn
>

I finally located the source of slowdown.
It appears to be caused by too large caching I did (5 erase blocks).
If I cache one block, write speed nears 1 MB/s.
As a bonus that makes the FTL much simplified.

Another small flaw that currently exists in my FTL is that it ignores
the underlying badblock support from mtd driver and requeres it to
expose the two bad block bytes in the oob layout, I think I can avoid
that after all.

Other that that, everything is just perfect.

I post updated patchset soon.

Best regards,
Maxim Levitsky

--
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/