代码拉取完成,页面将自动刷新
Archlinux: 4.0.5-1-ARCH #1 SMP PREEMPT Sat Jun 6 18:37:49 CEST 2015 x86_64 GNU/Linux
Go: go version go1.4.2 linux/amd64
Redis x 4:
for i in {6380..6383}; do
nohup codis-server ${i}.conf &
done
alpha:
listen: 127.0.0.1:22120
hash: crc32a
hash_tag: "{}"
distribution: ketama
auto_eject_hosts: false
timeout: 400
redis: true
servers:
- 127.0.0.1:6380:1
- 127.0.0.1:6381:1
- 127.0.0.1:6382:1
- 127.0.0.1:6383:1
codis-proxy --ncpu=4 -c config.toml -L proxy.log \
--host-proxy=0.0.0.0:19000 --host-admin=0.0.0.0:10000 &
for clients in {1,2,4,8,16,32,64,100,200,300,500,800}; do
redis-benchmark -p $target -c $clients -n 5000000 -P 100 \
-r 1048576 -d 256 -t get,set,mset
done
CentOS: 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Go: go version go1.3.3 linux/amd64
Redis x 8:
for i in {6380..6387}; do
nohup codis-server ${i}.conf &
done
alpha:
listen: 127.0.0.1:22120
hash: crc32a
hash_tag: "{}"
distribution: ketama
auto_eject_hosts: false
timeout: 400
redis: true
servers:
- 127.0.0.1:6380:1
- 127.0.0.1:6381:1
- 127.0.0.1:6382:1
- 127.0.0.1:6383:1
- 127.0.0.1:6384:1
- 127.0.0.1:6385:1
- 127.0.0.1:6386:1
- 127.0.0.1:6387:1
codis-proxy --ncpu=4 -c config.toml -L proxy.log \
--host-proxy=0.0.0.0:19000 --host-admin=0.0.0.0:10000 &
codis-proxy --ncpu=8 -c config.toml -L proxy.log \
--host-proxy=0.0.0.0:19000 --host-admin=0.0.0.0:10000 &
for clients in {1,2,4,8,16,32,64,100,200,300,500,800}; do
redis-benchmark -p $target -c $clients -n 5000000 -P 100 \
-r 1048576 -d 256 -t get,set,mset
done
for i in {1,2,4,8,16,32,64,100,200,300,500,800}; do
nthread=4
if [ $i -lt 4 ]; then
nthread=1
fi
let nclient="$i/$nthread"
memtier_benchmark -p $target -t $nthread -c $nclient \
--ratio=1:1 --test-time 30 -d 256 --key-pattern=S:S --pipeline=100
done
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。