CN105446658A - 一种风扇震动对raid性能影响的分析方法 - Google Patents
一种风扇震动对raid性能影响的分析方法 Download PDFInfo
- Publication number
- CN105446658A CN105446658A CN201510767272.9A CN201510767272A CN105446658A CN 105446658 A CN105446658 A CN 105446658A CN 201510767272 A CN201510767272 A CN 201510767272A CN 105446658 A CN105446658 A CN 105446658A
- Authority
- CN
- China
- Prior art keywords
- raid
- performance
- fan
- fan speed
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title abstract description 11
- 238000004458 analytical method Methods 0.000 claims abstract description 9
- 238000013515 script Methods 0.000 claims description 5
- 238000012360 testing method Methods 0.000 abstract description 11
- 238000005457 optimization Methods 0.000 abstract description 5
- 238000010835 comparative analysis Methods 0.000 abstract description 2
- 238000010521 absorption reaction Methods 0.000 description 5
- 230000035939 shock Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000013016 damping Methods 0.000 description 2
- 230000015556 catabolic process Effects 0.000 description 1
- 230000006837 decompression Effects 0.000 description 1
- 238000006731 degradation reaction Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000017525 heat dissipation Effects 0.000 description 1
- 238000011056 performance test Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
- G06F3/0689—Disk arrays, e.g. RAID, JBOD
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Cooling Or The Like Of Electrical Apparatus (AREA)
Abstract
本发明公开一种风扇震动对RAID性能影响的分析方法,属于RAID性能研究技术领域;本发明基于ipmitool工具,实现风扇转速数据的实时搜集;采用简单灵活的FIO工具,采集不同风扇转速下的RAID的读/写性能。在以上两个数据的基础上,进行简单的对比分析,得出风扇转速和RAID?I/O性能的关系,为优化RAID?I/O性能提供可靠的参考。该方法简单实用,能够快速分析风扇转动所产生的震动对RAID?I/O性能的影响,应用在服务器RAID性能优化测试中,可以节省人力和时间,提高工作效率。
Description
技术领域
本发明公开一种RAID性能影响的分析方法,属于RAID性能研究技术领域,具体地说是一种风扇震动对RAID性能影响的分析方法。
背景技术
震动是影响硬盘性能的重要因素,对RAID也不例外。由于RAID的特性,当存取阵列中的数据时,阵列中所有的磁盘驱动器的磁头,几乎在同时,往同一个方向SEEK,又几乎同时在相同的位置煞车,其惯性动量非常之大,因此震动对其影响的也更大。服务器中利用转速高的风扇进行散热势必造成震动的增大。而震动的增大对磁盘阵列的Re-Seek、性能造成的影响严重到会导致碟面受损,数据遗失。本发明提供一种风扇震动对RAID性能影响的分析方法,基于ipmitool工具,实现风扇转速数据的实时搜集;采用简单灵活的FIO工具,采集不同风扇转速下的RAID的读/写性能,对采集的数据进行对比分析,即可得出风扇转速和RAIDI/O性能的关系,本发明简单实用,能够快速分析风扇转动所产生的震动对RAIDI/O性能的影响,为优化RAIDI/O性能提供可靠的参考。
ipmitool是一种可用在linux系统下的命令行方式的ipmi平台管理工具,通过它可以实现获取传感器的信息、显示系统日志内容、网络远程开关机等功能。
FIO是测试IOPS的的工具,用来对硬件进行压力测试和验证,支持多种不同的I/O引擎。
发明内容
本发明针对现有技术中没有对服务器风扇震动对RAID性能影响的分析方法,不能对风扇震动对RAID性能影响作出预判,不利于RAID性能的提升的问题,提供一种风扇震动对RAID性能影响的分析方法,简单实用,能够快速分析风扇转动所产生的震动对RAIDI/O性能的影响,为优化RAIDI/O性能提供可靠的参考。
本发明提出的具体方案是:
一种风扇震动对RAID性能影响的分析方法:
利用ipmitool对服务器的风扇转速数据进行实时搜集,同时FIO搭配GFIO对服务器的RAID性能进行实时收集;
对比分析风扇转速和RAIDFIO性能的关系,对比风扇在某一转速下,RAID的I/O性能的值与变化趋势,判断RAID能承受的最大风扇转速范围。
所述判断RAID能承受的最大风扇转速范围,根据被测目标RAID的IOPS吞吐量与基准值相比满足SATAHDDRAID>80%-85%硬盘单体基准值,再由对比风扇转速变化图和FIO的BW和IOPS值的变化图,确定RAID所能承受最大风扇转速的范围。
所述利用ipmitool在Linux下对服务器的风扇转速数据进行实时搜集,主要代码如下:
#!/bin/sh
monitor_file=”./fan_info.txt”
serviceipmistart
if[-e“$monitor_file”];
then
rm–rf$monitor_file
fi
whiletrue;do
date>>$monitor_file
ipmitoolsdr|grep–ifan>>$monitor_file
sleep10
done
b)运行fan_info脚本,开始收集fanspeed数据
./fan_info
收集结果在fan_info.txt中。
本发明的有益之处是:
本发明基于ipmitool工具,实现风扇转速数据的实时搜集;采用简单灵活的FIO工具,采集不同风扇转速下的RAID的读/写性能。在以上两个数据的基础上,进行简单的对比分析,得出风扇转速和RAIDI/O性能的关系,为优化RAIDI/O性能提供可靠的参考。该方法简单实用,能够快速分析风扇转动所产生的震动对RAIDI/O性能的影响,应用在服务器RAID性能优化测试中,可以节省人力和时间,提高工作效率。
附图说明
图1本发明方法实时采集的风扇转速变化示意图;
图2具体实施例中RAIDFIO测试BW和IOPS变化示意图;
图3减震方案实施前后不同风扇转速下的FIO性能对比示意图;
图4RAID震动RV值变化示意图。
具体实施方式
一种风扇震动对RAID性能影响的分析方法:
利用ipmitool对服务器的风扇转速数据进行实时搜集,同时FIO搭配GFIO对服务器的RAID性能进行实时收集;
对比分析风扇转速和RAIDFIO性能的关系,对比风扇在某一转速下,RAID的I/O性能的值与变化趋势,判断RAID能承受的最大风扇转速范围。
所述判断RAID能承受的最大风扇转速范围,根据被测目标RAID的IOPS吞吐量与基准值相比满足SATAHDDRAID>80%-85%硬盘单体基准值,再由对比风扇转速变化图和FIO的BW和IOPS值的变化图,确定RAID所能承受最大风扇转速的范围。
根据上述方法,结合附图对本发明做具体实施的说明。
具体实现方法如下:
风扇转速数据的搜集:
可在Linux下运行以fan_info.sh,收集结果在fan_info.txt中.
a)Fan_info.sh的代码如下
#!/bin/sh
monitor_file=”./fan_info.txt”
serviceipmistart
if[-e“$monitor_file”];
then
rm–rf$monitor_file
fi
whiletrue;do
date>>$monitor_file
ipmitoolsdr|grep–ifan>>$monitor_file
sleep10
done
b)运行fan_info脚本,开始收集fanspeed数据
./fan_info
RAID性能进行实时收集:
a)gfio可以实时显示FIO性能的图形界面,fio2.1以后的版本都集成了fio的GTK前端。在运行fio之前,首先要对gfio进行配置:
tarxvffio-2.1.10.tar.gz#解压源码包
cdfio-2.1.10/#进入解压包
installpkg-configgtk+-2.0libaio-dev#安装依赖包
./configure--enable-gfio#开启开启gfio
makefio#编译fio
makegfio#编译gfio
./fio–S#启动server模式
b)为了简化测试,需要编写号FIO测试的脚本。针对小容量(≤1T)RAID的I/O性能我们主要关注randread/write-4k的iops值。Randread-4k和randwrite-4k的脚本如下
#ConfigFileforrandread-4k
[global]
ioengine=libaio
direct=1
iodepth=20
rw=randread
bs=4k
loops=10
runtime=1800#运行时间
filename=/dev/sdx#运行FIO的硬盘名称
size=50g
#ConfigFileforrandwrite-4k
[global]
ioengine=libaio
direct=1
iodepth=20
rw=randwrite
bs=4k
loops=10
runtime=1800
[/dev/sda]
filename=/dev/sdx
size=50g
c)运行fio测试,开始搜集FIO性能数据
./fiorandwrite-4k
./fiorandread-4k
对比分析风扇转速和RAIDFIO性能的关系。
对比风扇在某一转速下,RAID的I/O性能的值与变化趋势。按照以下标准判断RAID能承受的最大风扇转速,因为风扇转速越高,震动越大,越影响硬盘/RAID的性能,测试结果有硬盘的IOPS吞吐量来决定,被测目标RAID的IOPS与基准值相比必须满足SATAHDDRAID>80%-85%硬盘单体基准值,通过对比风扇转速变化图和FIO的BW和IOPS值的变化图,得出RAID所能承受最大风扇转速的基本范围。
选取某款硬盘两块,组RAID1,按照以上方法进行FIO测试,Fanspeed和RAID1FIO的实时数据Fanspeed和RAID1FIO的实时数据对比可以参照图2,风扇转速变化可参看图1,分析得出fanspeed≥10000rmp时,RAID1的FIO下降到标准值以下,表明fanspeed在10000转以上时,RAID值受到的RV值超标,导致性能下降,参见图4。针对分析结果,可以对风扇进行减震处理,如添加减震片或改进风扇固定方式的方法来进行减震。进行减震处理后,在得出RAID可承受的风扇转速最大值的基础上,每提升1000rmp,进行一次20min的fio性能测试,如此往复,直至风扇转速到达服务器要求的最大转速,而此状态下的Fio仍高于或等于标准值,则可认为风扇减震方案有效。参见图3,在减震方案优化前,FIO的性能值在10000rmp时下降到标准值,该硬盘的标准值未iop=400iops以下。通过减震优化方案的实施,即使在高风扇转速的震动下,有RAID的I/O性能仍得到有效提高,证明该减震优化方案有效。
Claims (3)
1.一种风扇震动对RAID性能影响的分析方法,其特征是
利用ipmitool对服务器的风扇转速数据进行实时搜集,同时FIO搭配GFIO对服务器的RAID性能进行实时收集;
对比分析风扇转速和RAIDFIO性能的关系,对比风扇在某一转速下,RAID的I/O性能的值与变化趋势,判断RAID能承受的最大风扇转速范围。
2.根据权利要求1所述的一种风扇震动对RAID性能影响的分析方法,其特征是所述判断RAID能承受的最大风扇转速范围,根据被测目标RAID的IOPS吞吐量与基准值相比满足SATAHDDRAID>80%-85%硬盘单体基准值,再由对比风扇转速变化图和FIO的BW和IOPS值的变化图,确定RAID所能承受最大风扇转速的范围。
3.根据权利要求1或2所述的一种风扇震动对RAID性能影响的分析方法,其特征是所述利用ipmitool在Linux下对服务器的风扇转速数据进行实时搜集,主要代码如下:
#!/bin/sh
monitor_file=”./fan_info.txt”
serviceipmistart
if[-e“$monitor_file”];
then
rm–rf$monitor_file
fi
whiletrue;do
date>>$monitor_file
ipmitoolsdr|grep–ifan>>$monitor_file
sleep10
done
b)运行fan_info脚本,开始收集fanspeed数据
./fan_info
收集结果在fan_info.txt中。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510767272.9A CN105446658A (zh) | 2015-11-10 | 2015-11-10 | 一种风扇震动对raid性能影响的分析方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510767272.9A CN105446658A (zh) | 2015-11-10 | 2015-11-10 | 一种风扇震动对raid性能影响的分析方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105446658A true CN105446658A (zh) | 2016-03-30 |
Family
ID=55556918
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510767272.9A Pending CN105446658A (zh) | 2015-11-10 | 2015-11-10 | 一种风扇震动对raid性能影响的分析方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105446658A (zh) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106776254A (zh) * | 2016-12-09 | 2017-05-31 | 郑州云海信息技术有限公司 | 一种评估机柜振动对硬盘性能影响的自动化测试方法 |
CN109614306A (zh) * | 2018-12-12 | 2019-04-12 | 广东浪潮大数据研究有限公司 | 硬盘性能检测方法、装置、设备及计算机可读存储介质 |
US10754400B2 (en) | 2018-08-17 | 2020-08-25 | Wiwynn Corporation | Control method for data storage system, data storage module, and computer program product |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102797693A (zh) * | 2012-06-29 | 2012-11-28 | 浪潮电子信息产业股份有限公司 | 一种系统风扇调速功能的测试方法 |
US8462459B1 (en) * | 2012-03-19 | 2013-06-11 | Wistron Corp. | Method and system for determining relationship between hard disk drive throughput and vibration source |
CN104484254A (zh) * | 2014-12-30 | 2015-04-01 | 浪潮电子信息产业股份有限公司 | 一种测试高密度机柜内部震动对io性能影响的方法 |
CN104636225A (zh) * | 2015-03-05 | 2015-05-20 | 浪潮电子信息产业股份有限公司 | 一种评估服务器自身振动对磁盘性能影响的方法 |
-
2015
- 2015-11-10 CN CN201510767272.9A patent/CN105446658A/zh active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8462459B1 (en) * | 2012-03-19 | 2013-06-11 | Wistron Corp. | Method and system for determining relationship between hard disk drive throughput and vibration source |
CN102797693A (zh) * | 2012-06-29 | 2012-11-28 | 浪潮电子信息产业股份有限公司 | 一种系统风扇调速功能的测试方法 |
CN104484254A (zh) * | 2014-12-30 | 2015-04-01 | 浪潮电子信息产业股份有限公司 | 一种测试高密度机柜内部震动对io性能影响的方法 |
CN104636225A (zh) * | 2015-03-05 | 2015-05-20 | 浪潮电子信息产业股份有限公司 | 一种评估服务器自身振动对磁盘性能影响的方法 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106776254A (zh) * | 2016-12-09 | 2017-05-31 | 郑州云海信息技术有限公司 | 一种评估机柜振动对硬盘性能影响的自动化测试方法 |
US10754400B2 (en) | 2018-08-17 | 2020-08-25 | Wiwynn Corporation | Control method for data storage system, data storage module, and computer program product |
CN109614306A (zh) * | 2018-12-12 | 2019-04-12 | 广东浪潮大数据研究有限公司 | 硬盘性能检测方法、装置、设备及计算机可读存储介质 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Xu et al. | Performance analysis of NVMe SSDs and their implication on real world databases | |
US8566483B1 (en) | Measuring data access activity | |
TWI410864B (zh) | 在一處理環境中控制指令執行 | |
Ahmad | Easy and efficient disk I/O workload characterization in VMware ESX server | |
CN102147708B (zh) | 一种磁盘检测方法及装置 | |
US20170177275A1 (en) | Tracking pipelined activity during off-core memory accesses to evaluate the impact of processor core frequency changes | |
US8887139B2 (en) | Virtual system and method of analyzing operation of virtual system | |
CN104660471A (zh) | 一种Linux下自动测试PCIE-SSD传输速率和带宽的方法 | |
CN105446658A (zh) | 一种风扇震动对raid性能影响的分析方法 | |
Wu et al. | Proactive data migration for improved storage availability in large-scale data centers | |
CN106502861A (zh) | 一种穿透raid卡读取硬盘smart信息的方法 | |
CN103984613A (zh) | 一种自动测试cpu浮点运算性能测试方法 | |
CN1896963A (zh) | 硬盘装置损坏监测方法及系统 | |
CN104598273A (zh) | 一种整机specpower优化及测试方法 | |
WO2023050671A1 (zh) | 服务器故障定位方法、装置、电子设备及存储介质 | |
CN108304306A (zh) | 一种基于blktrace的磁盘I/O性能故障定位分析方法 | |
CN102141949A (zh) | 一种快速检测sata硬盘坏扇区的方法 | |
CN104637498B (zh) | 一种测试系统级震动对硬盘性能影响的方法 | |
CN104765668A (zh) | 一种验证nfs服务器稳定性的方法 | |
CN108052441A (zh) | 一种硬盘效能状态的测试方法、系统、装置及存储介质 | |
Chen et al. | Towards efficient NVDIMM-based heterogeneous storage hierarchy management for big data workloads | |
US10002062B2 (en) | Quasi disk drive for testing disk interface performance | |
Chen et al. | HA-CSD: Host and SSD Coordinated Compression for Capacity and Performance | |
CN112463503B (zh) | 一种arm架构整机服务器散热能力的测试方法及系统 | |
CN102662457A (zh) | 一种减小服务器共振方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160330 |