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

The Longer The World Is Loaded, The Worse Performance gets #4

Open
IAmSneak opened this issue Sep 12, 2020 · 11 comments
Open

The Longer The World Is Loaded, The Worse Performance gets #4

IAmSneak opened this issue Sep 12, 2020 · 11 comments

Comments

@IAmSneak
Copy link

IAmSneak commented Sep 12, 2020

Issue:

When the world is loaded with the claims, the performance begins getting worse over time. After one night AFK in a claim with nothing changing, the server runs a lot worse. It started at around 12 mspt with 2 people and by the end of the night it was running at around 86 mspt with 1. Restarting the server fixed this, but again after 15 minutes it is up to 33 mspt again. This didn't happen before this mod was added.

Steps to reproduce:

  1. Install the mod
  2. Claim a large area
  3. Stay in the claimed area for a long time, preferably with multiple people

Affected Versions (Latest is NOT a version):

  • Minecraft: 1.16.2
  • Fabric: 0.20.1+build 401
  • Flan: 1.16.2 1.0.4

Other Mods (If you think it might be cause of an incompability):

Lithium and phosphor

Logs: Pastebin

@Flemmli97
Copy link
Owner

Flemmli97 commented Sep 14, 2020

did the amount of claims changed during that phase? if so by how much?

@Flemmli97
Copy link
Owner

ive ran a test with a superflat world and carpet only. made several claims (around 10) and tick warped it for few hours. no mspt change. (i cant test it on a larger scale cause i dont have a server or more people). if anyone knows more or see performance issues please let me know here

@IAmSneak
Copy link
Author

I can try doing more testing soon. I spawned in players with carpet to test, but it also happened with regular players. Sorry I haven't responded sooner, school just started and I was quite sick.

@IAmSneak
Copy link
Author

Couldn't reproduce this again. I am adding it back into my server and will say if this happens again.

@IAmSneak
Copy link
Author

It happens again...

@Flemmli97
Copy link
Owner

are you doing something special on the server? playing normally, standing still and nothing? also can you monitor the ram usage?

@amnotbananaama
Copy link
Contributor

Hi, I was hoping to try out this mod. I have access to 4-5 real players. Is there anything in particular I can do to help with debugging this? Maybe a Log4j debug log? I'll report back if I notice anything strange

@IAmSneak
Copy link
Author

IAmSneak commented Oct 5, 2020

Sorry for the late response. I was just standing still. It could be an incompatibility with overworld two, which I have on the server.

@Flemmli97
Copy link
Owner

can you monitor the memory usage? and no atm there arent any logging things there. and idk where logging things would be useful. there isnt anything ticking except for some player data. most is just reacting to modifications in the world. and the ticking player data isnt really expensive. specially since IAmSneak said that he was just standing still. (so it actually shouldnt do anything). idk if it helps but using some kind of jvm profiling like visual jvm might pin point the issue

@IAmSneak
Copy link
Author

IAmSneak commented Oct 8, 2020

I can't seem to be able to reproduce this anymore (at least not in the current version). I have no clue what caused it before but it seems to no longer happen.

@MaxBr5
Copy link

MaxBr5 commented Jun 17, 2021

Never AFK.

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

No branches or pull requests

4 participants