"symphony/git@developer.sourcefind.cn:cnjsdfcy/simbricks.git" did not exist on "242b3dd2d103bb592de38e1804f1fbde14690617"
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:
......@@ -564,4 +564,4 @@ class MemcachedClient(AppConfig):
def run_cmds(self, node):
servers = [ip + ':11211' for ip in self.server_ips]
servers = ','.join(servers)
return [f'memaslap --binary --time 10s --server={servers} --thread={self.threads} --concurrency={self.concurrency} --tps={self.throughput} --verbose']
\ No newline at end of file
return [f'memaslap --binary --time 10s --server={servers} --thread={self.threads} --concurrency={self.concurrency} --tps={self.throughput} --verbose']
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