UBI fastmap used PEB search
Brian Pomerantz
bapper at gmail.com
Sat May 4 14:24:46 EDT 2013
On May 1, 2013, at 10:26 PM, "Gupta, Pekon" <pekon at ti.com> wrote:
> Hi,
>
>> The current fastmap implementation is more or less a prove of concept
>> implementation,
>> I'm sure there is potential to gain more performance.
>> Patches are very welcome!
>>
> [Pekon]: As I hope, you are actively working on reducing the UBI boot
> time, Will it be possible for you to test following patches ?
> http://lists.infradead.org/pipermail/linux-mtd/2013-April/046680.html
> http://lists.infradead.org/pipermail/linux-mtd/2013-April/046678.html
>
> The patch description should help you understand it.
>
I'll see if I can give those patches a try next week. I went on to implement the used list in ubi_attach_fastmap() as a RB tree and knocked off 100ms from my attach time with a nearly full flash and 4 volumes. I'll post a patch later this weekend when I get more time. My attach time is now 57ms with my current setup, I may stop looking for more speedups for a bit with that change, I have some other higher priority tasks to work on.
--Brian
More information about the linux-mtd
mailing list