Re: linux-mtd: ubiattach taking long time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pintu,

----- Ursprüngliche Mail -----
> Von: "Pintu Agarwal" <pintu.ping@xxxxxxxxx>
> I have tried using fastmap as well, but still no difference.
> Are there any other techniques to improve the ubiattach timing ?
> 
> Logs:
> ----------
> Doing from initramfs:
> {{{
> [    6.949143][  T214] ubi0: attaching mtd54
> [    8.023766][  T214] ubi0: scanning is finished

No fastmap attach here.

Make sure to set fm_autoconvert:
http://www.linux-mtd.infradead.org/doc/ubi.html#L_fastmap
If set, UBI create after a few writes a fastmap.

Speaking of other techniques, you can improve scanning time also by
tuning UBI for your NAND controller/setup.
E.g. transferring only the amount of bytes needed for an header.
Or reading without ECC and re-reading with ECC if the header CRC-check fails.

Thanks,
//richard





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux