磁盤陣列核心轉(zhuǎn)儲(chǔ)軟件的研究與實(shí)現(xiàn)
發(fā)布時(shí)間:2018-05-30 18:01
本文選題:磁盤陣列 + 核心轉(zhuǎn)儲(chǔ) ; 參考:《華中科技大學(xué)》2012年碩士論文
【摘要】:隨著信息化建設(shè)的發(fā)展,需要存儲(chǔ)的數(shù)據(jù)量猛增,數(shù)據(jù)中心如雨后春筍般建立。隨著磁盤存儲(chǔ)介質(zhì)和陣列技術(shù)的發(fā)展,越來越多的陣列存儲(chǔ)系統(tǒng)應(yīng)用于數(shù)據(jù)中心。由于磁盤陣列存儲(chǔ)系統(tǒng)的普及,很多企業(yè)開始研發(fā)自己的磁盤陣列軟件。磁盤陣列軟件功能多,代碼量大,開發(fā)難度大,調(diào)試、維護(hù)和升級(jí)都很費(fèi)力。需要一款專門針對(duì)磁盤陣列軟件的核心轉(zhuǎn)儲(chǔ)軟件,用于實(shí)時(shí)監(jiān)控磁盤陣列軟件的運(yùn)行狀態(tài),,為調(diào)試和維護(hù)磁盤陣列軟件提供幫助。 首先分析了本實(shí)驗(yàn)室研發(fā)的磁盤陣列控制器軟件。然后針對(duì)磁盤陣列軟件的結(jié)構(gòu)特點(diǎn),植入核心轉(zhuǎn)儲(chǔ)功能,并具有配套的轉(zhuǎn)儲(chǔ)解析程序。核心轉(zhuǎn)儲(chǔ)和轉(zhuǎn)儲(chǔ)解析程序可以完成兩種功能,第一種功能是實(shí)現(xiàn)實(shí)時(shí)監(jiān)控功能,查看某一時(shí)刻磁盤陣列軟件的運(yùn)行狀態(tài);第二種功能是當(dāng)陣列軟件運(yùn)行異常時(shí)啟動(dòng)核心轉(zhuǎn)儲(chǔ),將出錯(cuò)時(shí)的內(nèi)存映像存放到轉(zhuǎn)儲(chǔ)文件中,通過解析程序把轉(zhuǎn)儲(chǔ)文件轉(zhuǎn)換成調(diào)試人員可以閱讀的文本文件,為調(diào)試人員定位錯(cuò)誤提供幫助信息。并從轉(zhuǎn)儲(chǔ)時(shí)機(jī),轉(zhuǎn)儲(chǔ)機(jī)制和轉(zhuǎn)儲(chǔ)內(nèi)容三個(gè)方面描述了本軟件的設(shè)計(jì)特點(diǎn)。 最后對(duì)磁盤陣列核心轉(zhuǎn)儲(chǔ)軟件進(jìn)行了功能性測(cè)試,包括實(shí)時(shí)監(jiān)控測(cè)試和線程異常測(cè)試,測(cè)試結(jié)果表明核心轉(zhuǎn)儲(chǔ)軟件功能正常,可以完成實(shí)時(shí)監(jiān)控功能和陣列軟件異常調(diào)試功能。設(shè)計(jì)中的各個(gè)轉(zhuǎn)儲(chǔ)文件和解析文件都完整生成,解析文件中的內(nèi)容和格式都與設(shè)計(jì)一致。并且對(duì)植入轉(zhuǎn)儲(chǔ)和解析功能給磁盤陣列軟件可能帶來的負(fù)面影響進(jìn)行了評(píng)估,結(jié)果表明植入核心轉(zhuǎn)儲(chǔ)功能對(duì)磁盤陣列軟件的正常運(yùn)行所帶來的負(fù)面影響很小,在不啟動(dòng)轉(zhuǎn)儲(chǔ)功能時(shí),只有轉(zhuǎn)儲(chǔ)時(shí)機(jī)檢測(cè)代碼占用CPU,其代碼量小且定期執(zhí)行,對(duì)陣列軟件正常運(yùn)行的影響可以忽略;轉(zhuǎn)儲(chǔ)啟動(dòng)到結(jié)束只需要300多ms的時(shí)間,而且陣列軟件中各線程是異步運(yùn)行的,各請(qǐng)求以隊(duì)列做緩沖,所以轉(zhuǎn)儲(chǔ)功能的執(zhí)行對(duì)磁盤陣列軟件的影響也很小。
[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.
【學(xué)位授予單位】:華中科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2012
【分類號(hào)】:TP333.35
【參考文獻(xiàn)】
相關(guān)期刊論文 前4條
1 王芳,張江陵,馮丹;面向優(yōu)化內(nèi)存使用的高速RAID控制器設(shè)計(jì)[J];計(jì)算機(jī)工程與應(yīng)用;2003年14期
2 繆軍海,朱蘭娟,吳智銘;RAID中Cache的設(shè)計(jì)與實(shí)現(xiàn)[J];微型電腦應(yīng)用;2001年04期
3 陳瓊,張江陵,馮丹;一種提高磁盤陣列I/O性能的策略[J];小型微型計(jì)算機(jī)系統(tǒng);2000年01期
4 付長(zhǎng)冬,舒繼武,沈美明,鄭緯民;網(wǎng)絡(luò)存儲(chǔ)體系結(jié)構(gòu)的發(fā)展和研究[J];小型微型計(jì)算機(jī)系統(tǒng);2004年04期
相關(guān)碩士學(xué)位論文 前2條
1 李明;基于光纖通道的磁盤陣列系統(tǒng)的研究與設(shè)計(jì)[D];華中科技大學(xué);2006年
2 步凱;基于RAID技術(shù)的固態(tài)存儲(chǔ)陣列系統(tǒng)的研究與設(shè)計(jì)[D];國(guó)防科學(xué)技術(shù)大學(xué);2008年
本文編號(hào):1956260
本文鏈接:http://www.sikaile.net/kejilunwen/jisuanjikexuelunwen/1956260.html
最近更新
教材專著