From: David Jander <david.jander@protonic.nl>
To: Adrian Hunter <adrian.hunter@nokia.com>
Cc: linux-mtd <linux-mtd@lists.infradead.org>
Subject: Re: Good stress test for UBIFS?
Date: Wed, 6 Jan 2010 11:59:59 +0100 [thread overview]
Message-ID: <201001061159.59875.david.jander@protonic.nl> (raw)
In-Reply-To: <4B388B2B.5080906@nokia.com>
On Monday 28 December 2009 11:40:43 am Adrian Hunter wrote:
>[...]
> Generally we test with debugging checks turned on because they will spot an
> error the instant it happens. On the other hand, you must also test the
> actual configuration you will deploy.
>
> There are two approaches. We use both of them. They are:
>
> 1. Set up a desktop machine with your kernel and test on nandsim. This has
> the advantage that it can do very many more operations than a small
> device.
>
> You can simulate power-off-recovery by using UBIFS "failure mode". Set
> UBIFS debugging module parameter debug_tsts to 4. There is a script I
> have used for that below.
Yes, but I did not consider this option, because it is a completely different
processor architecture (little-endian vs. big-endian), also it won't test the
hardware-driver, nor the nand-chip and interface which can potentially also be
(part of) the problem. Here I am trying to reproduce a situation that has
already occurred a few times in "real life", and I need to be sure it won't
happen ever again with the latest ubi/ubifs.
> 2. Run tests on the device. There are tests in mtd-utils/tests/fs-tests
> but LTP's fsstress is good for stressing the file system during
> power-off-recovery testing.
Thanks a lot. I will try fsstress.
I had already written my own test script, mimicking some suspicious scenarios,
in the hope it would reproduce what had happend on three of our boards
(corrupt fs), and eventually succeded, but it took several days running.
Now I am re-running the test with latest UBI/UBIFS to see if it's gone.
Hopefully fsstress will yield results more quickly.
Best regards,
--
David Jander
Protonic Holland.
next prev parent reply other threads:[~2010-01-06 10:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-18 8:00 Good stress test for UBIFS? David Jander
2009-12-28 10:40 ` Adrian Hunter
2010-01-06 10:59 ` David Jander [this message]
2010-01-07 7:17 ` Artem Bityutskiy
2010-01-07 10:38 ` david
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201001061159.59875.david.jander@protonic.nl \
--to=david.jander@protonic.nl \
--cc=adrian.hunter@nokia.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox