[ECOS] JFFS2 and the linux compatibility package
Wed Nov 12 14:59:00 GMT 2003
On Wed, 2003-11-12 at 07:55, Thomas Koeller wrote:
> the linux compatibility paqckage defines PAGE_SIZE and PAGE_CACHE_SIZE to be 4KB,
> like in Linux. This limits the size of data nodes written by JFFS2, which means
> that for large files many such nodes are created. This in turn causes JFFS2 to use
> a lot of RAM, because every data node has to be represented in RAM as a raw_node_ref.
> If PAGE_SIZE and PAGE_CACHE_SIZE were set to larger values, much RAM could be
> saved, which is of utmost importance to resource-limited systems (like mine).
> I do not think this would currently affect any other package than JFFS2.
> Would it be o.k. to just tweak those values or make them configurable via CDL?
Use CDL of course :-) These values certainly should be configurable and
CDL is the best tool for it.
Gary Thomas <email@example.com>
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss