Re: tool for testing how fast your kernel can rename files :-)

From: Nikita Danilov (Nikita@Namesys.COM)
Date: Tue Jan 21 2003 - 04:13:27 EST


Rik van Riel writes:
> On Mon, 20 Jan 2003 folkert@vanheusden.com wrote:
>
> > This night, while half a-sleep I thought it is usefull to have a tool
> > which creates a number of files in a directory and then starts to
> > randomly rename them.
>
> > But now, fully awake with at least 8 cups of coffee in my system I cannot
> > think of anything usefull this program is actually doing.
> > Well, maybe to test if something gets corrupted allong the way?
>
> You could test with NFS, you might even break something...

Now, when NFS has been mentioned.

To test reiser{fs,4} we use
ftp://ftp.namesys.com/pub/namesys-utils/nfs_fh_stale.c which creates
given number of threads each performing randomly reads, writes,
truncates, renames, fsyncs, and unlinks over the shared set of files. As
its name implies it was initially created to test support for the stale
NFS handle detection, but turned out to be quite useful for the general
testing also.

>
> Rik

Nikita.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:26 EST