https://github.com/altinity/kioperf
Golang utility to measure I/O performance on block storage and object storage
https://github.com/altinity/kioperf
Last synced: 5 months ago
JSON representation
Golang utility to measure I/O performance on block storage and object storage
- Host: GitHub
- URL: https://github.com/altinity/kioperf
- Owner: Altinity
- License: apache-2.0
- Created: 2023-05-13T18:04:42.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-23T20:01:51.000Z (over 2 years ago)
- Last Synced: 2025-05-24T08:36:26.050Z (12 months ago)
- Language: Go
- Size: 21.5 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kioperf
Golang utility to measure I/O performance on block storage and object storage
## Building
```
make
```
## Testing performance of block storage
Test performance of writing 10 25MiB files using three threads. Iterations
should be equal to files (or greater). Files will be written to
./kioperf-data directory (default).
```
mkdir test
./kioperf disk --operation=write --size 25 --threads=3 --iterations=10 --files=10
```
Test performance of reading from a collection of 10 files 100 times in total.
```
./kioperf disk --operation=read --threads=3 --iterations=100 --files=10
```
## Testing performance of object storage.
Test performance of writing 10 25MiB files to object
storage using three threads. Files will be written to
s3://my-own-us-west-2-playground-1/kioperf/.
```
export AWS_ACCESS_KEY_ID="access key string"
export AWS_SECRET_ACCESS_KEY="secret key string"
./kioperf s3 --operation=write --bucket=my-own-us-west-2-playground-1 \
--prefix=kioperf/ --size 25 --threads=3 --iterations=10 --files=10
```
Test performance of reading from the same files 100 times.
```
./kioperf s3 --operation=write --bucket=my-own-us-west-2-playground-1 \
--prefix=kioperf/ --threads=3 --iterations=100 --files=10
```