Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
themeRDark
-Xlog:gc*:/usr/local/FlashphonerWebCallServer/logs/gc-core-:time

5. Tune the wcsAdd the following setting to wcs-core.properties properties (for example, allocating 24G under memory heap):

Code Block
themeRDark
# ZGC
-XX:+UnlockExperimentalVMOptions -XX:+UseZGC -Xms24g -Xmx24g

6. If hugepages is planning to use, add the following settings to wcs-core.properties:

  • in JDK 12 or 14
Code Block
themeRDark
-XX:+UseLargePages -XX:ZPath=/hugepages
  • in JDK 15 and newer
Code Block
themeRDark
 -XX:+UseLargePages -XX:ZPathAllocateHeapAt=/hugepages

6. Сonfigure Then configure hugepages according to the recommendations (the number of memory pages (2048K each) with a margin to the memory for heap (1,125 * 24G * 1024 / 2M)) and add the required parameters in the server startup (Centos example):

...