Storage Test tools/scripts.
Project description
Storage Test
Various methods/tools/scripts for storage test.
If you have any questions or requirements, please let me know. tao.xu2008@outlook.com
Support Types:
- raw (base device)
- mnt (base dir)
- cloud (base url)
Quick Start
git clone https://github.com/txu2k8/storage-test.git
import as a third-part pakage:
pip install storagetest
Usage
========================================================================
~# python storage_test.py -h
Storage Test Project
positional arguments:
{mnt,raw,cloud} Storage Test
mnt base dir
raw base device
cloud base url
optional arguments:
-h, --help show this help message and exit
--debug debug mode
--duration DURATION duration time(s),default:60*60*24*3 (3 days)
--loops LOOPS run loops(0:keep run forever),default:0
--mail_to MAIL_TO mail_to, split with ';'
--output OUTPUT output log dir path, default:None
--runner {TextTestRunner,StressRunner,pytest}
Run test case with runner,default:StressRunner
========================================================================
~# python storage_test.py mnt -h
positional arguments:
{benchmark,sanity,stress,load}
Test on a filesystem mount point
benchmark storage->mnt benchmark test
sanity storage->mnt sanity test
stress storage->mnt stress test
load storage->mnt load data file tools
optional arguments:
-h, --help show this help message and exit
========================================================================
~# python storage_test.py mnt stress -h
optional arguments:
-h, --help show this help message and exit
--test_path TEST_PATH, -d TEST_PATH
A full path for test,default:None
--exclude_case EXCLUDE_CASE_LIST [EXCLUDE_CASE_LIST ...]
exclude test case list, eg:acl doio fio, default:[]
--case {acl,aio,compilebench,consistency,create_files,doio,filebench,fileops,fio,fs_di,fs_mark,fsstress,fstest,iozone,locktests,postmar
k,readall,stream} [{acl,aio,compilebench,consistency,create_files,doio,filebench,fileops,fio,fs_di,fs_mark,fsstress,fstest,iozone,locktes
ts,postmark,readall,stream} ...]
default:['all]
Test Case List:
NO. CaseName CaseDescription
1 acl Test ACL and Extend Attribute on Linux system
2 aio a-synchronous I/O benchmark
3 compilebench Simulating disk IO common in creating, compiling, patching, stating and reading kernel trees.
4 consistency Test the file consistency
5 create_files Creates files of specified size
6 doio base rw test: LTP doio & iogen; growfiles
7 filebench File System Workload test
8 fileops Test the various of file operations
9 fio FIO: Flexible I/O tester.
10 fs_di Test FileSystem Data Integrity
11 fs_mark The fs_mark benchmark tests synchronous write workloads
12 fsstress filesystem stress with LTP tool fsstress
13 fstest Test FS function:chmod, chown, link, mkdir, mkfifo, open, rename, rmdir, symlink, truncate, unlink
14 iozone A benchmark tests for generates and measures a variety of file operations.
15 locktests Test fcntl locking functions
16 postmark Simulate small-file testing similar to the tasks endured by web and mail servers
17 readall Perform a small read on every file in a directory tree.
18 stream LTP file stream test
========================================================================
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
storagetest-1.1.8.tar.gz
(6.0 MB
view details)
Built Distribution
File details
Details for the file storagetest-1.1.8.tar.gz
.
File metadata
- Download URL: storagetest-1.1.8.tar.gz
- Upload date:
- Size: 6.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2385abe446f7e7885d71dd70305175cf2a6bee9d2f4a7495ed16e846271d5488 |
|
MD5 | e02a2bac5ca9963497f53db2717daeb6 |
|
BLAKE2b-256 | a4601580376f50dac71927cde4453dfbefe86d6ae465436fdf76e181352d5805 |
File details
Details for the file storagetest-1.1.8-py2.py3-none-any.whl
.
File metadata
- Download URL: storagetest-1.1.8-py2.py3-none-any.whl
- Upload date:
- Size: 6.2 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b78a687c01ae8caf964af91a4deda2752bb07f7314cd2d952ee952f4178c956f |
|
MD5 | 626e865592fd5c17be3c0925a0560247 |
|
BLAKE2b-256 | 776f53e421f99f7c720335aa159cb1faa33f0b5f333c111a300ba6c2929cd883 |