Commit b47c95cb authored by Jialin Li's avatar Jialin Li
Browse files

nopaxos: reduce ping from 5 to 2 times

parent 670893a5
......@@ -417,7 +417,7 @@ class VRClient(AppConfig):
def run_cmds(self, node):
cmds = []
for ip in self.server_ips:
cmds.append('ping -c 5 ' + ip)
cmds.append('ping -c 2 ' + ip)
cmds.append('/root/nopaxos/bench/client -c /root/nopaxos.config ' +
'-m vr -u 2 -h ' + node.ip)
return cmds
......@@ -436,7 +436,7 @@ class NOPaxosClient(AppConfig):
def run_cmds(self, node):
cmds = []
for ip in self.server_ips:
cmds.append('ping -c 5 ' + ip)
cmds.append('ping -c 2 ' + ip)
cmd = '/root/nopaxos/bench/client -c /root/nopaxos.config ' + \
'-m nopaxos -u 2 -h ' + node.ip
if self.use_ehseq:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment