Runtime Engine for Dynamic Profile Guided Stride Prefetching

来源 :计算机科学技术学报(英文版) | 被引量 : 0次 | 上传用户:cai2008
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
Stride prefetching is recognized as an important technique to improve memory access performance. The prior work usually profiles and/or analyzes the program behavior offtine, and uses the identified stride patterns to guide the compilation process by injecting the prefeteh instructions at appropriate places. There are some researches trying to enable stride prefetching in runtime systems with online profiling, but they either cannot discover cross-procedural prefetch opportunity, or require special supports in hardware or garbage collection. In this paper, we present a prefetch engine for JVM (Java Virtual Machine). It firstly identifies the candidate load operations during just-in-time (JIT) compilation,and then instruments the compiled code to profile the addresses of those loads. The runtime profile is collected in a trace buffer, which triggers a prefetch controller upon a protection fault. The prefetch controller analyzes the trace to discover any stride patterns, then modifies the compiled code to inject the prefetch instructions in place of the instrumentations.One of the major advantages of this engine is that, it can detect striding loads in any virtual code places for both regul arand irregular code, not being limited with plain loop or procedure scopes. Actually we found the cross-procedural patterns take about 30% of all the prefetchings in the representative Java benchmarks. Another major advantage of the engine is that it has runtime overhead much smaller (the maximal is less than 4.0%) than the benefits it brings. Our evaluation with Apache ttarmony JVM shows that the engine can achieve an average 6.2% speed-up with SPECJVM98 and DaCapo on Intel Pentium 4 platform, in spite of the runtime overhead.
其他文献
Objective The growth and repair potential of three typical microorganisms in reclaimed water after UV disinfection was investigated to assess the effects of pho
提出一种定性、定量评判因素混合的模糊分层优选模型,对非线性系统进行优选决策,并应用于大气污染防治方案的优选决策,取得了满意的结果.它也适用于其他社会管理决策,有利于
Acetone emission from pine plants (pinus sylvestris) is measured by continuously stirred tank reactor. Under a constant light intensity, acetone emission rates
The extruded protoplasm from the coenocytic green alga, Bryopsis hypnoides Lamouroux, was able to reform a cell wall and develop further into a mature alga in s
AIM: To investigate the effects of prednisolone on cell membrane bleb formation, calpain μ activation and talin degradation during hepatic ischemia-reperfusion
To better understand the mechanisms of eutrophication,we addressed the microbial processes that influence many key aspects of water-sediment systems.In this stu
A quantum-chemical investigation on the structural and optoelectronic properties of two materials based on carbazole is carried out.The purpose is to display th
Although anonymizing Peer-to-Peer (P2P) networks often means extra cost in terms of transfer efficiency, many systems try to mask the identities of their users
Nine Chinese yak breeds (Maiwa,Tianzhu White,Qinghai Plateau,Sibu,Zhongdian,Pall,Tibetan High Mountain,Jiulong,and Xin-jiang) and Gayal were analyzed by means o
A novel compound 5-(p-tolyl)-4-[2-(2,4-dichlorophenoxy)acetamido]-1,2,4-tria zole-3-thione 2a has been synthesized by the reaction of 5-(p-tolyl)-4-amino-1,2,4-