<link rel="stylesheet" href="styles.cf390c6bfbe7555f.css"> Skip to main content

Case studies on cache performance and optimization of programs with unit strides

dc.citation.epage172en_US
dc.citation.issue2en_US
dc.citation.spage167en_US
dc.citation.volume27en_US
dc.citation.woscount0
dc.contributor.authorWu, PCen_US
dc.contributor.authorHuang, KCen_US
dc.contributor.department交大名義發表zh_TW
dc.contributor.department資訊工程學系zh_TW
dc.contributor.departmentNational Chiao Tung Universityen_US
dc.contributor.departmentDepartment of Computer Scienceen_US
dc.date.accessioned2014-12-08T15:02:03Z
dc.date.available2014-12-08T15:02:03Z
dc.date.issued1997-02-01en_US
dc.description.abstractCache performance in modern computers is important for program efficiency. A cache is thrashing if a significant amount of time is spent moving data between the memory and the cache. This paper presents two cache thrashing examples, one in scientific computing and one in image processing, both of which involve several one-dimensional arrays that are accessed sequentially, i.e., with unit strides. Accessing arrays in unit strides was considered very efficient on cache-based computer systems. However, the existence of cache thrashing is demonstrated by significant increases in computing speed in the equivalent programs tuned for cache locality. This shows that accessing several arrays sequentially may cause cache thrashing. Thus, to improve cache performance, it is important that the compiler or the programmer takes all arrays inside a loop into consideration. (C) 1997 by John Wiley & Sons, Ltd.en_US
dc.identifier.issn0038-0644en_US
dc.identifier.journalSOFTWARE-PRACTICE & EXPERIENCEen_US
dc.identifier.urihttps://ir.lib.nycu.edu.tw/handle/11536/768
dc.identifier.wosnumberWOS:A1997WG89400004
dc.language.isoen_USen_US
dc.subjectcomputer architectureen_US
dc.subjectcache performanceen_US
dc.subjectcode optimizationen_US
dc.subjectcache thrashingen_US
dc.titleCase studies on cache performance and optimization of programs with unit stridesen_US
dc.typeArticleen_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
A1997WG89400004.pdf
Size:
118.15 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed to upon submission
Description: