未验证 提交 6b9b6378 编写于 作者: X Xu Han 提交者: GitHub

Merge pull request #1126 from quanwenli/ksm

Netperf: disable ksm for performance issue
......@@ -3,6 +3,7 @@
type = netperf
kill_vm = yes
image_snapshot = yes
setup_ksm = no
# Please update following comments params when you need special cfg for
# your test nic cards
# nic1 is for control, nic2 is for data connection
......
......@@ -94,6 +94,7 @@ def run(test, params, env):
ssh_cmd(session, "service iptables stop", ignore_status=True)
ssh_cmd(session, "systemctl stop firewalld.service", ignore_status=True)
ssh_cmd(session, "echo 1 > /proc/sys/net/ipv4/conf/all/arp_ignore")
ssh_cmd(session, "echo 0 > /sys/kernel/mm/ksm/run", ignore_status=True)
download_link = params.get("netperf_download_link")
download_dir = data_dir.get_tmp_dir()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册