Help us understand the problem. What is going on with this article?

Minecraft の起動オプション[Linux] 自分用メモ

CentOS8
Java11
Ryzen7 3700X
Ram 32GB
GTX1660SUPER
nvme ssd 500GB

現状。UseShenandoahGCを使いたいがためにLinuxを入れたと言って過言ではない。(openJDKで配られている奴には入ってないCentOSのRedHat系はdnfでinstallできるやつに入ってる、すごいGCらしい) i7-6700k-ram16GB-GTX1070に較べてパフォーマンスが変わったかというと数瞬した程度ではよくわからない。もうちょっと試す。。。
正直チャンクアップデートのスパイクの方をなんとかしないといけないのだけれど、GCじゃどうにもならんかな。

-Xmx16G -Xms8G -server -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:+UseNUMA -XX:MaxGCPauseMillis=20 -XX:+DisableExplicitGC -XX:+UseAdaptiveGCBoundary -XX:+UseBiasedLocking -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:ReservedCodeCacheSize=2G -XX:+UseCodeCacheFlushing -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true

ps.windows側からバックアップを取るスクリプト(git bash 使用

."C:\path\to\git-bash.exe" -c "scp -P 51234 -i /C/path/to/.ssh/id_rsa -r username@ipaddr:/path/to/saves/world/ /path/to/tmp_save/ | .Robocopy.exe I:\path\to\tmp_save C:\path\to\OneDrive\minecraft_linux_save -E -MIR"

ポイント:robocopyのオプションを / -> -

試したいこと
https://wiki.openjdk.java.net/display/shenandoah/Main

adaptive (default). This heuristics observes the previous GC cycles, and tries to start the next GC cycle so that it could complete before heap is exhausted
-XX:ShenandoahInitFreeThreshold=#: Initial threshold at which to trigger "learning" collections

-XX:ShenandoahMinFreeThreshold=#: free space threshold at which heuristics triggers the GC unconditionally

-XX:ShenandoahAllocSpikeFactor=#: How much heap to reserve for absorbing allocation spikes

-XX:ShenandoahGarbageThreshold=#: Sets the percentage of garbage a region need to contain before it can be marked for collection.

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした