From: "Jörn Engel" <joern@lazybastard.org>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: linux-mtd@lists.infradead.org
Subject: Re: MTD_PHRAM - what filesystem to use?
Date: Mon, 12 Mar 2007 00:40:31 +0100 [thread overview]
Message-ID: <20070311234031.GC17463@lazybastard.org> (raw)
In-Reply-To: <20070311210835.GA3794@uranus.ravnborg.org>
On Sun, 11 March 2007 22:08:35 +0100, Sam Ravnborg wrote:
> >
> > Write rate is 10kB / 10s * 1.1 = 1.1kB/s.
> > Total written data in 10a is: 1.1kB/s * 31536000s/a * 10a = 346GB
> > Required flash size: 346GB / 100k = 3468kB
>
> I assume that from a performance point-of-view the FLASH based version
> suffer more than the RAM one - since it is simple to 'erase' RAM.
Not likely. With the example numbers, 1.1kB/s will be peanuts compared
to flash write bandwidth. Erases happen ahead-of-time in JFFS2, so
those won't matter much either. Reads won't matter at all, if you are
looking at 100kB or so - all of that can easily be cached.
If you require a significantly higher write bandwidth, the required
flash size will equally increase. Who knows, battery backed RAM may be
cheaper than flash due to the required size before the bandwidth becomes
a problem.
Good luck with your design, Sam!
Jörn
--
If you're willing to restrict the flexibility of your approach,
you can almost always do something better.
-- John Carmack
prev parent reply other threads:[~2007-03-11 23:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-11 20:05 MTD_PHRAM - what filesystem to use? Sam Ravnborg
2007-03-11 20:31 ` Jörn Engel
2007-03-11 21:08 ` Sam Ravnborg
2007-03-11 23:40 ` Jörn Engel [this message]
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=20070311234031.GC17463@lazybastard.org \
--to=joern@lazybastard.org \
--cc=linux-mtd@lists.infradead.org \
--cc=sam@ravnborg.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.