From: Wolfgang Denk <wd@denx.de>
To: "Németh Márton" <nm127@freemail.hu>
Cc: linuxppc-dev Development <linuxppc-dev@ozlabs.org>,
Wolfgang Grandegger <wg@denx.de>
Subject: Re: Linux patches for XIP on MPC8xx?
Date: Tue, 23 Mar 2010 20:44:01 +0100 [thread overview]
Message-ID: <20100323194401.0B7724C022@gemini.denx.de> (raw)
In-Reply-To: <4BA865D4.1090403@freemail.hu>
Dear Márton Németh,
in message <4BA865D4.1090403@freemail.hu> you wrote:
>
> I found your homepage at
> http://www.denx.de/wiki/bin/view/DULG/ConfigureLinuxForXIP back
> from 2003. Was there any follow up of your patch for kernel 2.4.4?
There were very few tests done with later kernel versions, and in all
practical system configurations we tested we found that XIP did not
give real benefits. Usually execution from flash was slower than when
running from RAM, and even booting a (inevitably uncompressed) kernel
from flash is typically slower than loading a compressed image to RUM
and booting from there.
So except for some highly specialized applications (you may also call
these "exotic" configurations) XIP for the Linux kernel does not make
much sense to me.
I am aware that there are reports which come to completely different
conclusions - see for example http://www.elinux.org/Kernel_XIP ; but
then look carefully - the examples come from hardware with really
slow processors, which are probably not typical any more.
Actually this is the first thing you should check: the ratio of
processor speed versus flash memory bandwidth versus RAM bandwidth.
Today you can usually expect CPU clocks way over 400 MHz, and many
systems use DDR, while NOR flash speed has noch changed much.
Also check if it is possible to map the flash memory cached for your
system (which you definitly want when using XIP from flash); this may
prevent some flash access methods from working.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Doubt isn't the opposite of faith; it is an element of faith.
- Paul Tillich, German theologian and historian
next prev parent reply other threads:[~2010-03-23 19:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-23 6:55 Linux patches for XIP on MPC8xx? Németh Márton
2010-03-23 11:24 ` Wolfgang Grandegger
2010-03-23 19:44 ` Wolfgang Denk [this message]
2010-03-24 9:43 ` Benjamin Herrenschmidt
2010-03-24 10:03 ` Vitaly Wool
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=20100323194401.0B7724C022@gemini.denx.de \
--to=wd@denx.de \
--cc=linuxppc-dev@ozlabs.org \
--cc=nm127@freemail.hu \
--cc=wg@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;
as well as URLs for NNTP newsgroup(s).