public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] ext2 file system performance
Date: Fri, 16 Mar 2012 05:42:58 +0100	[thread overview]
Message-ID: <201203160542.58971.marex@denx.de> (raw)
In-Reply-To: <CAKON4Oz7EiNxY84_1Y5kB_GADTsJh8yUDZH4wyLSWO8Vq5SS2A@mail.gmail.com>

Dear jonsmirl at gmail.com,

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

It's probably best to dive into the code, I can't answer this out of the top of 
my head, maybe someone else can though.

Best regards,
Marek Vasut

  reply	other threads:[~2012-03-16  4:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-16  1:20 [U-Boot] ext2 file system performance jonsmirl at gmail.com
2012-03-16  4:42 ` Marek Vasut [this message]
2012-03-30 15:36 ` Jason
2012-03-30 16:30   ` jonsmirl at gmail.com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201203160542.58971.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox