Code Cache Management Based on Working Set in Dynamic Binary Translator
Computer Science and Information Systems, Tome 8 (2011) no. 3.

Voir la notice de l'article provenant de 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},
     publisher = {mathdoc},
     volume = {8},
     number = {3},
     year = {2011},
     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
PB  - mathdoc
UR  - http://geodesic.mathdoc.fr/item/CSIS_2011_8_3_a7/
ID  - CSIS_2011_8_3_a7
ER  - 
%0 Journal Article
%A Ruhui Ma
%A Zhichen Ni
%A Erzhou Zhu
%A Kai Chen
%A Haibing Guan
%T Code Cache Management Based on Working Set in Dynamic Binary Translator
%J Computer Science and Information Systems
%D 2011
%V 8
%N 3
%I mathdoc
%U http://geodesic.mathdoc.fr/item/CSIS_2011_8_3_a7/
%F CSIS_2011_8_3_a7
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/