-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Multithreaded World Generation on Paper 1.21.3 #481
Labels
Platform: Bukkit
Issue/PR is applicable to the Bukkit platform.
Status: Accepted
Issue/PR is accepted.
Type: Bug
Something isn't working as intended.
Type: Performance
Issue/PR involves performance issues/improvements.
Comments
viktordanov
added
Status: Pending
Issue/PR is currently awaiting approval by a moderator.
Type: Bug
Something isn't working as intended.
labels
Nov 9, 2024
viktordanov
changed the title
[Bug] Multithreaded World Generation
[Bug] Multithreaded World Generation on Paper 1.21.3
Nov 9, 2024
I identified part of the problem: In platforms/bukkit/common/src/main/.../PlatformImpl.java
I get these logs:
|
astrsh
added
Status: Accepted
Issue/PR is accepted.
Platform: Bukkit
Issue/PR is applicable to the Bukkit platform.
Type: Performance
Issue/PR involves performance issues/improvements.
and removed
Status: Pending
Issue/PR is currently awaiting approval by a moderator.
labels
Nov 18, 2024
I'll try to take a look into this shortly! |
also:
|
The moonrise code has just changed, I'll hopefully have a fix for it soon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Platform: Bukkit
Issue/PR is applicable to the Bukkit platform.
Status: Accepted
Issue/PR is accepted.
Type: Bug
Something isn't working as intended.
Type: Performance
Issue/PR involves performance issues/improvements.
Pre-Issue Checklist
closed ones.
is Terra that is causing the issue.
pack I am using.
latest.log
fileEnvironment
Issue Description
Terrain Generation used to be extremely quick. A few months ago I upgraded my hardware and reconfigured Paper to try to max out my CPU for the fastest generation.
My paper-global.yml
My start-up params:
java -Xms20G -Xmx20G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -DPaper.WorkerThreadCount=28 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5050 -jar paper-1.21.3-15.jar --nogui
Since my upgrade to 1.21.3 from 1.21.1 Terra Worlds started generating very slowly with minimal CPU usage.
Ablation tests for issue isolation
Steps to reproduce
Expected behavior
All allocated cores should be used.
Actual behavior
Only 1 or no more than 4 are used (difficult to discern).
The text was updated successfully, but these errors were encountered: