- Tham gia
- 03/03/2025
- Bài viết
- 9
cách nào để mỗi khi server lưu lại thế giới thì k bị tụt fps , mình thấy cứ bao nhieu tick ( config trong bukkit,yml) thì nó sẽ lưu server và mỗi khi lưu thì server sẽ tụt tps từ 20 còn 18-19 có lúc xuống tận 17 , mình sài spark check thì thấy mọi thứ bth %cpu và ram ở host ổn định k lên xuống trong lúc tps tụt , điều đó khiến mình rất khó chịu ,
mình sài hosting luminecloud( 5.7ghz và 11gb ram, 500% cpu ) , server khoảng 10-15 ng trung bình cao điểm thì hơn 20 tí thôi , mình muốn tình hiểu vài cách fix
sau đây là flag của mình : java -Xms1G -Xmx8G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=20 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCCountTarget=4 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1HeapWastePercent=5 -XX
urvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -XX:+CrashOnOutOfMemoryError -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar server.jar
đây là spark bth của mình vì tps tụt trong khoảng tgian rất ngắn mình k phản ứng kịp để sài spark : https://spark.lucko.me/S8lNvuXrfG
ngoài ra mình còn bị cứ lâu lâu ai chat là bị tụt fps ( của client) server bth và hầu hết player bị
(
mình sài hosting luminecloud( 5.7ghz và 11gb ram, 500% cpu ) , server khoảng 10-15 ng trung bình cao điểm thì hơn 20 tí thôi , mình muốn tình hiểu vài cách fix
sau đây là flag của mình : java -Xms1G -Xmx8G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=20 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCCountTarget=4 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1HeapWastePercent=5 -XX
urvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -XX:+CrashOnOutOfMemoryError -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar server.jarđây là spark bth của mình vì tps tụt trong khoảng tgian rất ngắn mình k phản ứng kịp để sài spark : https://spark.lucko.me/S8lNvuXrfG
ngoài ra mình còn bị cứ lâu lâu ai chat là bị tụt fps ( của client) server bth và hầu hết player bị
(