Look for "cache prefetching" in google and decide if you want to optimize JIT, GC or both Here is some interesting links I found
*Prefetch injection based on hardware monitoring and object metadata: * http://portal.acm.org/citation.cfm?id=996873 *Stride prefetching by dynamically inspecting objects: * http://portal.acm.org/affiliated/citation.cfm?id=781131.781161&coll=GUIDE&dl=ACM&type=series&idx=781131&part=series&WantType=series&title=Conference%20on%20Programming%20Language%20Design%20and%20Implementation&CFID=602113&CFTOKEN=49769441 These articles could be too advanced for initial implementation but useful. On 7/27/06, zouqiong <[EMAIL PROTECTED]> wrote:
Can you instruct me to know some algorithm for how to use cache miss for optimizing? I am afraid i haven`t seen such paper. Thanks a lot. Best Regard 2006/7/27, Mikhail Fursov <[EMAIL PROTECTED]>: > > On 7/27/06, zouqiong <[EMAIL PROTECTED]> wrote: > > > > What is AFIK? > > (AFAIK=as far as I know) > > > I want to use oprofile, or if you give better advice. > > And the os is linux. > > > You can use OProfile for your internal needs but it has GPL license so I'm > not sure it can be a part of Harmony which uses much less restrictive > Apache > license. Let's get a break to look through the current state of > performance > monitoring libraries, their OS/CPU compatibilities and licenses. > > > I haven`t decide how to use cache-miss information, if i hava a creative > > idea, of course, > > i will use my own. > > > I think that the optimization algorithm must be selected first. You can > collect cache miss information manually (using any tool you have) and feed > the profile to a JIT. So PMU library just a tool and could be easily > added/replaced, IMHO the goal is optimization algorithm. > > What research do you focus on? Dynamic Optimization? Have you any idea > about > > it? > > > Yes, DPGO is one of the subjects I'm really interested in. There are a lot > of ideas of how to profile and how to use the information, but I'm afraid > I > have no time try them all alone. So I've said I'm interested to help you > in > your project, but not to lead it. > > -- > Mikhail Fursov > >
-- Mikhail Fursov