forked from ceph/ceph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
qa/suites/nvmeof/thrash/gateway-initiator-setup/10-subsys-90-namespace-no_huge_pages.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,4 @@ tasks: | |
env: | ||
RBD_POOL: mypool | ||
IOSTAT_INTERVAL: '10' | ||
RUNTIME: '1200' | ||
RUNTIME: '1800' |