{"title":"CacheBit:一个多源多目标缓存检测工具","authors":"Chao Xu, Jinghui Gu, Ling Lin, Alei Liang, Haibing Guan","doi":"10.1109/SSIRI.2009.72","DOIUrl":null,"url":null,"abstract":"The cache utilization seriously impacts on program performance, whereas the cache behavior is transparent to developers so that they cannot get opportunity to optimize their programs by reducing cache miss rates. This paper introduces a useful instrumentation tool, Cachebit, which is built with Crossbit - a dynamic binary translation (DBT) framework with intermediate instruction layer. Cachebit simulates cache behavior and presents statistics of cache profile at runtime. After running programs on Crossbit with Cachebit available, cache profile information can be reported to help developers rewrite and improve their programs. Moreover, by setting different cache characteristics (including cache size, block size, associative pattern, replacement policy, hierarchy number), Cachebit can simulate a variety of real cache architectures. Comparing with other analogous tools, Cachebit gives a multisource-multitarget testing platform, that is, programs can be tested on isomerous platforms.","PeriodicalId":196276,"journal":{"name":"2009 Third IEEE International Conference on Secure Software Integration and Reliability Improvement","volume":"121 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2009-07-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"CacheBit: A Multisource-Multitarget Cache Instrumentation Tool\",\"authors\":\"Chao Xu, Jinghui Gu, Ling Lin, Alei Liang, Haibing Guan\",\"doi\":\"10.1109/SSIRI.2009.72\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The cache utilization seriously impacts on program performance, whereas the cache behavior is transparent to developers so that they cannot get opportunity to optimize their programs by reducing cache miss rates. This paper introduces a useful instrumentation tool, Cachebit, which is built with Crossbit - a dynamic binary translation (DBT) framework with intermediate instruction layer. Cachebit simulates cache behavior and presents statistics of cache profile at runtime. After running programs on Crossbit with Cachebit available, cache profile information can be reported to help developers rewrite and improve their programs. Moreover, by setting different cache characteristics (including cache size, block size, associative pattern, replacement policy, hierarchy number), Cachebit can simulate a variety of real cache architectures. Comparing with other analogous tools, Cachebit gives a multisource-multitarget testing platform, that is, programs can be tested on isomerous platforms.\",\"PeriodicalId\":196276,\"journal\":{\"name\":\"2009 Third IEEE International Conference on Secure Software Integration and Reliability Improvement\",\"volume\":\"121 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2009-07-08\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2009 Third IEEE International Conference on Secure Software Integration and Reliability Improvement\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/SSIRI.2009.72\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2009 Third IEEE International Conference on Secure Software Integration and Reliability Improvement","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SSIRI.2009.72","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
CacheBit: A Multisource-Multitarget Cache Instrumentation Tool
The cache utilization seriously impacts on program performance, whereas the cache behavior is transparent to developers so that they cannot get opportunity to optimize their programs by reducing cache miss rates. This paper introduces a useful instrumentation tool, Cachebit, which is built with Crossbit - a dynamic binary translation (DBT) framework with intermediate instruction layer. Cachebit simulates cache behavior and presents statistics of cache profile at runtime. After running programs on Crossbit with Cachebit available, cache profile information can be reported to help developers rewrite and improve their programs. Moreover, by setting different cache characteristics (including cache size, block size, associative pattern, replacement policy, hierarchy number), Cachebit can simulate a variety of real cache architectures. Comparing with other analogous tools, Cachebit gives a multisource-multitarget testing platform, that is, programs can be tested on isomerous platforms.