Skip to content

Commit 09ade3d

Browse files
committed
qa/suites/nvmeof/thrash: add 10-subsys-90-namespace-no_huge_pages.yaml
Add test for no-huge-pages by using config "spdk_mem_size: 4096" in 10 subsystems and 90 namespaces each setup. Signed-off-by: Vallari Agrawal <[email protected]>
1 parent 7ee4677 commit 09ade3d

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
tasks:
2+
- nvmeof:
3+
installer: host.a
4+
gw_image: quay.io/ceph/nvmeof:latest # "default" is the image cephadm defaults to; change to test specific nvmeof images, example "latest"
5+
rbd:
6+
pool_name: mypool
7+
image_name_prefix: myimage
8+
gateway_config:
9+
subsystems_count: 10
10+
namespaces_count: 90 # each subsystem
11+
cli_image: quay.io/ceph/nvmeof-cli:latest
12+
13+
- cephadm.wait_for_service:
14+
service: nvmeof.mypool.mygroup0
15+
16+
- cephadm.exec:
17+
host.a:
18+
- ceph orch ls nvmeof --export > /tmp/nvmeof-orig.yaml
19+
- cp /tmp/nvmeof-orig.yaml /tmp/nvmeof-no-huge-page.yaml
20+
- "sed -i '/ pool: mypool/a\\ spdk_mem_size: 4096' /tmp/nvmeof-no-huge-page.yaml"
21+
- cat /tmp/nvmeof-no-huge-page.yaml
22+
- ceph orch ls --refresh
23+
- ceph orch apply -i /tmp/nvmeof-no-huge-page.yaml
24+
- ceph orch redeploy nvmeof.mypool.mygroup0
25+
26+
- cephadm.wait_for_service:
27+
service: nvmeof.mypool.mygroup0
28+
29+
- workunit:
30+
no_coverage_and_limits: true
31+
clients:
32+
client.0:
33+
- nvmeof/setup_subsystem.sh
34+
- nvmeof/basic_tests.sh
35+
env:
36+
RBD_POOL: mypool
37+
RBD_IMAGE_PREFIX: myimage

qa/suites/nvmeof/thrash/workloads/fio.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ tasks:
88
env:
99
RBD_POOL: mypool
1010
IOSTAT_INTERVAL: '10'
11-
RUNTIME: '1200'
11+
RUNTIME: '1800'

0 commit comments

Comments
 (0)