面向高性能應用的PCIE SSD的驅(qū)動研究與實現(xiàn)
發(fā)布時間:2018-09-01 13:18
【摘要】:隨著大數(shù)據(jù)時代的到來,企業(yè)和用戶對存儲領(lǐng)域的需求呈現(xiàn)爆炸式增長。當前數(shù)據(jù)已經(jīng)成為企業(yè)的核心資源,因此對數(shù)據(jù)存儲的安全性和可靠性也提出了更高要求。這些技術(shù)從軟件或硬件等不同層面共同推動了存儲領(lǐng)域的發(fā)展,也對傳統(tǒng)的存儲體系結(jié)構(gòu)形成了沖擊,從而為相關(guān)的研究提供了廣闊的空間。 為了滿足數(shù)據(jù)密集型海量存儲系統(tǒng)的應用需求,進一步提高存儲系統(tǒng)的帶寬,目前已經(jīng)研發(fā)出了基于PCIe接口的SSD。本文針對自主研制的PCIe SSD設備,設計實現(xiàn)了分層驅(qū)動程序。通過兩層驅(qū)動的配合,正確將PCIe SSD掛載為系統(tǒng)中磁盤,并且有效提高了系統(tǒng)帶寬和空間利用率。本文主要工作有以下幾個方面: 1)設計并實現(xiàn)了PCIe SSD的Windows驅(qū)動,包括研究Windows操作系統(tǒng)存儲驅(qū)動棧的工作原理、WDM驅(qū)動框架工作機制。整個驅(qū)動采用了分層框架,上層驅(qū)動將硬件設備正確注冊為Windows操作系統(tǒng)中的磁盤設備,采取了與傳統(tǒng)驅(qū)動設計不同的通路,降低了協(xié)議轉(zhuǎn)換的開銷;下層驅(qū)動中采用了請求隊列、中斷聚合、請求TAG寄存器技術(shù)以處理并發(fā)亂序請求。通過兩層驅(qū)動協(xié)作,共同提高系統(tǒng)性能。 2)提出了面向大容量FTL的閃存轉(zhuǎn)換層機制,制定了基于進程的塊分配策略。實驗證明:在驅(qū)動層實現(xiàn)FTL可以有效利用主機的大內(nèi)存空間,基于進程的塊分配策略可以更加有效地管理閃存,提高垃圾回收的效率和閃存的性能。 3)在驅(qū)動層中采用了緩存策略,有效解決了文件系統(tǒng)與磁盤設備讀寫粒度不同的矛盾,進一步減少了閃存的擦除次數(shù),提高了響應速度和垃圾回收的性能。 4)研究了高速傳輸?shù)南嚓P(guān)機制,采用了請求隊列、中斷聚合、請求TAG寄存器技術(shù)以處理并發(fā)亂序請求。充分利用了PCIe接口的高速帶寬,,減少了系統(tǒng)響應中斷的次數(shù),并且使亂序處理情況下的各請求得到了正確響應。
[Abstract]:With the arrival of big data era, the demand of enterprises and users for storage field presents explosive growth. At present, data has become the core resource of enterprises, so the security and reliability of data storage are also required. These technologies promote the development of storage field from different aspects such as software or hardware, and also impact the traditional storage architecture, thus providing a broad space for related research. In order to meet the application requirements of data intensive mass storage system and further improve the bandwidth of storage system, a SSD. based on PCIe interface has been developed. In this paper, a layered driver is designed and implemented for the self-developed PCIe SSD device. Through the cooperation of two layers drive, the PCIe SSD is mounted as the disk of the system correctly, and the system bandwidth and space utilization are improved effectively. The main work of this paper is as follows: 1) the Windows driver of PCIe SSD is designed and implemented, including the working principle of the storage driver stack of Windows operating system and the working mechanism of Windows driver framework. The whole driver adopts a layered framework, the upper driver registers the hardware device as the disk device in Windows operating system correctly, and adopts a different path from the traditional driver design, which reduces the overhead of protocol conversion. In the lower driver, request queue, interrupt aggregation and request TAG register technology are used to deal with concurrent disordered requests. Through two-layer driven collaboration, the system performance is improved. 2) A flash memory conversion layer mechanism for large capacity FTL is proposed, and a process-based block allocation strategy is proposed. Experiments show that the implementation of FTL in the driver layer can effectively utilize the large memory space of the host, and the block allocation strategy based on process can manage flash memory more effectively. Improve the efficiency of garbage collection and the performance of flash memory. 3) the buffer strategy is adopted in the driver layer, which effectively solves the conflict between file system and disk device in reading and writing granularity, and further reduces the erasure times of flash memory. The response speed and the performance of garbage collection are improved. 4) the related mechanism of high speed transmission is studied. Request queue, interrupt aggregation and request TAG register technology are used to deal with concurrent out-of-order requests. The high speed bandwidth of the PCIe interface is fully utilized to reduce the number of interruptions in the system response, and the requests in the case of chaotic processing are correctly responded to.
【學位授予單位】:國防科學技術(shù)大學
【學位級別】:碩士
【學位授予年份】:2012
【分類號】:TP333;TP309
本文編號:2217321
[Abstract]:With the arrival of big data era, the demand of enterprises and users for storage field presents explosive growth. At present, data has become the core resource of enterprises, so the security and reliability of data storage are also required. These technologies promote the development of storage field from different aspects such as software or hardware, and also impact the traditional storage architecture, thus providing a broad space for related research. In order to meet the application requirements of data intensive mass storage system and further improve the bandwidth of storage system, a SSD. based on PCIe interface has been developed. In this paper, a layered driver is designed and implemented for the self-developed PCIe SSD device. Through the cooperation of two layers drive, the PCIe SSD is mounted as the disk of the system correctly, and the system bandwidth and space utilization are improved effectively. The main work of this paper is as follows: 1) the Windows driver of PCIe SSD is designed and implemented, including the working principle of the storage driver stack of Windows operating system and the working mechanism of Windows driver framework. The whole driver adopts a layered framework, the upper driver registers the hardware device as the disk device in Windows operating system correctly, and adopts a different path from the traditional driver design, which reduces the overhead of protocol conversion. In the lower driver, request queue, interrupt aggregation and request TAG register technology are used to deal with concurrent disordered requests. Through two-layer driven collaboration, the system performance is improved. 2) A flash memory conversion layer mechanism for large capacity FTL is proposed, and a process-based block allocation strategy is proposed. Experiments show that the implementation of FTL in the driver layer can effectively utilize the large memory space of the host, and the block allocation strategy based on process can manage flash memory more effectively. Improve the efficiency of garbage collection and the performance of flash memory. 3) the buffer strategy is adopted in the driver layer, which effectively solves the conflict between file system and disk device in reading and writing granularity, and further reduces the erasure times of flash memory. The response speed and the performance of garbage collection are improved. 4) the related mechanism of high speed transmission is studied. Request queue, interrupt aggregation and request TAG register technology are used to deal with concurrent out-of-order requests. The high speed bandwidth of the PCIe interface is fully utilized to reduce the number of interruptions in the system response, and the requests in the case of chaotic processing are correctly responded to.
【學位授予單位】:國防科學技術(shù)大學
【學位級別】:碩士
【學位授予年份】:2012
【分類號】:TP333;TP309
【參考文獻】
相關(guān)期刊論文 前2條
1 徐小玲;IDE接口硬盤讀寫技術(shù)[J];電子科技大學學報;2002年06期
2 鄭文靜;李明強;舒繼武;;Flash存儲技術(shù)[J];計算機研究與發(fā)展;2010年04期
本文編號:2217321
本文鏈接:http://www.sikaile.net/kejilunwen/jisuanjikexuelunwen/2217321.html
最近更新
教材專著