> -----Original Message----- > From: Darius D. [mailto:[email protected]] > Sent: Saturday, September 03, 2011 1:36 PM > > As a side note - (CPU)cache/TLB misses have nothing to do with heap size. > Too big heap size can be as bad as too low ( by stealing memory from OS that > could > have been used for file caches and other apps and increasing GC pauses ).
The Linux JVM has a nice option -XX:+UseLargePages to help avoid TLB misses on heap accesses. It's good for modest gains, and has the side effect of locking the heap into memory. I tend to use it on systems with large heaps. Not much you can do about cache misses though, besides getting processors with more cache. -Jeff --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
