Merge "Report disk IO in resiliency gate"
This commit is contained in:
commit
856b6017ca
3
.gitignore
vendored
3
.gitignore
vendored
@ -23,3 +23,6 @@ __pycache__
|
||||
/docs/*/_static/
|
||||
/AUTHORS
|
||||
/ChangeLog
|
||||
|
||||
# Additional gate artifacts
|
||||
/.fiotest
|
||||
|
@ -4,6 +4,10 @@
|
||||
"promenade/schemas"
|
||||
],
|
||||
"stages": [
|
||||
{
|
||||
"name": "Report Disk IO",
|
||||
"script": "report-disk-io.sh"
|
||||
},
|
||||
{
|
||||
"name": "Gate Setup",
|
||||
"script": "gate-setup.sh"
|
||||
|
20
tools/g2/stages/report-disk-io.sh
Executable file
20
tools/g2/stages/report-disk-io.sh
Executable file
@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eu
|
||||
|
||||
source "${GATE_UTILS}"
|
||||
|
||||
log Testing disk IO
|
||||
|
||||
fio \
|
||||
--randrepeat=1 \
|
||||
--ioengine=libaio \
|
||||
--direct=1 \
|
||||
--gtod_reduce=1 \
|
||||
--name=test \
|
||||
--filename=.fiotest \
|
||||
--bs=4k \
|
||||
--iodepth=64 \
|
||||
--size=1G \
|
||||
--readwrite=randrw \
|
||||
--rwmixread=50
|
@ -22,6 +22,7 @@ sudo apt-get update -qq
|
||||
sudo apt-get install -q -y --no-install-recommends \
|
||||
curl \
|
||||
docker.io \
|
||||
fio \
|
||||
genisoimage \
|
||||
jq \
|
||||
libstring-shellquote-perl \
|
||||
|
Loading…
x
Reference in New Issue
Block a user