Skip to content

Commit

Permalink
qa/suites/nvmeof/thrash: add 10-subsys-90-namespace-no_huge_pages.yaml
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
VallariAg committed Nov 26, 2024
1 parent 7ee4677 commit 09ade3d
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
tasks:
- nvmeof:
installer: host.a
gw_image: quay.io/ceph/nvmeof:latest # "default" is the image cephadm defaults to; change to test specific nvmeof images, example "latest"
rbd:
pool_name: mypool
image_name_prefix: myimage
gateway_config:
subsystems_count: 10
namespaces_count: 90 # each subsystem
cli_image: quay.io/ceph/nvmeof-cli:latest

- cephadm.wait_for_service:
service: nvmeof.mypool.mygroup0

- cephadm.exec:
host.a:
- ceph orch ls nvmeof --export > /tmp/nvmeof-orig.yaml
- cp /tmp/nvmeof-orig.yaml /tmp/nvmeof-no-huge-page.yaml
- "sed -i '/ pool: mypool/a\\ spdk_mem_size: 4096' /tmp/nvmeof-no-huge-page.yaml"
- cat /tmp/nvmeof-no-huge-page.yaml
- ceph orch ls --refresh
- ceph orch apply -i /tmp/nvmeof-no-huge-page.yaml
- ceph orch redeploy nvmeof.mypool.mygroup0

- cephadm.wait_for_service:
service: nvmeof.mypool.mygroup0

- workunit:
no_coverage_and_limits: true
clients:
client.0:
- nvmeof/setup_subsystem.sh
- nvmeof/basic_tests.sh
env:
RBD_POOL: mypool
RBD_IMAGE_PREFIX: myimage
2 changes: 1 addition & 1 deletion qa/suites/nvmeof/thrash/workloads/fio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ tasks:
env:
RBD_POOL: mypool
IOSTAT_INTERVAL: '10'
RUNTIME: '1200'
RUNTIME: '1800'

0 comments on commit 09ade3d

Please sign in to comment.