Acceldata
ODP

Tune Azul Prime JVM

Running the following command configures Azul Prime–specific JVM tuning defaults for supported ODP stack services:

ambari-server setup-jvm-tuning azul-prime
The tuning settings are included in the stack definitions for this release and are applied to all certified components unless explicitly overridden in the Ambari UI.

Heap Sizing

For all supported components, the -Xms and -Xmx values are configured to the same size. This configuration follows Azul's heap sizing recommendations and helps maintain predictable latency by preventing heap expansion and contraction during normal operation.

For details about the recommendations, see Azul's heap sizing guidance.


Default JVM Options

The following JVM options are applied by default to ODP stack services:

JVM Option

Description

-XX:+UseTransparentHugePages

Uses Linux transparent huge pages (2 MB) for Java heap memory, reducing translation lookaside buffer (TLB) misses on large heaps. Requires operating system support for transparent huge pages.

-XX:CIMaxCompilerThreads=8

Limits Falcon JIT compiler threads to eight, balancing compilation throughput and CPU utilization on shared cluster nodes.

-XX:ProfileLogIn=<path>

Loads a previously generated ReadyNow profile during startup to accelerate JVM warm-up after a restart.

-XX:ProfileLogOut=<path>

Records compilation profile data during runtime for use by subsequent restarts.

-XX:+UseZingMXBeans

Exposes Azul Prime–specific JMX metrics for monitoring C4 garbage collection and heap activity.


ReadyNow Profile Configuration

Profile log paths are configured separately for each service under the component log directory (for example, /var/log/hbase/profiles/).

During the initial startup, only the ProfileLogOut option is active because no profile data exists. After a profile is generated, the ProfileLogIn option automatically uses the saved profile during subsequent restarts to reduce JVM warm-up time.


Additional Information

For detailed information about JVM options, component-specific tuning recommendations, and advanced configuration settings, see the Azul Prime Command-Line Options documentation.