https://github.com/fd0/prb
parallel read benchmark, see https://github.com/borgbackup/borg/issues/3500
https://github.com/fd0/prb
Last synced: about 1 year ago
JSON representation
parallel read benchmark, see https://github.com/borgbackup/borg/issues/3500
- Host: GitHub
- URL: https://github.com/fd0/prb
- Owner: fd0
- Created: 2018-01-01T14:02:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-01T14:39:37.000Z (over 8 years ago)
- Last Synced: 2025-01-26T02:52:09.412Z (over 1 year ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Build
=====
```
go build -o prb .
```
cross-compilation:
```
GOOS=freebsd GOARCH=amd64 go build -o prb .
```
Run
===
```
TARGET=/home/user
for i in 1 2 3 4 5 6 7 8 9 10; do
sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches'
./prb --workers $i --output /tmp/benchmarks.csv "$TARGET"
done
```