login
Header Space

 
 

Re: UBIFS vs Logfs (was [RFC PATCH] UBIFS - new flash file system)

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pavel Machek <pavel@...>
Cc: Tomasz Chmielewski <mangoo@...>, LKML <linux-kernel@...>, <penberg@...>, <ext-adrian.hunter@...>, <jwboyer@...>, Artem B. Bityutskiy <dedekind@...>
Date: Wednesday, April 9, 2008 - 5:32 pm

On Wed, 9 April 2008 23:09:07 +0200, Pavel Machek wrote:

If someone implemented readpages(), that might be possible - depending
on your definition of 'reasonable' and your workload.

Writes will hit the disk roughly in order.  When readahead requests a
bunch of pages, there is some chance of them being adjacent and having
the block layer combine most of the bios into a few large ones.

The main drawbacks are:
- No reservations.  If data is written in random order or several
  writers chew away in parallel, write order will be fairly pessimal.
- No readahead yet.  Wouldn't be hard to do.
- Garbage collection completely ignores fragmentation.  If segments are
  needed and one contains a nice long extend from a single file, that
  data will be written elsewhere, often split between two segments.
  Rinse, repeat and fragmentation will increase over time.
- File creation/deletion currently will cause disk heads to jump in
  triangles.  This hurts write performance on most flash media as well,
  so it will get changed reasonably soon.

All of those are solvable.  Some will definitely be solved because the
help performance on flash media as well.  Other may or may not.

Jörn

-- 
When people work hard for you for a pat on the back, you've got
to give them that pat.
-- Robert Heinlein
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
UBIFS vs Logfs (was [RFC PATCH] UBIFS - new flash file system), Tomasz Chmielewski, (Tue Apr 1, 4:02 am)
Re: UBIFS vs Logfs (was [RFC PATCH] UBIFS - new flash file s..., Tomasz Chmielewski, (Tue Apr 1, 5:39 am)
Re: UBIFS vs Logfs (was [RFC PATCH] UBIFS - new flash file s..., Tomasz Chmielewski, (Wed Apr 2, 10:17 am)
Re: UBIFS vs Logfs (was [RFC PATCH] UBIFS - new flash file s..., Jörn, (Wed Apr 9, 5:32 pm)
speck-geostationary