Skip to content
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

Performance problem #9

Closed
Askarionn opened this issue May 26, 2022 · 5 comments
Closed

Performance problem #9

Askarionn opened this issue May 26, 2022 · 5 comments

Comments

@Askarionn
Copy link

Hi guys!
I switched to PandaSpigot and i have some tps issues.
I tested with PaperSpigot java 8 and the TPS is 20* without any settings/plugins.
When i installed PandaSpigot java 17 the tps was never 20, maximum 19.90 (without any settings/plugins).
If players join (maximum 10) the tps is 19.50-19,80. I tried to generate a spark profiler and it seems that updateTimeLightAndEntities is consuming 15% from tick.

@andreasdc
Copy link

Hi guys! I switched to PandaSpigot and i have some tps issues. I tested with PaperSpigot java 8 and the TPS is 20* without any settings/plugins. When i installed PandaSpigot java 17 the tps was never 20, maximum 19.90 (without any settings/plugins). If players join (maximum 10) the tps is 19.50-19,80. I tried to generate a spark profiler and it seems that updateTimeLightAndEntities is consuming 15% from tick.

Can you post both profilers and run them with exact settings and for at least 5 minutes? Also make sure that entities are the same and they are doing the same actions during these tests.

@uRyanxD
Copy link
Collaborator

uRyanxD commented May 28, 2022

Maybe it's the same problem as reported in CobbleSword/NachoSpigot#411

@Fejm
Copy link

Fejm commented May 29, 2022

@uRyanxD
Copy link
Collaborator

uRyanxD commented May 29, 2022

Possible fix for this (https://github.com/uRyanxD/PandaSpigot/blob/test2/patches/server/0062-Use-BigDecimal-to-improve-accracy-of-TPS-results.patch) making TPS more accurate, if you can build and test to see if it works

@Fejm
Copy link

Fejm commented May 29, 2022

Possible fix for this (https://github.com/uRyanxD/PandaSpigot/blob/test2/patches/server/0062-Use-BigDecimal-to-improve-accracy-of-TPS-results.patch) making TPS more accurate, if you can build and test to see if it works

It will not work. Only modern tick loop can fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants