public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* question: the performance of jffs2 on UBI
@ 2006-07-27 12:30 falls huang
  2006-07-27 13:19 ` Artem B. Bityutskiy
  0 siblings, 1 reply; 5+ messages in thread
From: falls huang @ 2006-07-27 12:30 UTC (permalink / raw)
  To: linux-mtd

Hello!

    I've a question :

The UBI and jffs2  both provide wear leveling. Will the repeated
wear-leveling reduce the performance of system ?


btw: I'm new to UBI , if it's a foolish problem , please pardon me .... :-)

-- 
Regards
Falls Huang

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: question: the performance of jffs2 on UBI
  2006-07-27 12:30 question: the performance of jffs2 on UBI falls huang
@ 2006-07-27 13:19 ` Artem B. Bityutskiy
  2006-07-27 13:32   ` Artem B. Bityutskiy
  0 siblings, 1 reply; 5+ messages in thread
From: Artem B. Bityutskiy @ 2006-07-27 13:19 UTC (permalink / raw)
  To: falls huang; +Cc: linux-mtd

falls huang wrote:
> The UBI and jffs2  both provide wear leveling. Will the repeated
> wear-leveling reduce the performance of system ?
I guess jffs2 ought to be slower on UBI, but little. My *very* rough 
test on mtdram device showed that JFFS2 over UBI is about 5% slower. But 
more accurate testing should be done.

-- 
Best Regards,
Artem B. Bityutskiy,
St.-Petersburg, Russia.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: question: the performance of jffs2 on UBI
  2006-07-27 13:19 ` Artem B. Bityutskiy
@ 2006-07-27 13:32   ` Artem B. Bityutskiy
  2006-07-30 17:34     ` Josh Boyer
  0 siblings, 1 reply; 5+ messages in thread
From: Artem B. Bityutskiy @ 2006-07-27 13:32 UTC (permalink / raw)
  To: falls huang; +Cc: linux-mtd

Artem B. Bityutskiy wrote:
> falls huang wrote:
> 
>> The UBI and jffs2  both provide wear leveling. Will the repeated
>> wear-leveling reduce the performance of system ?
> 
> I guess jffs2 ought to be slower on UBI, but little. My *very* rough 
> test on mtdram device showed that JFFS2 over UBI is about 5% slower. But 
> more accurate testing should be done.

And note: of course, JFFS2 was not designed for UBI, so it does not use 
UBI advantages. But still, it makes a lot of sense to use JFFS2 over UBI 
because in this case you have much freedom in partitioning your flash as 
you like.

I'm planning to return to JFFS3 research/development some day and design 
JFFS2 to work on top of UBI devices.

The alternative way to is to create a good block device layer over UBI, 
and then use conventional file systems (N.B. the mtdblock driver is 
*not* a good block device layer).

-- 
Best Regards,
Artem B. Bityutskiy,
St.-Petersburg, Russia.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: question: the performance of jffs2 on UBI
  2006-07-27 13:32   ` Artem B. Bityutskiy
@ 2006-07-30 17:34     ` Josh Boyer
  2006-07-31  7:02       ` Artem B. Bityutskiy
  0 siblings, 1 reply; 5+ messages in thread
From: Josh Boyer @ 2006-07-30 17:34 UTC (permalink / raw)
  To: Artem B. Bityutskiy; +Cc: falls huang, linux-mtd

On 7/27/06, Artem B. Bityutskiy <dedekind@yandex.ru> wrote:
> The alternative way to is to create a good block device layer over UBI,
> and then use conventional file systems (N.B. the mtdblock driver is
> *not* a good block device layer).

Just a note, you lose compression if you do that.  AFAIK, jffs2 is the
only in-kernel filesystem that supports transparent read/write
compression.

josh

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: question: the performance of jffs2 on UBI
  2006-07-30 17:34     ` Josh Boyer
@ 2006-07-31  7:02       ` Artem B. Bityutskiy
  0 siblings, 0 replies; 5+ messages in thread
From: Artem B. Bityutskiy @ 2006-07-31  7:02 UTC (permalink / raw)
  To: Josh Boyer; +Cc: falls huang, linux-mtd

Josh Boyer wrote:
> Just a note, you lose compression if you do that.  AFAIK, jffs2 is the
> only in-kernel filesystem that supports transparent read/write
> compression.
> 

Yeah, that's true. Although Reiser4 claims t osupport it. Nevertheless, 
I didn't try it.

-- 
Best Regards,
Artem B. Bityutskiy,
St.-Petersburg, Russia.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-07-31  7:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-27 12:30 question: the performance of jffs2 on UBI falls huang
2006-07-27 13:19 ` Artem B. Bityutskiy
2006-07-27 13:32   ` Artem B. Bityutskiy
2006-07-30 17:34     ` Josh Boyer
2006-07-31  7:02       ` Artem B. Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox