NUMA架構內多個節(jié)點間訪存延時平衡的內存分配策略
發(fā)布時間:2018-03-11 09:21
本文選題:NUMA架構 切入點:內存分配策略 出處:《計算機學報》2017年09期 論文類型:期刊論文
【摘要】:隨著多核架構的發(fā)展和普及,NUMA多核架構憑借其本地訪存低延時的優(yōu)勢,被各大商業(yè)數(shù)據(jù)中心以及科學計算集群廣泛采用.NUMA架構通過增加多個內存控制器,緩解了多核架構下對同一個內存控制器的爭用問題,但同時也增加了內存管理的負擔.Linux的系統(tǒng)開發(fā)者為了實現(xiàn)充分利用NUMA本地訪存低延時的特點,在為進程分配內存時,選擇進程當前正在運行的NUMA節(jié)點作為分配內存的目標節(jié)點.這種分配會導致進/線程之間共享內存的不公平.例如,一個在當前本地節(jié)點被分配很多內存的進程,可能被調度到遠端節(jié)點運行,這樣會導致進程的性能波動.針對這一問題,該文設計了一種保證NUMA架構內各內存節(jié)點間訪存延時平衡的內存分配策略,并在Linux系統(tǒng)中實現(xiàn)和驗證.延時的獲取方法依賴平臺,但是系統(tǒng)內核的策略是通用的.實驗結果表明,與Linux默認的內存分配策略相比,進/線程間的不公平性平均降低了16%(最多34%),并且各進/線程的性能沒有較大抖動.
[Abstract]:With the development of multi-core architecture and the popularization of Numa multi-core architecture, with the advantage of local access and low latency, it has been widely used in various commercial data centers and scientific computing clusters by adding multiple memory controllers. It alleviates the contention for the same memory controller under the multi-core architecture, but also increases the burden of memory management. In order to make full use of the low latency of local memory access of NUMA, the system developer allocates memory for the process. Select the NUMA node currently running by the process as the target node for allocating memory. This allocation can result in an unfair sharing of memory between threads. For example, a process where a large amount of memory is allocated at the current local node, This paper proposes a memory allocation strategy to ensure the balance of memory access delay between memory nodes in NUMA architecture. It is implemented and verified in Linux system. The method of obtaining delay depends on platform, but the strategy of system kernel is universal. The experimental results show that compared with the default memory allocation strategy of Linux, the method of obtaining delay depends on the platform. On average, the inequity between feed / thread reduces 16% (up to 34%), and the performance of each entry / thread has no significant jitter.
【作者單位】: 北京航空航天大學計算機學院中德聯(lián)合軟件研究所;
【基金】:國家“八六三”高技術研究發(fā)展計劃項目基金(2012AA01A302) 國家自然科學基金(61133004,61361126011,61502019,91530324)資助~~
【分類號】:TP333.1
【相似文獻】
相關期刊論文 前10條
1 肖濟楷;386/486微機在系統(tǒng)優(yōu)化中的內存處理技術[J];武漢鋼鐵學院學報;1995年02期
2 周賓;章勇;;嵌入式Web訪問時的內存丟失問題[J];單片機與嵌入式系統(tǒng)應用;2009年10期
3 邵剛;使自己的應用程序有“用不完”的內存(二)[J];電子與電腦;1996年02期
4 盧春鵬;一種嵌入式系統(tǒng)的內存分配方案[J];單片機與嵌入式系統(tǒng)應用;2002年12期
5 靳廣斌,曹煥林;內存的利用和優(yōu)化以及系統(tǒng)的典型配置[J];電力學報;1995年03期
6 謝曉恒,李衛(wèi)華;利用擴充內存實現(xiàn)多幅圖象的快速存儲[J];計算機應用研究;1997年02期
7 王路群;;微機內存的綜合管理[J];成才;1997年01期
8 程小輝;何軍權;梁啟亮;黃佳歡;顧俊杰;;基于預測原理的嵌入式內存分配算法設計[J];計算機工程與設計;2014年09期
9 薛靜鋒;胡昌振;郭曉靜;冷冰p,
本文編號:1597545
本文鏈接:http://www.sikaile.net/kejilunwen/jisuanjikexuelunwen/1597545.html
最近更新
教材專著