From: "Jörn Engel" <joern@logfs.org>
To: "Martin Däumler" <martin.daeumler@s2003.tu-chemnitz.de>
Cc: "Jörn Engel" <joern@logfs.org>, linux-mtd@lists.infradead.org
Subject: Re: Real-time flash simulator
Date: Fri, 22 Jun 2007 12:24:44 +0200 [thread overview]
Message-ID: <20070622102444.GD17988@lazybastard.org> (raw)
In-Reply-To: <467BA051.50202@informatik.tu-chemnitz.de>
On Fri, 22 June 2007 12:11:29 +0200, Martin Däumler wrote:
>
> that is right! The idea is to use a (not specified) file system which
> performs in-place updates on top of this layer. This layer should map
> logical to physical erase units. So, wear-levelling possibly could be
> used to "displace" garbage collection. The goal is to decrase latency
> and above all make it more deterministic.
Sounds just like FAT on smartmedia. Worst case latency is both
deterministic and low. Random writes of small blocks are also
prohibitively slow. Works great when writing few large files, like jpg
images in digital cameras.
> But please note that is just one theoretical idea to make a flash file
> system real-time capable. Indeed, other approaches and file systems like
> LogFS has to be investigated further for this purpose too.
>
> It seems the development of a real-time flash file system is still in
> the fledgling stages, hence I asked here for a flash simulator to make
> work easier.
I guess the first thing you need to do is define what real-time actually
means. In particular you need to define the following:
o Maximal latency for single read.
o Maximal latency for single write.
o Maximal throughput for reads.
o Maximal throughput for writes.
o Read behaviour (random bytes from random files, sequential, etc.)
o Write behaviour (dito)
o Acceptable rate of higher latency reads/writes.
Once you have this, it is possible to determine whether some storage
stack (filesystem, middle layers, hardware) can fulfill your
requirements, or how it would need to be changed to do so.
Alternatively you can go the other way and take a given storage stack,
trying to determine the characteristics of it.
Jörn
--
A quarrel is quickly settled when deserted by one party; there is
no battle unless there be two.
-- Seneca
next prev parent reply other threads:[~2007-06-22 10:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-22 7:19 Real-time flash simulator Martin Däumler
2007-06-22 8:09 ` Artem Bityutskiy
2007-06-22 9:23 ` Martin Däumler
2007-06-22 9:39 ` Jörn Engel
2007-06-22 10:11 ` Martin Däumler
2007-06-22 10:24 ` Jörn Engel [this message]
2007-06-22 10:59 ` Artem Bityutskiy
2007-06-22 11:54 ` Jörn Engel
2007-06-22 11:06 ` Martin Däumler
2007-06-22 8:26 ` Jörn Engel
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=20070622102444.GD17988@lazybastard.org \
--to=joern@logfs.org \
--cc=linux-mtd@lists.infradead.org \
--cc=martin.daeumler@s2003.tu-chemnitz.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