Code Cache Management Based on Working Set in Dynamic Binary Translator
Computer Science and Information Systems, Tome 8 (2011) no. 3
Cet article a éte moissonné depuis la source Computer Science and Information Systems website
Software code cache employed to store translated or optimized codes, amortizes the overhead of dynamic binary translation via reusing of stored-altered copies of original program instructions. Though many conventional code cache managements, such as Flush, Least-Recently Used (LRU), have been applied on some classic dynamic binary translators, actually they are so unsophisticated yet unadaptable that it not only brings additional unnecessary overhead, but also wastes much cache space, since there exist several noticeable features in software code cache, unlike pages in memory. Consequently, this paper presents two novel alternative cache schemes—SCC (Static Code Cache) and DCC (Dynamic Code Cache) based on working set. In these new schemes, we utilize translation rate to judge working set. To evaluate these new replacement policies, we implement them on dynamic binary translator—CrossBit with several commonplace code cache managements. Through the experiment results based on benchmark SPECint 2000, we achieve better performance improvement and cache space utilization ratio.
Keywords:
Code cache management, Working set, Replacement strategy, Code block, Bounded code cache
@article{CSIS_2011_8_3_a7,
author = {Ruhui Ma and Zhichen Ni and Erzhou Zhu and Kai Chen and Haibing Guan},
title = {Code {Cache} {Management} {Based} on {Working} {Set} in {Dynamic} {Binary} {Translator}},
journal = {Computer Science and Information Systems},
year = {2011},
volume = {8},
number = {3},
url = {http://geodesic.mathdoc.fr/item/CSIS_2011_8_3_a7/}
}
TY - JOUR AU - Ruhui Ma AU - Zhichen Ni AU - Erzhou Zhu AU - Kai Chen AU - Haibing Guan TI - Code Cache Management Based on Working Set in Dynamic Binary Translator JO - Computer Science and Information Systems PY - 2011 VL - 8 IS - 3 UR - http://geodesic.mathdoc.fr/item/CSIS_2011_8_3_a7/ ID - CSIS_2011_8_3_a7 ER -
Ruhui Ma; Zhichen Ni; Erzhou Zhu; Kai Chen; Haibing Guan. Code Cache Management Based on Working Set in Dynamic Binary Translator. Computer Science and Information Systems, Tome 8 (2011) no. 3. http://geodesic.mathdoc.fr/item/CSIS_2011_8_3_a7/