-
-
Notifications
You must be signed in to change notification settings - Fork 141
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
Blueprint Lag #1051
Comments
I see from the timings, it is taking 6 seconds to paste and taking 40ms of each tick. That looks like a pretty big island? Anyway, you need to lower the pasted blocks per second in BentoBox's. Here's the default:
Maybe reduce it by half and see if that helps. You may need to reduce it to 40 or so. That will cause pasting to take longer though. |
What did you reduce the paste number to? |
64, half of the original |
just tried 40 and same results |
check the timings and share. Also, try a lower number even, say 32. You have a Nether and End right? Those are also being pasted. |
Here are the timings yes i do have nether and end too. tried 32 |
Okay, so from that report the scheduler is taking: 12,745.57ms per - 9.50ms/0.00 per tick i.e., about 13 seconds paste all the islands and each async bit is 9.50ms, which is less than the tick length of 20ms. You can reduce the paste number even further if you like. Alternatively, start at 1 and then move up until the maximum acceptable TPS hit. |
Should help mitigate issues such as #1051 for new servers.
turns out it was just a bad host, thanks for ur help |
Description
Describe the bug
Not really a bug but the problem is that the server lags a lot when generating a blueprint. (This is the default one) there is 0 players on, always 20tps, 4gb ram etc but once you load the blueprint in, it drops to 17tps.
Steps to reproduce the behavior
Not really sure.
Expected behavior
Be optimized.
Screenshots and videos (Optional)
Environment
BentoBox Version (Mandatory)
Plugins (Optional)
Additional context (Optional)
I just wish it was more optimized since we are hoping to release soon.
Timings report: https://timings.aikar.co/?id=44a7e66448a2413c8cfb79a907bba8d7#plugins
the last section was where the lag was.
[BentoBox::Task: world.bentobox.bentobox.blueprints.BlueprintPaster$$Lambda$4258/17429650 (interval:1)]
Ignore the PlugMan
The text was updated successfully, but these errors were encountered: