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
========================================================================
Metadata
Release files for storagetest 1.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| storagetest-1.1.8.tar.gz | 6.0 MB | Without provenance | Details for storagetest-1.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| storagetest-1.1.8-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for storagetest-1.1.8-py2.py3-none-any.whl |
Total release size: 12.2 MB
Release files / storagetest-1.1.8.tar.gz
| Download URL | storagetest-1.1.8.tar.gz |
|---|---|
| Size | 6.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2385abe446f7e7885d71dd70305175cf2a6bee9d2f4a7495ed16e846271d5488
|
|
BLAKE2b-256 checksum How to use checksums |
a4601580376f50dac71927cde4453dfbefe86d6ae465436fdf76e181352d5805
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / storagetest-1.1.8-py2.py3-none-any.whl
| Download URL | storagetest-1.1.8-py2.py3-none-any.whl |
|---|---|
| Size | 6.2 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b78a687c01ae8caf964af91a4deda2752bb07f7314cd2d952ee952f4178c956f
|
|
BLAKE2b-256 checksum How to use checksums |
776f53e421f99f7c720335aa159cb1faa33f0b5f333c111a300ba6c2929cd883
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for storagetest 1.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.