public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Powerfail-tests and jffs2-sync-mount
@ 2008-03-06 16:41 Schlägl Manfred jun.
  2008-03-07  6:10 ` Artem Bityutskiy
  0 siblings, 1 reply; 5+ messages in thread
From: Schlägl Manfred jun. @ 2008-03-06 16:41 UTC (permalink / raw)
  To: linux-mtd

Hi!

I did some powerfail-testing of jffs2. 

Short overview (Contact me for details):
Arch: ARM926EJ-S with 40MB rw jffs2 part on Samsung NAND-Flash
Kernel: linux-2.6.12 (a little bit out of date, i know ;-))
Test: 
 * Target-Loop
   * filesystem-consistency:
     * create dir
     * copy data(> eraseblock-size) to new file
     * delete a file
   * file-consistency:
     * logfile on jffs-part (simply appending text with echo)
 * External random-time reset:
   * external uC
   * generates reset every 120+rand(0..30) seconds
 * Run until no more space on filesystem
Results:
 * test with sync-mounted jffs2 (mount -o sync):
   * duration 4:40 hours
   * 131 generated resets
   * consistent FS
   * consistent logfile
 * test with async mounted jffs2:
   * duration 4:10 hours
   * 118 generated resets
   * consistent FS
   * corrupted logfile (bad-chars, etc.)

Now my question: Are there any non-obvious disadvantages, mounting jffs2
synchronal, except lower speed and a little(depends on usage) decreased
flash-life-time (wear-out), or is this anyway the default approach?

Best regards,
	Manfred Schlaegl

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-03-25  6:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-06 16:41 Powerfail-tests and jffs2-sync-mount Schlägl Manfred jun.
2008-03-07  6:10 ` Artem Bityutskiy
2008-03-07  7:45   ` Schlaegl Manfred jun.
2008-03-07  8:09     ` Artem Bityutskiy
2008-03-25  6:50       ` Schlaegl Manfred jun.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox