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]

JFFS2 and the linux compatibility package


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


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