- -server -XX:+TieredCompilation
Comparison
You can tune JVM's performance by tuning either memory management or code generaion. Here we have tuned code generator by turning tiered compilation mode on. With tiered compilation on, more classes are compiled (or compiled more efficiently) and so they execute faster (i.e., +15%).Using ATG CRM Demo benchmark, we saw the following KPI changes:
-XX:-TieredCompilation | -XX:+TieredCompilation | % Change | |
Total Footprint | 4431MB | 4686MB | -5.4% |
Application Server CPU | 23% | 20% | +15% |
Average Response Time | 0.234 | 0.217 | +7.8% |
Notes
- Here is our setting for ReservedCodeCacheSize[2]:
-TieredCompilation: 128MB
+TieredCompilation: 256MB - When we turned on tiered compilation mode, we also reserve larger code cache for it (i.e., 256 MB vs. 128 MB). Code cache is allocated out of native memory (vs. heap). Total footprint shown in the table includes native memory. So, we see total footprint is larger when tiered compilation mode is turned on.
2 comments:
Did you know you can shorten your links with Shortest and receive cash for every visitor to your short urls.
I always believe in buying or taking the best services; be it the Essay Help in New York, the best college to get admission in, the best book to give a read, or the best coding program. I installed this setup of a tiered compilation to fasten up my server because I knew it was the best among others.
Post a Comment