提交 c432ab9e 编写于 作者: C Cong 提交者: GitHub

Merge pull request #1055 from ybduan/hugepage1g

boot_vm_in_hugepage.1G_hugepage: add new case for 1G hugepage, boot, reboot, shutdown
......@@ -4,13 +4,17 @@
reboot_method = shell
kill_vm_on_error = yes
login_timeout = 240
reboot_count = 25
slots_mem = 4
maxmem_mem = 32G
reboot_count = 10
setup_hugepages = yes
mem_devs = hugepage
size_mem_hugepage = 256M
backend_mem = memory-backend-file
mem-path = /mnt/kvm_hugepage
extra_params += " -mem-path /mnt/kvm_hugepage"
pre_command_noncritical = yes
pre_command = "echo 3 > /proc/sys/vm/drop_caches"
variants:
- 2M_hugepage:
expected_hugepage_size = 2048
- 1G_hugepage:
# Notes:
# Before start testing, please ensure your host OS support 1G hugepage.
# Please don't forget to update host kernel line to enable 1G hugepage
# support and ensure your host have enough memory to create guest memory.
expected_hugepage_size = 1048576
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册