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 · 12 comments
Open

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

IAmSneak opened this issue Sep 12, 2020 · 12 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.

@ShelLuser
Copy link

For the record: I am well aware that this issue is 4 years old, but the thing is.. it's still open and I (/ we) are in a similar situation, so I felt like commenting.

Context: my friend Aya is (nearly) always playing survival while I'm in creative (usually working on the datapack for the mod collection). We play on a LAN server, during the week she plays from her home (VPN FTW!) and during the weekend I either play on my laptop at her home, or she plays on her laptop at my home. The thing here is that I play along with Aya, so... I spent most of my time in/around her base. We recently picked up on a mod which can be quite time consuming, so we've been here: playing inside the protected area for many in-game days. Granted: me in creative, Aya in survival.

Thing is... not only can't we reproduce anything of the sort, I also don't notice any messages or oddities in my servers logfiles. With all due respect, but I cannot help conclude that the cause of your issue isn't so much FLAN, but rather the mods you play with. I mean, the very definition of a bug is that it has to be reproducable.

Fun fact: during the past (IRL) week Aya & me spent pretty much all our playtime around her base. Playtime during the week is around 1 - 2 hours per session (with one all nighter), and we had 0 issues with FPS or such.

We play with a custom modpack that consists of around 80 mods in total.

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

5 participants