提交 3193e1fe 编写于 作者: X Xu Tian

Merge pull request #554 from CongSmile/balloon_stress

tp-qemu: some updates about balloon_stress.
......@@ -28,7 +28,7 @@ def run(test, params, env):
vm.verify_alive()
default_memory = int(params.get("default_memory", 8192))
unit = vm.monitor.protocol == "qmp" and 10485760 or 1
unit = vm.monitor.protocol == "qmp" and 1048576 or 1
timeout = float(params.get("login_timeout", 360))
session = vm.wait_for_login(timeout=timeout)
# for media player configuration
......
......@@ -4,7 +4,7 @@
balloon = balloon0
balloon_dev_devid = balloon0
balloon_dev_add_bus = yes
iterations = 5
repeat_times = 5
ratio = 0.5
login_timeout = 800
start_vm = yes
......@@ -15,6 +15,7 @@
bg_stress_run_flag = balloon_test
set_bg_stress_flag = yes
free_mem_cmd = wmic os get FreePhysicalMemory
default_memory = ${mem}
video_url = http://FILESHARE.COM/pub/section2/kvmauto/video/big_buck_bunny_480p_stereo.avi
x86_64:
program_files = "%ProgramFiles(x86)%"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册