Skip to content

Commit

Permalink
new ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
vince-weka committed Oct 7, 2024
1 parent 2876d7d commit 5cbe001
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 20 deletions.
23 changes: 11 additions & 12 deletions wekatester/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@ Includes fio both consistency (versions vary) and convienience.


```
usage: wekatester [-h] [-v] [-c] [-s] [-d DIRECTORY] [-w WORKLOAD] [-o]
[-a] [--no-weka] [--auth AUTHFILE]
[server [server ...]]
# ./wekatester --help
usage: wekatester [-h] [-v] [-c] [-s] [-d DIRECTORY] [-w WORKLOAD] [-o] [-a] [--no-weka] [--local-fio LOCAL_FIO] [--auth AUTHFILE] [--version] [server ...]
Acceptance Test a weka cluster
positional arguments:
server One or more Servers to use a workers (weka mode
[default] will get names from the cluster)
server One or more Servers to use a workers (weka mode [default] will get names from the cluster)
optional arguments:
-h, --help show this help message and exit
Expand All @@ -23,15 +21,14 @@ optional arguments:
-d DIRECTORY, --directory DIRECTORY
target directory for workload (default is /mnt/weka)
-w WORKLOAD, --workload WORKLOAD
workload definition directory (a subdir of fio-
jobfiles)
workload definition directory (a subdir of fio-jobfiles)
-o, --output run fio with output file
-a, --autotune automatically tune num_jobs to maximize performance
(experimental)
-a, --autotune automatically tune num_jobs to maximize performance (experimental)
--no-weka force non-weka mode
--auth AUTHFILE auth file for authenticating with weka (default is
auth-token.json)
--local-fio LOCAL_FIO
Specify the fio binary on the target servers
--auth AUTHFILE auth file for authenticating with weka (default is auth-token.json)
--version Display version number
```

# Basics
Expand All @@ -58,4 +55,6 @@ Servers - a list of weka servers to connect to via the API, or when combined wit

`--no-weka` Assumes the Servers are not weka servers or clients and just runs the workload on them

`--local-fio` Use the fio binary that is already local to the servers. Make sure all the servers have the same version.

`--auth` Specify an alternate file instead of the default auth-token.json
4 changes: 1 addition & 3 deletions wekatester/fio-jobfiles/default/011-bandwidthR.job
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,15 @@ runtime=30
ioengine=libaio
disk_util=0
direct=1
numjobs=32

[fio-createfiles-00]
stonewall
numjobs=64
blocksize=1Mi
description='pre-create files'
create_only=1

[fio-bandwidthSR-00]
stonewall
numjobs=32
description='Sequential Read bandwidth workload'
blocksize=1Mi
rw=read
Expand Down
1 change: 0 additions & 1 deletion wekatester/fio-jobfiles/default/021-latencyR.job
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ direct=1
numjobs=1

[fio-createfiles-00]
stonewall
blocksize=1Mi
description='pre-create files'
create_only=1
Expand Down
3 changes: 1 addition & 2 deletions wekatester/fio-jobfiles/default/022-latencyW.job
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@ direct=1
numjobs=1

[fio-createfiles-00]
stonewall
blocksize=1Mi
description='pre-create files'
create_only=1

[fio-latencyR-00]
[fio-latencyW-00]
stonewall
description='Write latency workload'
bs=4k
Expand Down
1 change: 0 additions & 1 deletion wekatester/fio-jobfiles/default/031-iopsR.job
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ direct=1
numjobs=64

[fio-createfiles-00]
stonewall
blocksize=1Mi
description='pre-create files'
create_only=1
Expand Down
1 change: 0 additions & 1 deletion wekatester/fio-jobfiles/default/032-iopsW.job
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ direct=1
numjobs=64

[fio-createfiles-00]
stonewall
blocksize=1Mi
description='pre-create files'
create_only=1
Expand Down
Binary file modified wekatester/wekatester
Binary file not shown.

0 comments on commit 5cbe001

Please sign in to comment.