public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Simple flash filesystem?
@ 2001-02-05 14:10 Grant Edwards
  2001-02-05 14:29 ` Lewin A.R.W. Edwards
  0 siblings, 1 reply; 11+ messages in thread
From: Grant Edwards @ 2001-02-05 14:10 UTC (permalink / raw)
  To: ecos-discuss

I've been looking for info on flash filesystems, and have found pretty
much nothing.

What I have found are flash device-drivers that emulate 512-byte 
block devices so that you can use them in place of disk drives
underneath file systems designed for disk drives.  These filesystems
are designed with (and optimized for) the following assumptions:

 1) The physical media has 512 blocks that are independently
    erasable/writable.

 2) Read and write operations are both an order of magnitude slower
    than RAM. 

 3) Read and write times for a sector depend on the sector number (i.e.
    there is a seek-time).

 4) There is zero cost associated with an erase (either elapsed time
    or media lifetime).

For flash, none of these assumptions are true.  Blocks can only be erased
in large chunks (typically 64k).  Read operations are the same speed
(roughly) as RAM.  Write operations are an order of magnitude slower.
Erase operations are _another_ order of magnitude slower and have an
associated media life cost.  Read/write speeds are independant of address.

Though it may be the most expedient thing to do in the short-term, 
It seems like a bad idea to take a complex filesystem designed for disk
and use it for a flash.  For example, it seems like a waste of effort
to impliment 512 byte blocks when the filesystem uses them in 4K clusters.

Rather than try to make a flash act like a disk drive (and using a
disk-drive filesystem), has anybody seen any information on a simple
filesystem designed for flash?

-- 
Grant Edwards
grante@visi.com

^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <981465384.28425.ezmlm@sources.redhat.com>]

end of thread, other threads:[~2001-02-06 13:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-05 14:10 [ECOS] Simple flash filesystem? Grant Edwards
2001-02-05 14:29 ` Lewin A.R.W. Edwards
2001-02-06  8:05   ` [ECOS] " Grant Edwards
2001-02-06  8:21     ` Lewin A.R.W. Edwards
2001-02-06  8:43       ` Grant Edwards
2001-02-06  9:20     ` Wilson Kwan
2001-02-06  9:28       ` Grant Edwards
     [not found] <981465384.28425.ezmlm@sources.redhat.com>
2001-02-06 12:30 ` Kristian Otnes
2001-02-06 12:50   ` Grant Edwards
2001-02-06 12:54     ` Lewin A.R.W. Edwards
2001-02-06 13:03       ` Grant Edwards

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 read-only IMAP folder(s) and NNTP newsgroup(s).