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

Andreas Dilger (adilger@clusterfs.com)
Mon, 20 Jan 2003 10:54:47 -0700


On Jan 20, 2003 18:29 +0100, 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. During this, it should output how much it has done and how
> many renames per second it did.
> 5 minutes back I programmed such a program, you can download it from:
> http://www.vanheusden.com/Linux/rename_test-1.0.tgz
>
> 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?

For sure correctness is important (we use all sorts of benchmarks like
this to try and exercise our filesystem code), but also performance
measurement is important too. For example, mailservers do lots of file
renames to push mail through various stages in the delivery pipeline.

Cheers, Andreas

--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/

- 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/