public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Charles Manning <manningc2@actrix.gen.nz>
To: u-boot@lists.denx.de
Subject: [U-Boot] boot-up time optimization. Where to start?
Date: Fri, 6 May 2011 06:10:29 +1200	[thread overview]
Message-ID: <201105060610.29781.manningc2@actrix.gen.nz> (raw)
In-Reply-To: <20110505053220.AF754D5F849@gemini.denx.de>

On Thursday 05 May 2011 17:32:20 Wolfgang Denk wrote:
> Dear Alexander Stein,
>
> In message <201105030848.17576.alexander.stein@systec-electronic.com> you 
wrote:
> > This specific version was selected due to relocation problems on ARM. But
> > I expect the dcache doesn't have that big influence on the named code
> > part as the environment is already in RAM.
>
> Your expectation is most likely completely wrong.  Reading from /
> writing to uncached RAM is painfully slow compared to a system with
> caches turned on.  And if you - as I speculate - need to checksum a
> huge amount of data, this will delay things without need.

Caching has a huge effect on **all** code and is the first thing I'd play with 
in trying to speed things up.

I have been doing some stuff to speed omap3 booting. It was taking approx 4 
seconds from power up until the kernel started spewing boot messages. That is 
now down to less than 2 secs (including the funky omap3 romboot time, loading 
uboot from NAND and then loading the kernel from NAND). Only difference was 
turning on caching in uboot using the caching commands.

-- Charles

  parent reply	other threads:[~2011-05-05 18:10 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-27 13:39 [U-Boot] boot-up time optimization. Where to start? Simon Schwarz
2011-04-27 14:37 ` Tabi Timur-B04825
2011-04-27 15:10 ` Eric Cooper
2011-04-27 15:27 ` Mike Frysinger
2011-04-27 15:59 ` Alexander Stein
2011-04-27 16:37   ` Mike Frysinger
2011-04-27 19:08   ` Wolfgang Denk
     [not found]     ` <BANLkTimQzo7mMMb0DjqX0c78pcNHnDXPLg@mail.gmail.com>
2011-04-27 21:19       ` Wolfgang Denk
2011-04-28  8:12         ` Simon Schwarz
2011-05-02 14:40     ` Alexander Stein
2011-05-02 15:31       ` Detlev Zundel
2011-05-02 16:07         ` Alexander Stein
2011-05-02 16:19           ` Detlev Zundel
2011-05-02 17:02           ` Wolfgang Denk
2011-05-02 17:00       ` Wolfgang Denk
2011-05-03  6:48         ` Alexander Stein
2011-05-03  8:08           ` Stefano Babic
2011-05-05  5:32           ` Wolfgang Denk
2011-05-05  7:06             ` Alexander Stein
2011-05-05  7:27               ` Wolfgang Denk
2011-05-06  8:54               ` Stefano Babic
2011-05-05 18:10             ` Charles Manning [this message]
2011-05-05 20:18               ` Simon Glass
2011-05-09 10:49                 ` Detlev Zundel
2011-05-10  7:29                   ` Simon Schwarz
2011-05-11  5:12                   ` Simon Glass
2011-04-27 19:07 ` Wolfgang Denk

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=201105060610.29781.manningc2@actrix.gen.nz \
    --to=manningc2@actrix.gen.nz \
    --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