Skip to content

Commit 1e28381

Browse files
DAOS-18903 test: speedup ftest/nvme/io.py (#18370)
Speedup ftest/nvme/io.py by: - Increasing the client processes - Reducing some aggregate file sizes Signed-off-by: Dalton Bohning <dalton.bohning@hpe.com>
1 parent 5500b14 commit 1e28381

2 files changed

Lines changed: 21 additions & 18 deletions

File tree

src/tests/ftest/nvme/io.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""
22
(C) Copyright 2020-2023 Intel Corporation.
3+
(C) Copyright 2026 Hewlett Packard Enterprise Development LP
34
45
SPDX-License-Identifier: BSD-2-Clause-Patent
56
"""
@@ -47,10 +48,13 @@ def test_nvme_io(self):
4748
size_before_ior = self.pool.info
4849

4950
# Run ior with the parameters specified for this pass
50-
self.ior_cmd.transfer_size.update(ior_param[1])
51-
self.ior_cmd.block_size.update(ior_param[2])
52-
self.ior_cmd.dfs_oclass.update(obj_type)
53-
self.ior_cmd.set_daos_params(self.pool, self.container.identifier)
51+
self.ior_cmd.update_params(
52+
transfer_size=ior_param[1],
53+
block_size=ior_param[2],
54+
dfs_oclass=obj_type,
55+
dfs_pool=self.pool.identifier,
56+
dfs_cont=self.container.identifier
57+
)
5458
self.run_ior(self.get_ior_job_manager_command(), ior_param[3])
5559

5660
# Verify IOR consumed the expected amount from the pool

src/tests/ftest/nvme/io.yaml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ hosts:
22
test_servers: 4
33
test_clients: 1
44

5-
timeout: 28800
5+
timeout: 10800
66

77
server_config:
88
name: daos_server
@@ -14,14 +14,13 @@ server_config:
1414

1515
pool:
1616
properties: rd_fac:0,space_rb:0,reclaim:disabled
17+
set_logmasks: False # The test creates ~100 pools so do not set log masks for each pool
1718

1819
container:
19-
control_method: daos
2020
type: POSIX
2121

2222
ior:
2323
flags: -w -r -k -vv
24-
repetitions: 1
2524
test_file: /testFile
2625
object_type:
2726
- SX
@@ -36,14 +35,14 @@ ior:
3635
dfs_destroy: false
3736
ior_sequence:
3837
# - [pool_size, transfer_size, block_size, client_slots]
39-
- [75%, 1048576, 17179869184, 1] # [75%, 1M, 16G, 1]
40-
- [900G, 4096, 1073741824, 1] # [900G, 4k, 1G, 1]
41-
- [900G, 2048, 838860800, 1] # [900G, 2k, 800M, 1]
42-
- [4%, 8, 10485760, 1] # [4%, 8B, 10M, 1]
43-
- [4%, 24, 25165824, 1] # [4%, 24B, 24M, 1]
44-
- [4%, 2056, 4227136, 1] # [4%, 2056B, 4M, 1]
45-
- [95%, 134217728, 34359738368, 1] # [95%, 128M, 32G, 1]
46-
- [40%, 32, 44040192, 1] # [40%, 32B, 42M, 1]
47-
- [95%, 2048, 1073741824, 2] # [95%, 2k, 1G, 2]
48-
- [95%, 8, 10485760, 2] # [95%, 8B, 10M, 2]
49-
- [95%, 33554432, 8589934592, 5] # [95%, 32M, 8G, 5]
38+
- [75%, 1048576, 2147483648, 8] # [75%, 1M, 2G, 8]
39+
- [900G, 4096, 134217728, 8] # [900G, 4k, 128K, 8]
40+
- [900G, 2048, 104857600, 8] # [900G, 2k, 100M, 8]
41+
- [4%, 8, 1048576, 8] # [4%, 8B, 1M, 8]
42+
- [4%, 24, 3145728, 8] # [4%, 24B, 3M, 8]
43+
- [4%, 2056, 528392, 8] # [4%, 2056B, 512K, 8]
44+
- [95%, 134217728, 4294967296, 8] # [95%, 128M, 4G, 8]
45+
- [40%, 32, 4194304, 8] # [40%, 32B, 4M, 8]
46+
- [95%, 2048, 268435456, 8] # [95%, 2k, 256K, 8]
47+
- [95%, 8, 1048576, 8] # [95%, 8B, 1M, 8]
48+
- [95%, 33554432, 4294967296, 8] # [95%, 32M, 4G, 8]

0 commit comments

Comments
 (0)