Re: JFFS3 & performance

Jared Hulbert
2005-01-12T17:22:31Z

> Correct. That requirement comes mostly from having to program the
> memory controller before being able to use DRAM. After the early
> boot, it's just nice to have.

Requirement in the marketplace I mean. Most NOR chips are expected to
have 0 errors by those who buy them.

> Would this actually be an advantage? Last time I looked, it was
> cheaper to use more DRAM. Most DSL routers I see advertised have a
> 1:4 or 1:8 ratio of NOR:DRAM, so it looks as if the prices haven't
> changed much.

So you save more RAM that you use up flash when doing XIP. We've seen
1.5MiB of RAM saved at a cost of 1MiB of NOR. This reduces the total
memory footprint of the system. It can also make the difference
between 16MiB and a 32MiB DRAM. The end result is that the XIP can
lower the BOM cost for a device. It also can reduce the power
consumption such that your phone or PDA has a much longer standby
time. The performance advantage of XIP to boot up and application
launch can be quite noticable. Think of the flow of data to start
executing an application from JFFS2. We copy the data 3 times in RAM?
decompress it, CRC it. Compare that to mmap() in XIP cramfs. It just
points to the flash address.