This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
JFFS2 and the linux compatibility package
- From: Thomas Koeller <thomas dot koeller at baslerweb dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Wed, 12 Nov 2003 15:55:49 +0100
- Subject: [ECOS] JFFS2 and the linux compatibility package
- Organization: Basler AG
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?
tk
--
--------------------------------------------------
Thomas Koeller, Software Development
Basler Vision Technologies
An der Strusbek 60-62
22926 Ahrensburg
Germany
Tel +49 (4102) 463-162
Fax +49 (4102) 463-239
mailto:thomas.koeller@baslerweb.com
http://www.baslerweb.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