qa/suites/nvmeof/thrasher: use 120 subsystems and 8 ns each

For tharsher test:
1. Run it on 120 subsystems with 8 namespaces each
2. Run FIO for 20 mins (instead of 15mins)
2. Run FIO for few randomly picked devices
    (using `--random_devices 200`)

Signed-off-by: Vallari Agrawal <vallari.agrawal@ibm.com>
This commit is contained in:
Vallari Agrawal 2024-11-19 06:52:06 +05:30
parent c0ca0eb6f0
commit e1983c5102
No known key found for this signature in database
GPG Key ID: 83EC142692896009
3 changed files with 12 additions and 5 deletions

View File

@ -6,8 +6,8 @@ tasks:
pool_name: mypool
image_name_prefix: myimage
gateway_config:
subsystems_count: 3
namespaces_count: 20 # each subsystem
subsystems_count: 120
namespaces_count: 8 # each subsystem
cli_image: quay.io/ceph/nvmeof-cli:latest
- cephadm.wait_for_service:

View File

@ -1,11 +1,11 @@
tasks:
- workunit:
no_coverage_and_limits: true
timeout: 30m
timeout: 60m
clients:
client.0:
- nvmeof/fio_test.sh
- nvmeof/fio_test.sh --random_devices 200
env:
RBD_POOL: mypool
IOSTAT_INTERVAL: '10'
RUNTIME: '900'
RUNTIME: '1200'

View File

@ -5,6 +5,7 @@ sudo yum -y install sysstat
namespace_range_start=
namespace_range_end=
random_devices_count=
rbd_iostat=false
while [[ $# -gt 0 ]]; do
@ -17,6 +18,10 @@ while [[ $# -gt 0 ]]; do
namespace_range_end=$2
shift 2
;;
--random_devices)
random_devices_count=$2
shift 2
;;
--rbd_iostat)
rbd_iostat=true
shift
@ -37,6 +42,8 @@ all_drives_list=$(sudo nvme list --output-format=json |
# run on first 3 namespaces here.
if [ "$namespace_range_start" ] || [ "$namespace_range_end" ]; then
selected_drives=$(echo "${all_drives_list[@]}" | sed -n "${namespace_range_start},${namespace_range_end}p")
elif [ "$random_devices_count" ]; then
selected_drives=$(echo "${all_drives_list[@]}" | shuf -n $random_devices_count)
else
selected_drives="${all_drives_list[@]}"
fi