1f08c3bdfSopenharmony_ciPrograms for File system stress test. 2f08c3bdfSopenharmony_ci 3f08c3bdfSopenharmony_ciAll of programs are distributed under GPL 2 license 4f08c3bdfSopenharmony_ciby Hironobu SUZUKI <hironobu@h2np.net> 5f08c3bdfSopenharmony_ci 6f08c3bdfSopenharmony_ciHOW TO TEST 7f08c3bdfSopenharmony_ci------------ 8f08c3bdfSopenharmony_ci 9f08c3bdfSopenharmony_ci1: Type "make" 10f08c3bdfSopenharmony_ci 11f08c3bdfSopenharmony_ci # cd 12f08c3bdfSopenharmony_ci # tar zxvf fs-bench.tar.gz 13f08c3bdfSopenharmony_ci # cd fs-bench 14f08c3bdfSopenharmony_ci # make 15f08c3bdfSopenharmony_ci 16f08c3bdfSopenharmony_ci2: Change directory to terget file system and do-it! 17f08c3bdfSopenharmony_ci (I always use one-HDD/one-partition for fs stress test.) 18f08c3bdfSopenharmony_ci 19f08c3bdfSopenharmony_ci # mount -t jfs /dev/hdc1 /jfs 20f08c3bdfSopenharmony_ci # cd /jfs 21f08c3bdfSopenharmony_ci # ~/fs-bench/test.sh 2>&1 | tee ~/fs-bench/jfs-test 22f08c3bdfSopenharmony_ci 23f08c3bdfSopenharmony_ci 24f08c3bdfSopenharmony_ciNOTE 25f08c3bdfSopenharmony_ci----- 26f08c3bdfSopenharmony_ci 27f08c3bdfSopenharmony_ciThe size of files that are created for stress test is not fixed. The 28f08c3bdfSopenharmony_cifile size are determined by probabilistic algorithm, box-muler 29f08c3bdfSopenharmony_cialgorithm. 30f08c3bdfSopenharmony_ci 31f08c3bdfSopenharmony_cinumber 32f08c3bdfSopenharmony_ciof files 33f08c3bdfSopenharmony_ci ^ 34f08c3bdfSopenharmony_ci | **** 35f08c3bdfSopenharmony_ci | * * 36f08c3bdfSopenharmony_ci | * * 37f08c3bdfSopenharmony_ci | * * 38f08c3bdfSopenharmony_ci | ** ** 39f08c3bdfSopenharmony_ci |** ** 40f08c3bdfSopenharmony_ci +-------------------> file size 41f08c3bdfSopenharmony_ci min max 42f08c3bdfSopenharmony_ci 43f08c3bdfSopenharmony_ci 44f08c3bdfSopenharmony_ci------ 45f08c3bdfSopenharmony_ci$Id: README,v 1.1 2004/11/18 20:23:05 robbiew Exp $ 46