Fortunately, most applications use far more data memory than code, so when we look at how much memory our system uses compared to total memory usage of the native application, it's not so bad. Most SPEC CPU2000 benchmarks either have small code footprints or use far more data than code. For other applications, like our Powerpoint benchmark (which loads in a relatively small file), we can triple the memory usage, though our average is only about a 10% memory increase.
These numbers are for an unbounded code cache size, and we can cut usage significantly with minimal performance impact by placing limits on the cache.
|Copyright © 2004 Derek Bruening|