simple-iotest 3.52__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: simple-iotest
|
|
3
|
+
Version: 3.52
|
|
4
|
+
Summary: A dead simple iotest for HPC environments
|
|
5
|
+
Requires-Python: >=3.6
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: argparse
|
|
8
|
+
|
|
9
|
+
# iotest
|
|
10
|
+
|
|
11
|
+
Ever feel like fio is too complicated and too optimized? Well, simple-iotest covers this for you!
|
|
12
|
+
|
|
13
|
+
Using the most simple non-optimized write() or writev() with fallback to python f.write() (just like your code!) to test file system io performance.
|
|
14
|
+
|
|
15
|
+
Warning: if using big file sizes, make sure you have enough memory to hold all these bits!
|
|
16
|
+
|
|
17
|
+
Note:
|
|
18
|
+
Recommand to also install the package Tee_Logger to also log your test results to your /var/log/ ( configurable ) for future keeping.
|
|
19
|
+
|
|
20
|
+
Genrated:
|
|
21
|
+
|
|
22
|
+
This script tests I/O performance by creating, reading, moving, and indexing files in various modes. It allows you to measure different aspects of disk performance and log the results.
|
|
23
|
+
|
|
24
|
+
## Installation
|
|
25
|
+
```bash
|
|
26
|
+
pipx install simple-iotest
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Usage
|
|
30
|
+
Run the script with:
|
|
31
|
+
```bash
|
|
32
|
+
iotest [options] [modes]
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Common Options
|
|
36
|
+
- `-fs, --file_size`: Size of the test files (can include suffix like `m`, `g`, etc.).
|
|
37
|
+
- `-fc, --file_count`: Number of files to process per worker.
|
|
38
|
+
- `-pc, --process_count`: Number of worker processes.
|
|
39
|
+
- `-d, --directory`: Directory for file operations.
|
|
40
|
+
- `-q, --quiet`: Suppresses output.
|
|
41
|
+
- `-z, --zeros`: Uses zero-filled data instead of random.
|
|
42
|
+
- `-nl, --no_log`: Disables log file creation.
|
|
43
|
+
- `-nr, --no_report`: Disables result report creation.
|
|
44
|
+
|
|
45
|
+
### Modes
|
|
46
|
+
- `write` / `w`: Only file writes.
|
|
47
|
+
- `read` / `r`: Only file reads.
|
|
48
|
+
- `index` / `i`: Create and remove temporary index folders.
|
|
49
|
+
- `random`: Random read/write steps.
|
|
50
|
+
- `comprehensive` / `c`: Includes write, index, read, etc.
|
|
51
|
+
- `rw`: Do write → read in the same operation
|
|
52
|
+
- `rwi` or `wri`: Do write → index → read in the same operation.
|
|
53
|
+
|
|
54
|
+
Example:
|
|
55
|
+
```bash
|
|
56
|
+
iotest -fs 50m -fc 100 -pc 4 -d /tmp/iotest write read
|
|
57
|
+
```
|
|
58
|
+
Will launch 4 processes each write same random 50MiB size data to 100 seperate files sequentially.
|
|
59
|
+
Then will launch another 4 processes reading the same files.
|
|
60
|
+
|
|
61
|
+
Check the available arguments with `-h` or `--help` for more details.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
simple_iotest-3.52.dist-info/METADATA,sha256=yEOrm3qdbu8xp2SsZYL7L4aGNWe_0LvtEjhANx03tbs,2165
|
|
2
|
+
simple_iotest-3.52.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
3
|
+
simple_iotest-3.52.dist-info/entry_points.txt,sha256=zTBpWYpbDE9nIpgBEPOTDNq46VjfFDHVN2sDzdkeXec,49
|
|
4
|
+
simple_iotest-3.52.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
5
|
+
simple_iotest-3.52.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|