磁盘阵列核心转储软件的研究与实现
发布时间:2018-05-30 18:01
本文选题:磁盘阵列 + 核心转储 ; 参考:《华中科技大学》2012年硕士论文
【摘要】:随着信息化建设的发展,需要存储的数据量猛增,数据中心如雨后春笋般建立。随着磁盘存储介质和阵列技术的发展,越来越多的阵列存储系统应用于数据中心。由于磁盘阵列存储系统的普及,很多企业开始研发自己的磁盘阵列软件。磁盘阵列软件功能多,代码量大,开发难度大,调试、维护和升级都很费力。需要一款专门针对磁盘阵列软件的核心转储软件,用于实时监控磁盘阵列软件的运行状态,,为调试和维护磁盘阵列软件提供帮助。 首先分析了本实验室研发的磁盘阵列控制器软件。然后针对磁盘阵列软件的结构特点,植入核心转储功能,并具有配套的转储解析程序。核心转储和转储解析程序可以完成两种功能,第一种功能是实现实时监控功能,查看某一时刻磁盘阵列软件的运行状态;第二种功能是当阵列软件运行异常时启动核心转储,将出错时的内存映像存放到转储文件中,通过解析程序把转储文件转换成调试人员可以阅读的文本文件,为调试人员定位错误提供帮助信息。并从转储时机,转储机制和转储内容三个方面描述了本软件的设计特点。 最后对磁盘阵列核心转储软件进行了功能性测试,包括实时监控测试和线程异常测试,测试结果表明核心转储软件功能正常,可以完成实时监控功能和阵列软件异常调试功能。设计中的各个转储文件和解析文件都完整生成,解析文件中的内容和格式都与设计一致。并且对植入转储和解析功能给磁盘阵列软件可能带来的负面影响进行了评估,结果表明植入核心转储功能对磁盘阵列软件的正常运行所带来的负面影响很小,在不启动转储功能时,只有转储时机检测代码占用CPU,其代码量小且定期执行,对阵列软件正常运行的影响可以忽略;转储启动到结束只需要300多ms的时间,而且阵列软件中各线程是异步运行的,各请求以队列做缓冲,所以转储功能的执行对磁盘阵列软件的影响也很小。
[Abstract]:With the development of information construction, the amount of data needed to be stored has soared, and the data center has been established. With the development of disk storage media and array technology, more and more array storage systems are used in data centers. Due to the popularity of disk array storage system, many enterprises began to develop their own disk array software. Disk array software has many functions, large amount of code, development difficulty, debugging, maintenance and upgrade are very difficult. A core dump software for disk array software is needed to monitor the running status of disk array software in real time and to provide help for debugging and maintaining disk array software. Firstly, the disk array controller software developed by our laboratory is analyzed. Then, according to the structural characteristics of the disk array software, the core dump function is implanted, and a complete dump analysis program is provided. The core dump and dump parser can perform two functions: the first is to realize the real-time monitoring function, and the second is to start the core dump when the array software is running abnormal, the first is to realize the real-time monitoring function, and the second is to check the running state of the disk array software at a certain time. The memory image of error is stored in the dump file, and the dump file is converted into a text file that can be read by the debugger through the parser, which provides help information for the debugger to locate the error. The design features of this software are described from three aspects: dump timing, dump mechanism and dump content. Finally, the core dump software of disk array is tested, including real-time monitoring test and thread exception test. The test results show that the core dump software has normal function and can complete real-time monitoring function and array software exception debugging function. All dump files and parse files in the design are generated completely, and the contents and formats of the parse files are consistent with the design. The possible negative effects of implanted dump and parsing functions on the disk array software are evaluated. The results show that the implanted core dump function has little negative effect on the normal operation of the disk array software. When the dump function is not started, only the dump time detects that the code takes up CPU, the code is small and executes regularly, and the effect on the normal operation of the array software can be ignored. Moreover, each thread runs asynchronously in array software, and each request is buffered by queue, so the execution of dump function has little effect on disk array software.
【学位授予单位】:华中科技大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP333.35
【参考文献】
相关期刊论文 前4条
1 王芳,张江陵,冯丹;面向优化内存使用的高速RAID控制器设计[J];计算机工程与应用;2003年14期
2 缪军海,朱兰娟,吴智铭;RAID中Cache的设计与实现[J];微型电脑应用;2001年04期
3 陈琼,张江陵,冯丹;一种提高磁盘阵列I/O性能的策略[J];小型微型计算机系统;2000年01期
4 付长冬,舒继武,沈美明,郑纬民;网络存储体系结构的发展和研究[J];小型微型计算机系统;2004年04期
相关硕士学位论文 前2条
1 李明;基于光纤通道的磁盘阵列系统的研究与设计[D];华中科技大学;2006年
2 步凯;基于RAID技术的固态存储阵列系统的研究与设计[D];国防科学技术大学;2008年
本文编号:1956260
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1956260.html