This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Stress testing JFFS2
- From: David Vrabel <dvrabel at arcom dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Tue, 07 Oct 2003 13:31:06 +0100
- Subject: Re: [ECOS] Stress testing JFFS2
- Organization: Arcom Control Systems Ltd
- References: <1065524219.5485.43.camel@famine>
Hi,
[Note: It's been ages and ages since I did any real work with JFFS]
20-30k ram seems excessive for 16 files.
In your test you wrote about 800 files so that's 30000/800 ~ 40 byte per
written file. Doesn't seem so outrageous to me. Remember that JFFS2 is
a log-structured file system so each write appends another node to the
log. Old nodes aren't recovered until garbage collection is done. Er. I
think.
Also, in a previous message you mentioned setting the number of required
free blocks to zero. Was this done in this test? If so then (as I
understand it) JFFS2 will not work as there are no free blocks for GCing
so old nodes cannot be deleted thus you have no free flash left.
David Vrabel
--
David Vrabel, Design Engineer
Arcom Tel: +44 (0)1223 411200 ext. 3233
Clifton Road Fax: +44 (0)1223 403400
Cambridge CB1 7EA E-mail: dvrabel@arcom.com
UK Web: http://www.arcom.com/
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.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