藉由適合的神經網路來預測固態硬碟的資料拿取
SSD Data Access Prediction using Adaptive Neural Network
摘要
隨著大數據以及深度學習希望的發展,一個有效率的儲存系統就變得相當重要,這是因為我們所會使用到的資料越來越大,那麼這時有效的硬碟使用以及較快的讀寫速度對於使用者來說,就是一個重要的需求。最近幾年中,許多研究者使用深度學習的方法在軟體的領域獲得了卓越的成功,然而,卻鮮少有人試著使用深度學習的方法去優化硬體效能。
因此,在本篇論文中,我們將使用深度學習的演算法,去改善我們使用固態硬碟的效率以及提升其讀寫速度。我們著重在兩個不同的面相來題性固態硬碟的性能,第一個面向是區分資料是所謂的熱資料或是冷資料,有了這樣的資訊後我們就可以憑藉著它來對有限的資源做出較佳的分配,較佳的分配會使固態應得的壽命變長,此外,也能加快讀取速度。第二個面向則相對容易理解,我們想要去預測我們在固態硬碟中會拿取的下一筆資料,並且預先把該資料拿到高速緩存器中,如此一來,就可以有效的節省下資料搬運的時間並增加讀取速度。
對於第一個方向,我們使用一個具有時間特性的神經網路處理,在冷熱資料的預測上得到了93.5%的準確度,由於這個準確度,我們將固態硬碟的壽命提升了2431個週期並將寫入速度加速了33.1MB/s。對於第二個面向,我們提出了一個三通道式的網路並模擬高速緩存的機制去猜測下一個資料位置。在這個面向中,藉由我們的網路可以提升156.98MB/s的讀取速度,由以上的數據可以得知我們的網路在提升硬體效能上有著突出的成果,在實驗結果的部分,我們將模擬在固態硬碟的控制器上的表現並與傳統的高速緩存做比較。
因此,在本篇論文中,我們將使用深度學習的演算法,去改善我們使用固態硬碟的效率以及提升其讀寫速度。我們著重在兩個不同的面相來題性固態硬碟的性能,第一個面向是區分資料是所謂的熱資料或是冷資料,有了這樣的資訊後我們就可以憑藉著它來對有限的資源做出較佳的分配,較佳的分配會使固態應得的壽命變長,此外,也能加快讀取速度。第二個面向則相對容易理解,我們想要去預測我們在固態硬碟中會拿取的下一筆資料,並且預先把該資料拿到高速緩存器中,如此一來,就可以有效的節省下資料搬運的時間並增加讀取速度。
對於第一個方向,我們使用一個具有時間特性的神經網路處理,在冷熱資料的預測上得到了93.5%的準確度,由於這個準確度,我們將固態硬碟的壽命提升了2431個週期並將寫入速度加速了33.1MB/s。對於第二個面向,我們提出了一個三通道式的網路並模擬高速緩存的機制去猜測下一個資料位置。在這個面向中,藉由我們的網路可以提升156.98MB/s的讀取速度,由以上的數據可以得知我們的網路在提升硬體效能上有著突出的成果,在實驗結果的部分,我們將模擬在固態硬碟的控制器上的表現並與傳統的高速緩存做比較。
As big data analysis and deep learning have well developed, storage system is also more important. Because data that we need to deal with are bigger and bigger, efficient disk usage and faster read/write rate is significant issue for user. In recent years, learning methods have been applied in many software issues. However, learning methods on hardware issues are lightly explored.
We take advantage of deep learning algorithm to improve efficiency and speed of solid-state disk. We focus on two issues. First, we divide address of data into hot type and cold type. For different types, we can adjust priority of usage of disk to achieve optimal utility. Applicable allocation for hot/cold address increases the lifetime of SSD and better write throughput. For second issue, we predict next delta address and construct accurate and efficient address prefetchers. It is directly helpful to reduce data access time and increase read throughput.
For the former topic, we achieve about 93.5\% accuracy by time-dependent NN model. The lifetime increase 6930 cycles and write throughput increase 39.43MB/s. For the latter topic, we construct three-channels network and simulate cache mechanism to predict next delta address. In this topic, read throughput increases 156.98MB/s by our model. Our work represents learning methods work well on hardware architecture. In the experiment part, simulation results show that our proposals work better than traditional SSD.
We take advantage of deep learning algorithm to improve efficiency and speed of solid-state disk. We focus on two issues. First, we divide address of data into hot type and cold type. For different types, we can adjust priority of usage of disk to achieve optimal utility. Applicable allocation for hot/cold address increases the lifetime of SSD and better write throughput. For second issue, we predict next delta address and construct accurate and efficient address prefetchers. It is directly helpful to reduce data access time and increase read throughput.
For the former topic, we achieve about 93.5\% accuracy by time-dependent NN model. The lifetime increase 6930 cycles and write throughput increase 39.43MB/s. For the latter topic, we construct three-channels network and simulate cache mechanism to predict next delta address. In this topic, read throughput increases 156.98MB/s by our model. Our work represents learning methods work well on hardware architecture. In the experiment part, simulation results show that our proposals work better than traditional SSD.