glusterfs-多节点读写性能测试.doc

glusterfs-多节点读写性能测试.doc

ID:55261278

大小:145.00 KB

页数:8页

时间:2020-05-08

glusterfs-多节点读写性能测试.doc_第1页
glusterfs-多节点读写性能测试.doc_第2页
glusterfs-多节点读写性能测试.doc_第3页
glusterfs-多节点读写性能测试.doc_第4页
glusterfs-多节点读写性能测试.doc_第5页
资源描述:

《glusterfs-多节点读写性能测试.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、测试环境:glustefs端:Glusterfs版本:glusterfs3.6.1builtonNov7201415:15:50系统版本:CentOSrelease6.5(Final)内核:Linuxversion3.4.45硬件环境:CPU:Intel(R)Xeon(R)CPUE3-1230V2@3.30GHz内存:32GB硬盘:4块128GSSD11块2TSATA盘client端:Glusterfs版本:glusterfs3.6.1builtonNov7201415:15:50系统版本:CentOSrelease6.5(F

2、inal)内核:Linuxversion3.4.45硬件环境:CPU:Intel(R)Xeon(R)CPUE3-1230V2@3.30GHz内存:8GB网络环境:gluster端:服务器网络配置为bridge,单根网线接到交换机上。data-node3ip设为10.3.211.3,data-node4ip设为10.3.211.4,data-node5ip设为10.3.211.5,data-node6ip设为10.3.211.6。client端:eth0设置固定ip192.168.10.200,eth1、eth2、eth3三个网

3、口做bond0,ip设为10.3.211.11,四个网口四根网线连接到交换机上。系统节点:IP别名Brick10.3.211.3data-node3/brick/brick1/10.3.211.4data-node4/brick/brick1/10.3.211.5data-node5/brick/brick1/10.3.211.6data-node6/brick/brick1/192.168.10.200data-client测试目的:测试不同节点数下使用glusterfs建立stripe卷挂载到3网口做bond0的clien

4、t端上,测试他的读写性能测试方法测试工具:ddfio测试方法:不同节点数下建立stripe卷,挂载到client端使用dd命令测试他的吞吐量,fio测试iops测试过程测试步骤1、添加信任池glusterpeerprobedata-node3glusterpeerprobedata-node4glusterpeerprobedata-node5glusterpeerprobedata-node62、创建stripe卷两个节点glustervolumecreateteststripe2data-node4:/brick/bric

5、k1/testwdata-node3:/brick/brick1/testw三个节点glustervolumecreatetest1stripe3data-node4:/brick/brick1/testdata-node3:/brick/brick1/testdata-node5:/brick/brick1/test四个节点glustervolumecreatetest2stripe4data-node4:/brick/brick1/testedata-node3:/brick/brick1/testedata-node5:

6、/brick/brick1/testedata-node6:/brick/brick1/teste3、启动stripe卷glustervolumestarttestglustervolumestarttest1glustervolumestarttest25、挂载到client端mount.glusterfsdata-node3:/test/mnt6、使用dd命令测试吞吐率ddif=/dev/zeroof=/mnt/dd.imgbs=1Mcount=600007、使用fio测试iops测试脚本#!/bin/bashcd/mnt

7、sleep10rm-rftest*sleep30cd/sleep10/usr/local/bin/fio--name=/mnt/test--direct=0--iodepth=96--rw=randread--ioengine=posixaio--bs=4k--size=16G--numjobs=20--runtime=3600--group_reporting>>/fiotest/fio.logsleep100cd/mntsleep60rm-rftest*sleep300cd/sleep60umounttestpoolsle

8、ep100mount-tglusterfsdata-node3:/test/mnt/sleep60/usr/local/bin/fio--name=/mnt/test--direct=0--iodepth=96--rw=randwrite--ioengine=posixaio

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。