* Ideal NAND flashes for JFFS2 or YAFFS
@ 2009-08-22 8:30 Joakim Tjernlund
2009-08-22 8:40 ` Artem Bityutskiy
0 siblings, 1 reply; 12+ messages in thread
From: Joakim Tjernlund @ 2009-08-22 8:30 UTC (permalink / raw)
To: linux-mtd
We are looking into using NAND flash instead of NOR flashes in our design and I am
trying to find out how the ideal NAND flash should look like to be used as a JFFS2 or YAFFS
file system. We are mainly looking for speed and reliability. Power cuts are common
for our boards.
Any suggestions like generic properties or specific chips are welcome.
Jocke
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Ideal NAND flashes for JFFS2 or YAFFS
2009-08-22 8:30 Ideal NAND flashes for JFFS2 or YAFFS Joakim Tjernlund
@ 2009-08-22 8:40 ` Artem Bityutskiy
2009-08-22 8:46 ` Joakim Tjernlund
2009-08-24 18:44 ` Joakim Tjernlund
0 siblings, 2 replies; 12+ messages in thread
From: Artem Bityutskiy @ 2009-08-22 8:40 UTC (permalink / raw)
To: Joakim Tjernlund; +Cc: linux-mtd
On 08/22/2009 11:30 AM, Joakim Tjernlund wrote:
>
> We are looking into using NAND flash instead of NOR flashes in our design and I am
> trying to find out how the ideal NAND flash should look like to be used as a JFFS2 or YAFFS
> file system. We are mainly looking for speed and reliability. Power cuts are common
> for our boards.
Not sure about the FSes, but we are happy with speed and reliability
of OneNAND from Samsung.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Ideal NAND flashes for JFFS2 or YAFFS
2009-08-22 8:40 ` Artem Bityutskiy
@ 2009-08-22 8:46 ` Joakim Tjernlund
2009-08-24 18:44 ` Joakim Tjernlund
1 sibling, 0 replies; 12+ messages in thread
From: Joakim Tjernlund @ 2009-08-22 8:46 UTC (permalink / raw)
To: Artem Bityutskiy; +Cc: linux-mtd
Artem Bityutskiy <dedekind1@gmail.com> wrote on 22/08/2009 10:40:26:
>
> On 08/22/2009 11:30 AM, Joakim Tjernlund wrote:
> >
> > We are looking into using NAND flash instead of NOR flashes in our design and I am
> > trying to find out how the ideal NAND flash should look like to be used as a
> JFFS2 or YAFFS
> > file system. We are mainly looking for speed and reliability. Power cuts are common
> > for our boards.
>
> Not sure about the FSes, but we are happy with speed and reliability
> of OneNAND from Samsung.
Thanks, will look closer at these.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Ideal NAND flashes for JFFS2 or YAFFS
2009-08-22 8:40 ` Artem Bityutskiy
2009-08-22 8:46 ` Joakim Tjernlund
@ 2009-08-24 18:44 ` Joakim Tjernlund
2009-08-24 18:50 ` Bill Gatliff
2009-08-25 8:21 ` Artem Bityutskiy
1 sibling, 2 replies; 12+ messages in thread
From: Joakim Tjernlund @ 2009-08-24 18:44 UTC (permalink / raw)
To: Artem Bityutskiy; +Cc: linux-mtd
Artem Bityutskiy <dedekind1@gmail.com> wrote on 22/08/2009 10:40:26:
>
> On 08/22/2009 11:30 AM, Joakim Tjernlund wrote:
> >
> > We are looking into using NAND flash instead of NOR flashes in our design and I am
> > trying to find out how the ideal NAND flash should look like to be used as a
> JFFS2 or YAFFS
> > file system. We are mainly looking for speed and reliability. Power cuts are common
> > for our boards.
>
> Not sure about the FSes, but we are happy with speed and reliability
> of OneNAND from Samsung.
Looking briefly at OneNAND is seems to be a somewhat complicated device with
builtin SRAM and a emulated NOR interface.
Is this really a good fit for FS:es like JFFS2 or YAFFS?
hmm, maybe I should look at UBIFS too :)
Jocke
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Ideal NAND flashes for JFFS2 or YAFFS
2009-08-24 18:44 ` Joakim Tjernlund
@ 2009-08-24 18:50 ` Bill Gatliff
2009-08-25 8:22 ` Artem Bityutskiy
2009-09-08 16:01 ` Justin Treon
2009-08-25 8:21 ` Artem Bityutskiy
1 sibling, 2 replies; 12+ messages in thread
From: Bill Gatliff @ 2009-08-24 18:50 UTC (permalink / raw)
To: Joakim Tjernlund; +Cc: linux-mtd, Artem Bityutskiy
Joakim Tjernlund wrote:
> hmm, maybe I should look at UBIFS too :)
>
I'm currently a big fan of UBIFS for NAND. I'd take a look at it.
I haven't compared it to YAFFS2, but UBIFS is in mainline kernels, where
YAFFS2 isn't. That gives UBIFS bonus points for convenience. And so
far for me, UBIFS has been really, really solid.
b.g.
--
Bill Gatliff
bgat@billgatliff.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Ideal NAND flashes for JFFS2 or YAFFS
2009-08-24 18:44 ` Joakim Tjernlund
2009-08-24 18:50 ` Bill Gatliff
@ 2009-08-25 8:21 ` Artem Bityutskiy
1 sibling, 0 replies; 12+ messages in thread
From: Artem Bityutskiy @ 2009-08-25 8:21 UTC (permalink / raw)
To: Joakim Tjernlund; +Cc: linux-mtd
On 08/24/2009 09:44 PM, Joakim Tjernlund wrote:
> Artem Bityutskiy<dedekind1@gmail.com> wrote on 22/08/2009 10:40:26:
>>
>> On 08/22/2009 11:30 AM, Joakim Tjernlund wrote:
>>>
>>> We are looking into using NAND flash instead of NOR flashes in our design and I am
>>> trying to find out how the ideal NAND flash should look like to be used as a
>> JFFS2 or YAFFS
>>> file system. We are mainly looking for speed and reliability. Power cuts are common
>>> for our boards.
>>
>> Not sure about the FSes, but we are happy with speed and reliability
>> of OneNAND from Samsung.
>
> Looking briefly at OneNAND is seems to be a somewhat complicated device with
> builtin SRAM and a emulated NOR interface.
>
> Is this really a good fit for FS:es like JFFS2 or YAFFS?
Well, depends. I just told what we used and found to be very fast and reliable.
We even erased one PEB 2000000+ times, and it did not die. But yes, this is a
complex device with HW ECC support, etc.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Ideal NAND flashes for JFFS2 or YAFFS
2009-08-24 18:50 ` Bill Gatliff
@ 2009-08-25 8:22 ` Artem Bityutskiy
2009-09-08 16:01 ` Justin Treon
1 sibling, 0 replies; 12+ messages in thread
From: Artem Bityutskiy @ 2009-08-25 8:22 UTC (permalink / raw)
To: Bill Gatliff; +Cc: linux-mtd, Joakim Tjernlund
On 08/24/2009 09:50 PM, Bill Gatliff wrote:
> Joakim Tjernlund wrote:
>> hmm, maybe I should look at UBIFS too :)
>
> I'm currently a big fan of UBIFS for NAND. I'd take a look at it.
>
> I haven't compared it to YAFFS2, but UBIFS is in mainline kernels, where
> YAFFS2 isn't. That gives UBIFS bonus points for convenience. And so far
> for me, UBIFS has been really, really solid.
Thanks for positive feedback. We were working hard :-)
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Ideal NAND flashes for JFFS2 or YAFFS
2009-08-24 18:50 ` Bill Gatliff
2009-08-25 8:22 ` Artem Bityutskiy
@ 2009-09-08 16:01 ` Justin Treon
2009-09-08 16:21 ` Bill Gatliff
1 sibling, 1 reply; 12+ messages in thread
From: Justin Treon @ 2009-09-08 16:01 UTC (permalink / raw)
To: Joakim Tjernlund, Bill Gatliff; +Cc: linux-mtd, Artem Bityutskiy
For NAND I think there is a simple flow chart to pick your filing system.
Do you have a partition bigger than 256 MBytes?
If YES: Use UBIFS (@128 MB you can argue the point)
If NO: Do you have a LOT of RAM?
If YES: Use YAFFS2 (It is fast, but RAM hungry)
If NO: Use JFFS2
> I'm currently a big fan of UBIFS for NAND. I'd take a
> look at it.
>
> I haven't compared it to YAFFS2, but UBIFS is in mainline
> kernels, where YAFFS2 isn't. That gives UBIFS bonus
> points for convenience.. And so far for me, UBIFS has
> been really, really solid.
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Ideal NAND flashes for JFFS2 or YAFFS
2009-09-08 16:01 ` Justin Treon
@ 2009-09-08 16:21 ` Bill Gatliff
2009-09-08 18:01 ` Joakim Tjernlund
2009-09-09 9:51 ` JiSheng Zhang
0 siblings, 2 replies; 12+ messages in thread
From: Bill Gatliff @ 2009-09-08 16:21 UTC (permalink / raw)
To: Justin Treon; +Cc: linux-mtd, Joakim Tjernlund, Artem Bityutskiy
Justin Treon wrote:
> For NAND I think there is a simple flow chart to pick your filing system.
>
> Do you have a partition bigger than 256 MBytes?
> If YES: Use UBIFS (@128 MB you can argue the point)
> If NO: Do you have a LOT of RAM?
> If YES: Use YAFFS2 (It is fast, but RAM hungry)
> If NO: Use JFFS2
>
With 128MB and/or 1GB partitions, does YAFFS2 use more memory than
UBIFS? It does seem to me that YAFFS2 mounts a tad faster, though I
haven't broken out the stopwatch or anything (yet).
b.g.
--
Bill Gatliff
bgat@billgatliff.com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Ideal NAND flashes for JFFS2 or YAFFS
2009-09-08 16:21 ` Bill Gatliff
@ 2009-09-08 18:01 ` Joakim Tjernlund
2009-09-09 9:28 ` Corentin Chary
2009-09-09 9:51 ` JiSheng Zhang
1 sibling, 1 reply; 12+ messages in thread
From: Joakim Tjernlund @ 2009-09-08 18:01 UTC (permalink / raw)
To: Bill Gatliff; +Cc: linux-mtd, Justin Treon, Artem Bityutskiy
Bill Gatliff <bgat@billgatliff.com> wrote on 08/09/2009 18:21:58:
>
> Justin Treon wrote:
> > For NAND I think there is a simple flow chart to pick your filing system.
> >
> > Do you have a partition bigger than 256 MBytes?
Oh yes, probably 512MB-1GB, possibly more
> > If YES: Use UBIFS (@128 MB you can argue the point)
> > If NO: Do you have a LOT of RAM?
> > If YES: Use YAFFS2 (It is fast, but RAM hungry)
This is news to me. I always had the impression that JFFS2 needed
more RAM.
> > If NO: Use JFFS2
> >
>
> With 128MB and/or 1GB partitions, does YAFFS2 use more memory than
> UBIFS? It does seem to me that YAFFS2 mounts a tad faster, though I
> haven't broken out the stopwatch or anything (yet).
I too want to know.
Jocke
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Ideal NAND flashes for JFFS2 or YAFFS
2009-09-08 18:01 ` Joakim Tjernlund
@ 2009-09-09 9:28 ` Corentin Chary
0 siblings, 0 replies; 12+ messages in thread
From: Corentin Chary @ 2009-09-09 9:28 UTC (permalink / raw)
To: Joakim Tjernlund; +Cc: Bill Gatliff, linux-mtd, Justin Treon, Artem Bityutskiy
On Tue, Sep 8, 2009 at 8:01 PM, Joakim
Tjernlund<joakim.tjernlund@transmode.se> wrote:
> Bill Gatliff <bgat@billgatliff.com> wrote on 08/09/2009 18:21:58:
>>
>> Justin Treon wrote:
>> > For NAND I think there is a simple flow chart to pick your filing system.
>> >
>> > Do you have a partition bigger than 256 MBytes?
>
> Oh yes, probably 512MB-1GB, possibly more
>
>> > If YES: Use UBIFS (@128 MB you can argue the point)
>> > If NO: Do you have a LOT of RAM?
>> > If YES: Use YAFFS2 (It is fast, but RAM hungry)
>
> This is news to me. I always had the impression that JFFS2 needed
> more RAM.
>
>> > If NO: Use JFFS2
>> >
>>
>> With 128MB and/or 1GB partitions, does YAFFS2 use more memory than
>> UBIFS? It does seem to me that YAFFS2 mounts a tad faster, though I
>> haven't broken out the stopwatch or anything (yet).
>
Hi,
First memory usage as nothing to do with mount time.
UBIFS mount time is small, but UBI scan can take some time (see
http://www.linux-mtd.infradead.org/doc/ubi.html#L_scalability ).
If you use YAFFS2 with checkpoints, after a clean unmount, I believe
that mouting can be faster than UBI+UBIFS.
But it will depend how many dir/files you have. YAFFS2 mount time will
increase lineary with the number of objects stored.
--
Corentin Chary
http://xf.iksaif.net
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Ideal NAND flashes for JFFS2 or YAFFS
2009-09-08 16:21 ` Bill Gatliff
2009-09-08 18:01 ` Joakim Tjernlund
@ 2009-09-09 9:51 ` JiSheng Zhang
1 sibling, 0 replies; 12+ messages in thread
From: JiSheng Zhang @ 2009-09-09 9:51 UTC (permalink / raw)
To: Bill Gatliff; +Cc: Artem Bityutskiy, linux-mtd, Justin Treon, Joakim Tjernlund
2009/9/9 Bill Gatliff <bgat@billgatliff.com>:
> Justin Treon wrote:
>>
>> For NAND I think there is a simple flow chart to pick your filing system.
>>
>> Do you have a partition bigger than 256 MBytes?
>> If YES: Use UBIFS (@128 MB you can argue the point)
>> If NO: Do you have a LOT of RAM?
>> If YES: Use YAFFS2 (It is fast, but RAM hungry)
>> If NO: Use JFFS2
>>
>
> With 128MB and/or 1GB partitions, does YAFFS2 use more memory than UBIFS?
> It does seem to me that YAFFS2 mounts a tad faster, though I haven't broken
> out the stopwatch or anything (yet).
Once UBI2 implemented, ubi attach + ubifs mount will be faster than
yaffs2. Currently it seems that yaffs2 faster.
B.R,
jisheng
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2009-09-09 9:51 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-22 8:30 Ideal NAND flashes for JFFS2 or YAFFS Joakim Tjernlund
2009-08-22 8:40 ` Artem Bityutskiy
2009-08-22 8:46 ` Joakim Tjernlund
2009-08-24 18:44 ` Joakim Tjernlund
2009-08-24 18:50 ` Bill Gatliff
2009-08-25 8:22 ` Artem Bityutskiy
2009-09-08 16:01 ` Justin Treon
2009-09-08 16:21 ` Bill Gatliff
2009-09-08 18:01 ` Joakim Tjernlund
2009-09-09 9:28 ` Corentin Chary
2009-09-09 9:51 ` JiSheng Zhang
2009-08-25 8:21 ` Artem Bityutskiy
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 NNTP newsgroup(s).