基于iSCSI協(xié)議的虛擬磁盤的設(shè)計(jì)與實(shí)現(xiàn)
本文選題:虛擬塊設(shè)備 切入點(diǎn):自動(dòng)精簡配置 出處:《華中科技大學(xué)》2013年碩士論文 論文類型:學(xué)位論文
【摘要】:在基于iSCSI協(xié)議的分級(jí)存儲(chǔ)系統(tǒng)中,客戶端對(duì)存儲(chǔ)資源的多次請(qǐng)求會(huì)在本地創(chuàng)建多個(gè)邏輯卷,熱點(diǎn)數(shù)據(jù)的持續(xù)遷移也會(huì)產(chǎn)生越來越多的存儲(chǔ)碎片,這將增大系統(tǒng)的管理難度,可靠性也隨之降低,F(xiàn)有的客戶端虛擬設(shè)備管理方法大多采用資源預(yù)留和靜態(tài)分配策略,存儲(chǔ)設(shè)備利用率很低,為了滿足系統(tǒng)需求并實(shí)現(xiàn)存儲(chǔ)資源的自動(dòng)精簡配置必須開發(fā)新的虛擬磁盤控制器。 虛擬磁盤控制器通過位于塊設(shè)備驅(qū)動(dòng)層的虛擬設(shè)備映射模塊實(shí)現(xiàn),將各邏輯卷組織成一個(gè)統(tǒng)一的邏輯存儲(chǔ)單元提供給文件系統(tǒng)使用,管理由于數(shù)據(jù)遷移產(chǎn)生的存儲(chǔ)碎片;采用動(dòng)態(tài)地址映射技術(shù)管理虛擬設(shè)備和通過iSCSI協(xié)議連接到本地的物理設(shè)備之間的映射關(guān)系,只有實(shí)際請(qǐng)求發(fā)生時(shí)才為虛擬塊設(shè)備分配物理資源,從而實(shí)現(xiàn)自動(dòng)精簡配置;考慮到虛擬設(shè)備在重定向讀寫請(qǐng)求時(shí)需要頻繁的讀取映射表項(xiàng),在查找過程中采用B-樹算法來提高速率;虛擬設(shè)備映射模塊中加入緩存并合并I/O操作的調(diào)度層,合并重定向到同一物理設(shè)備上相鄰的讀寫操作,提高隨機(jī)讀寫模式下虛擬磁盤的吞吐率。 基于iSCSI協(xié)議實(shí)現(xiàn)了原型系統(tǒng),測(cè)試表明,虛擬設(shè)備實(shí)現(xiàn)了統(tǒng)一管理邏輯卷和動(dòng)態(tài)分配存儲(chǔ)資源的功能;結(jié)果表明,順序讀寫模式下性能基本無影響;隨機(jī)讀寫模式下,本地虛擬磁盤的吞吐率提高了9%,網(wǎng)絡(luò)虛擬磁盤吞吐率降低了11%。因此,虛擬磁盤能夠在部分輕微犧牲系統(tǒng)性能的前提下提供所需功能。
[Abstract]:In the hierarchical storage system based on iSCSI protocol, multiple requests for storage resources by the client side will create multiple logical volumes locally, and the continuous migration of hot data will also produce more and more storage fragments, which will increase the management difficulty of the system. Most of the existing methods of client virtual device management adopt resource reservation and static allocation strategy, and the utilization of storage device is very low. A new virtual disk controller must be developed in order to meet the requirements of the system and realize the automatic configuration of storage resources. The virtual disk controller is implemented by the virtual device mapping module located in the block device driver layer. Each logical volume is organized into a unified logical storage unit to provide the file system for use, and the storage fragments caused by the data migration are managed. Dynamic address mapping technology is used to manage the mapping relationship between virtual devices and physical devices connected to local devices through iSCSI protocol. Only when the actual requests occur, physical resources are allocated for virtual block devices, so that the configuration can be reduced automatically. Considering that the virtual device needs to read the mapping table items frequently when it redirects the read and write request, the B- tree algorithm is used to improve the speed in the lookup process, and the scheduling layer of caching and merging I / O operations is added to the virtual device mapping module. Combined redirection to adjacent read and write operations on the same physical device to improve the throughput of virtual disks in random read and write mode. The prototype system is implemented based on iSCSI protocol. The test results show that the virtual device realizes the functions of unified management of logical volumes and dynamic allocation of storage resources. The throughput of the local virtual disk has increased by 9%, and the throughput of the network virtual disk has been reduced by 11%. Therefore, the virtual disk can provide the required function at the slight expense of system performance.
【學(xué)位授予單位】:華中科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2013
【分類號(hào)】:TP333.3
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 肖健宇;基于IP的存儲(chǔ)網(wǎng)技術(shù)[J];電信快報(bào);2002年03期
2 邱紅飛;;存儲(chǔ)的自動(dòng)精簡配置技術(shù)應(yīng)用研究[J];電信科學(xué);2010年11期
3 張菁;任怡;廖湘科;;多級(jí)存儲(chǔ)數(shù)據(jù)價(jià)值評(píng)定研究[J];計(jì)算機(jī)研究與發(fā)展;2012年S1期
4 余勝生,楊光,周敬利,曾東;基于iSCSI的網(wǎng)絡(luò)級(jí)存儲(chǔ)虛擬化研究及實(shí)現(xiàn)[J];計(jì)算機(jī)工程與應(yīng)用;2004年14期
5 王張宜,李波,張煥國;Hash函數(shù)的安全性研究[J];計(jì)算機(jī)工程與應(yīng)用;2005年12期
6 韋理;周悅芝;夏楠;;用于網(wǎng)絡(luò)存儲(chǔ)系統(tǒng)的存儲(chǔ)空間動(dòng)態(tài)分配方法[J];計(jì)算機(jī)工程;2008年05期
7 柯劍;朱旭東;那文武;許魯;;動(dòng)態(tài)地址映射虛擬存儲(chǔ)系統(tǒng)[J];計(jì)算機(jī)工程;2009年16期
8 呂帥;劉光明;徐凱;劉欣;;海量信息分級(jí)存儲(chǔ)數(shù)據(jù)遷移策略研究[J];計(jì)算機(jī)工程與科學(xué);2009年S1期
9 劉心松,邱元杰,楊鋒;Linux下RPC的分析及改進(jìn)[J];小型微型計(jì)算機(jī)系統(tǒng);2001年07期
10 馮丹;;網(wǎng)絡(luò)存儲(chǔ)關(guān)鍵技術(shù)的研究及進(jìn)展[J];移動(dòng)通信;2009年11期
,本文編號(hào):1628424
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1628424.html