public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Re: Stress testing JFFS2
@ 2003-10-15 21:02 Andrew Lunn
  0 siblings, 0 replies; only message in thread
From: Andrew Lunn @ 2003-10-15 21:02 UTC (permalink / raw)
  To: thomas.koeller; +Cc: eCos Disuss

> - Every operation that changes the contents of the FLASH (even 
> deleting files!)  is performed by writing new nodes to the
> FLASH. Every such node is represented in RAM by a struct
> jffs2_raw_node_ref. The memory occupied by these structs is never
> freed unless the file system is unmounted or garbage collection takes
> place.

If i remember correctly, it think it was once said that the linux
version of jffs2 has a thread which does a garbage collect every so
often and that eCos does not have such a thread. eCos only does a
garbage collect when it really must do. 

Maybe if you implement the garbage collect thread you can reduce your
RAM usage.

    Andrew

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-15 21:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-15 21:02 [ECOS] Re: Stress testing JFFS2 Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).