Reducing Cache Conflicts by Multi-Level Cache Partitioning and Array Elements Mapping
碩士 === 國立中央大學 === 資訊工程研究所 === 87 === This paper presents an algorithm to reduce cache conflicts and improve cache localities. The proposed algorithm analyzes the reference pattern of innermost loop, partitions the multi-level cache into several parts with...
Main Authors: | , |
---|---|
Other Authors: | |
Format: | Others |
Language: | zh-TW |
Published: |
1999
|
Online Access: | http://ndltd.ncl.edu.tw/handle/57932239567867333952 |
id |
ndltd-TW-087NCU00392006 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-TW-087NCU003920062016-07-11T04:13:52Z http://ndltd.ncl.edu.tw/handle/57932239567867333952 Reducing Cache Conflicts by Multi-Level Cache Partitioning and Array Elements Mapping 以快取記憶體分割及陣列映射來減少快取記憶體之碰撞 Hsi-Chiuen Chen 陳熙君 碩士 國立中央大學 資訊工程研究所 87 This paper presents an algorithm to reduce cache conflicts and improve cache localities. The proposed algorithm analyzes the reference pattern of innermost loop, partitions the multi-level cache into several parts with different size, and then maps array data onto the scheduled cache positions such that cache conflicts can be eliminated. To reduce the memory overhead for mapping arrays onto partitioned cache, methods for array redeclaration and program transformation are also developed. Besides, we combine the loop tiling and the proposed schemes to improve the cache performance for those programs that the amount of accessing elements of innermost loop is larger than cache partitioned size. The developed scheme can be applied to arbitrary loops programs whose array accessing functions are affine. To demonstrate that our approach is effective at reducing number of cache conflicts and exploiting cache localities, we use Atom as tool to simulate the behavior of direct-mapped cache. Experimental results show that applying our cache partition scheme can largely reduce the cache conflicts and thus save program execution time in both one-level cache and multi-level cache hierarchies. Jang-Ping Sheu Yu-Chee Tseng 許健平 曾煜棋 1999 學位論文 ; thesis 32 zh-TW |
collection |
NDLTD |
language |
zh-TW |
format |
Others
|
sources |
NDLTD |
description |
碩士 === 國立中央大學 === 資訊工程研究所 === 87 === This paper presents an algorithm to reduce cache conflicts and improve
cache localities. The proposed algorithm analyzes the reference pattern of
innermost loop, partitions the multi-level cache into several parts with
different size, and then maps array data onto the scheduled cache positions
such that cache conflicts can be eliminated. To reduce the memory overhead for
mapping arrays onto partitioned cache, methods for array redeclaration and
program transformation are also developed. Besides, we combine the loop tiling
and the proposed schemes to improve the cache performance for those programs
that the amount of accessing elements of innermost loop is larger than cache
partitioned size. The developed scheme can be applied to arbitrary loops
programs whose array accessing functions are affine. To demonstrate that our
approach is effective at reducing number of cache conflicts and exploiting
cache localities, we use Atom as
tool to simulate the
behavior of direct-mapped cache. Experimental results show
that applying our cache partition scheme can largely reduce the cache
conflicts and thus save program execution time in both one-level cache
and multi-level cache hierarchies.
|
author2 |
Jang-Ping Sheu |
author_facet |
Jang-Ping Sheu Hsi-Chiuen Chen 陳熙君 |
author |
Hsi-Chiuen Chen 陳熙君 |
spellingShingle |
Hsi-Chiuen Chen 陳熙君 Reducing Cache Conflicts by Multi-Level Cache Partitioning and Array Elements Mapping |
author_sort |
Hsi-Chiuen Chen |
title |
Reducing Cache Conflicts by Multi-Level Cache Partitioning and Array Elements Mapping |
title_short |
Reducing Cache Conflicts by Multi-Level Cache Partitioning and Array Elements Mapping |
title_full |
Reducing Cache Conflicts by Multi-Level Cache Partitioning and Array Elements Mapping |
title_fullStr |
Reducing Cache Conflicts by Multi-Level Cache Partitioning and Array Elements Mapping |
title_full_unstemmed |
Reducing Cache Conflicts by Multi-Level Cache Partitioning and Array Elements Mapping |
title_sort |
reducing cache conflicts by multi-level cache partitioning and array elements mapping |
publishDate |
1999 |
url |
http://ndltd.ncl.edu.tw/handle/57932239567867333952 |
work_keys_str_mv |
AT hsichiuenchen reducingcacheconflictsbymultilevelcachepartitioningandarrayelementsmapping AT chénxījūn reducingcacheconflictsbymultilevelcachepartitioningandarrayelementsmapping AT hsichiuenchen yǐkuàiqǔjìyìtǐfēngējízhènlièyìngshèláijiǎnshǎokuàiqǔjìyìtǐzhīpèngzhuàng AT chénxījūn yǐkuàiqǔjìyìtǐfēngējízhènlièyìngshèláijiǎnshǎokuàiqǔjìyìtǐzhīpèngzhuàng |
_version_ |
1718344134960349184 |