Windchill+ JVM Arguments
The sizing template has been enhanced with the following properties:
wt.manager.cmd.common.java.extra.args contains XX:+AlwaysPreTouch and -XX:ErrorFile=$(wt.logs.dir)$(dir.sep)hs_err_pid_%p.log
wt.manager.cmd.MethodServer.java.extra.args contains XX:+ExplicitGCInvokesConcurrent and -XX:ParallelGCThreads=# adjusted to number of CPU and number of MS/SM running on the system.
wt.manager.cmd.ServerManager.java.extra.args contains -XX:+DisableExplicitGC and -XX:ParallelGCThreads=# adjusted to number of CPU and number of MS/SM running on the system.
The following parameters are required while running health checks for the PTC Cloud Systems:
-XX:+AlwaysPreTouch—to be set for all JVM. Checks over allocation at the start and reserves all memory to be used. It also avoids the JVM to deal with resizing during run. This requires proper calculation of Heap sizing parameter.
-XX:ErrorFile=$(wt.logs.dir)$(dir.sep)hs_err_pid_%p.log—to be set for all JVM. It directs the PID logs into Windchill log directory so that we can collect it with tooling in this place and do not need to navigate the system to search for these log files. The contain relevant information for Performance Analysis.
-XX:+ExplicitGCInvokesConcurrent—must be set on MS as a best practice for Windchill. It instructs the JVM to run a Concurrent Mark Sweep (CMS) Garbage Collector (GC) instead of a full GC whenever a system GC is requested.
-XX:ParallelGCThreads=#—to be set on each JVM. It dispatches the VCPU usage properly and avoid competing. It also has impact on hidden memory usage along with MALLOC_ARENA. By default, the minimum value is set to 2.
-XX:+DisableExplicitGC—to be used for the ServerManager service. It disables the processing of calls to the System.gc() method.
Isto foi útil?