Stress tests disks and file systems

   Author:       Piotr Drapich
   Uploader:     Piotr Drapich <docent union org pl>
   Type:         disk/misc
   Version:      1.1
   Architecture: m68k-amigaos
   Distribution: Aminet
   Date:         2024-07-10
   Readme:       http://aminet.net/disk/misc/FileSystemStressTest.readme
   Downloads:    3

http://aminet.net/disk/misc/FileSystemStressTest.lha

FileSystemsStressTest

Copyright 2023-2024 by Union Systems

Developed by Piotr Drapich

web page: www.union.pl/fsst

email support: fsst at union.pl

FileSystemStressTest is a tool that was created primarily to help in pfs3aio

filesystem development as a stress test suite. It can also be used to detect

and diagnose software or hardware issues that result in file content corruption,

such as incorrect MaxTransfer settings, faulty drivers, disks or controllers.

Finally, FileSystemStressTest can also be used to clear sensitive data from

disks.

FileSystemStressTest generates test files in the specified path, customized

with given parameters and verifies their content by calculating and comparing

hashes of each generated file before and after saving it to disk.

Test files have randomly generated content, initialized with specified seed and

they will take up a specified amount of disk space, with randomly generated

file sizes between the specified minimal and maximal values. Created test files

are removed after verification.

If option -% is specified, FileSystemStressTest can also simulate file

operations peformed by an application. The given percentage of generated test

files will be randomly selected for deletion, then regenerated and validated.

The size of each regenerated file will be kept within specified range so the

total size of regenerated files will be the same as the total size of all

removed files.

FileSystemStressTest can be set to perform multiple iterations of the process,

described above.

FileSystemStressTest features:

- configurable destination path, where all files will be generated

- configurable filename prefix, so multiple instances of FileSystemStressTest

can generate and validate files in the same directory

- configurable total volume of files to generate

- configurable minimum and maximum size of a single file. The actual file

size will be randomly generated to be between these two values

- configurable initial random generator seed, used to generate file contents

- configurable work buffer size, used to generate and validate files

- option to keep generated files in the destination path

- configurable verbose level

- configurable number of iterations

New in version 1.1:

- faster random number generator (sfc) used

- configurable percent of generated files to be removed, regenerated and

validated in each iteration.

- option to disable generation of random file sizes

- option to configure fill value to be used instead of random values

- option to force filling up the whole volume.

See ReadMe.txt for detailed information on parameters, usage and examples.

Contents of disk/misc/FileSystemStressTest.lha

PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                16827   27544  61.1% -lh5- d940 Jan 12  2024 FileSystemStressTest
[unknown]                 2725    7829  34.8% -lh5- 3c7a Jan 12  2024 ReadMe.txt
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         2 files   19552   35373  55.3%            Jul 11 01:41

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminet aminet net>