This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: JFFS2 and the linux compatibility package
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Thomas Koeller <thomas dot koeller at baslerweb dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: 12 Nov 2003 07:59:37 -0700
- Subject: Re: [ECOS] JFFS2 and the linux compatibility package
- Organization: MLB Associates
- References: <200311121555.49100.thomas.koeller@baslerweb.com>
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