Table of Contents
1 A Page Fault Equation for Dynamic Heap Sizing
http://www.math.nus.edu.sg/~mattyc/HeapSizing.pdf
This is an interesting paper. It more or less presents an equation,
1.1 Introduction
H is the heap size, M is the size of available main memory
1.1.1 Suggested policy out-performs JikesRVM's heap size mamager
1.1.2 The Problem:
- Frequent GC pauses in a small heap leads to significant performance degredation due to cache pollution.
- A large heap faces frequent page faults.
- Tuning intelligently can possibly lead to better performance that manual memory management can provide.
- Heap cannot be static, must be able to scale to very small and very large heaps.
- The number of page faults not simply a function of actual memory and of heap size, includes mutator + collector behavior.
1.1.3 Heap-Aware Page Fault Equation
1.1.4 General Page Fault Equation:
1.1.5 Heap sizing Rule:
- Uses the parameters for the page fault equation to know how to resize.
- Doesn't require OS or hardware modification or costly setup of polling, handlers, and callbacks for stalls and page references.
- Can automatically respond to changes in main memory(cloud hosting?)
- Allows for hotswapping of collectors if parameters found.
No comments:
Post a Comment