[U-Boot] ext2 file system performance
Jason
u-boot at lakedaemon.net
Fri Mar 30 17:36:30 CEST 2012
On Thu, Mar 15, 2012 at 09:20:34PM -0400, jonsmirl at gmail.com wrote:
> The ext2 file system code is reading the kernel image off from my SD
> card one sector at a time. Of course this takes 61 seconds to get the
> kernel in to memory. Loading the same kernel off from the same SD on
> FAT takes less than a second.
>
> Nice quick FAT reads...
>
> reading uImage
> JDS start 7c0 count 1
> JDS start 9d0 count 2
> JDS start 7d0 count 6
> JDS start 1aa0 count 1090
> JDS start 2b30 count e
> JDS start 2b3e count 1
>
> Ext2 takes about 8,000 single sector reads. File is not fragmented, it
> is the only file on a freshly formatted volume.
> Is there anyway to convince the ext2 code to use larger reads?
Take a look at my patch submitted here:
http://www.mail-archive.com/u-boot@lists.denx.de/msg80677.html
Let me know if that works for you.
hth,
Jason.
More information about the U-Boot
mailing list