This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: JFFS2 and the linux compatibility package


On Wed, 2003-11-12 at 07:55, Thomas Koeller wrote:
> Hi,
> 
> 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 <gary@mlbassoc.com>
MLB Associates


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]