[OE-core] wic creates ext4 images that read really slow in u-boot

Tom Rini trini at konsulko.com
Thu Feb 21 14:33:08 UTC 2019


On Wed, Feb 20, 2019 at 10:55:20AM +0000, Mike Looijmans wrote:

> >>> I am aware of two fixes for U-Boot. I will look them up, and reply again to this thread.
> 
> Browsing through u-boot commits, I found this gem that's disabled by default:
> 
> CONFIG_BLOCK_CACHE=y
> 
> The commit is this one:
> 
> commit e40cf34a29f1b248643731a11fb1c6f0520d016c
> Author: Eric Nelson <eric at nelint.com>
> Date:   Mon Mar 28 10:05:44 2016 -0700
> 
>      drivers: block: add block device cache
> 
>      Add a block device cache to speed up repeated reads of block devices by
>      various filesystems.

For the record, it's not that it's disabled by default but rather to
enable it, you need to enable other "new" frameworks and so forth.  And
at least for "legacy" platforms, there's a certain level of pushback
against doing the work required to enable that (as to be honest, it is
more than just enable a few CONFIG options and re-test).  A
counter-pushback of "but it enables things that fix some bad performance
problems!" would be really helpful.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20190221/382025f5/attachment.sig>


More information about the Openembedded-core mailing list