应用科学学报
應用科學學報
응용과학학보
JOURNAL OF APPLIED SCIENCES
2009年
6期
623-629
,共7页
高速缓存%替换策略%嵌入式应用%软件可控
高速緩存%替換策略%嵌入式應用%軟件可控
고속완존%체환책략%감입식응용%연건가공
cache%replacement strategies%embedded systems%software-controllable
仅由硬件控制的传统替换策略严重限制了高速缓存(cache)性能的提高.该文提出一种面向嵌入式应用的软件可控cache的实现方法.在传统结构上增加一个软件控制器,根据软件配置实现如下3种操作:对于访问开销大且生命期分布均匀的数据在cache中保留副本;对造成cache预取效率下降的数据由处理器直接与外存通信;对某一时刻被频繁访问的数据在其有效生命期内优先停留在cache中.实验结果表明,对于数据指令统一cache,系统整体性能的提升可达11%,同时总线占用率减少28%左右.
僅由硬件控製的傳統替換策略嚴重限製瞭高速緩存(cache)性能的提高.該文提齣一種麵嚮嵌入式應用的軟件可控cache的實現方法.在傳統結構上增加一箇軟件控製器,根據軟件配置實現如下3種操作:對于訪問開銷大且生命期分佈均勻的數據在cache中保留副本;對造成cache預取效率下降的數據由處理器直接與外存通信;對某一時刻被頻繁訪問的數據在其有效生命期內優先停留在cache中.實驗結果錶明,對于數據指令統一cache,繫統整體性能的提升可達11%,同時總線佔用率減少28%左右.
부유경건공제적전통체환책략엄중한제료고속완존(cache)성능적제고.해문제출일충면향감입식응용적연건가공cache적실현방법.재전통결구상증가일개연건공제기,근거연건배치실현여하3충조작:대우방문개소대차생명기분포균균적수거재cache중보류부본;대조성cache예취효솔하강적수거유처리기직접여외존통신;대모일시각피빈번방문적수거재기유효생명기내우선정류재cache중.실험결과표명,대우수거지령통일cache,계통정체성능적제승가체11%,동시총선점용솔감소28%좌우.
Recent researches show that traditional hardware-only cache replacement strategies seriously hamper the improvement of cache performance. This paper proposes a novel scheme of software-controllable cache for embedded systems. In this scheme, a software-controller module is added to the traditional architecture to implement the following three operations controlled by software: For data that incur heavy access cost and have a wide activity space, a copy is retained in the cache. Data that cause a drop in the cache pre-fetching temporal locality are directly exchanged between the processor and the external memory. Data with less access cost and a narrow activity space preferentially remain in the cache during activities. Simulation results show that the proposed approach can improve the system performance by 11% and reduce bus occupancy by 28%.