Sometimes just flying through chunks, TPS drops as low as 12

https://spark.lucko.me/nhBjnHB5mN Flying through chunks with Elytra sometimes drops tps quite a lot, not sure what is causing this.
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
45 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by guwad#0
GUWAD
GUWADOP2w ago
!solved
Admincraft Meta
Closed post!
Your post has been marked as solved!
Requested by guwad#0
GUWAD
GUWADOP2w ago
ddos attack on node i think lol
Tamz
Tamz2w ago
ddos doesnt affect tps. ddos is a ping thing
MachineBreaker
Is your world pregenned btw?
GUWAD
GUWADOP2w ago
no it's memory leak i think
Loudbook
Loudbook2w ago
Your spark report expired...
GUWAD
GUWADOP2w ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Deathpacito
Deathpacito2w ago
!chunky
Carl-bot
Carl-bot2w ago
Resource: Chunky
Chunky is a plugin/mod that will generate chunks in a defined radius as if you just visited it yourself. The process will temporarily use up more memory and a high percentage of your CPU as it creates the chunks in server memory and this process can be taxing on the server's resource. If you've setup a worldborder, start with by typing /chunky worldborder . Otherwise, you can set a radius using /chunky radius <num>. Then run /chunky start. It is a good idea to let this run with no players online. If your server does crash, just start it back up and /chunky resume and it should pick back up where it left off. Once it tells you that the task is finished, you may remove the chunky folder if any was created and the Chunky jar from your server. Although this isn't required and you may end up needing to do more pre-generation in the future Note: you can use /chunky quiet 60 to make the progress report only be shown every 60 seconds Download | Wiki
Admincraft Canned Responses
Deathpacito
Deathpacito2w ago
Pregen your worlds, chunk gen is the heaviest hit on server resource usage, might as well do it beforehand
GUWAD
GUWADOP2w ago
can't pregen, world border is 10 million
Deathpacito
Deathpacito2w ago
WHAT
duolingo se acerca
This is just because you don’t have a world pregenerated This is how an actual memory leak looks like: https://discord.com/channels/348681414260293634/1316829159275630642/1316829159275630642
Deathpacito
Deathpacito2w ago
How many players could you possibly have that would warrant a 10 million world border
duolingo se acerca
:AYO:
GUWAD
GUWADOP2w ago
i never had lag before, ran just fine. the problem im having is, the ram just keeping piling up. and never goes down.
Deathpacito
Deathpacito2w ago
Yes, because of that exact issue Pregen your world
GUWAD
GUWADOP2w ago
so even if i leave the game my ram will sit at 10 usage i have allocated 10 total
Deathpacito
Deathpacito2w ago
Based on panel or
GUWAD
GUWADOP2w ago
and its using all allocation doing nothing based on the panel but i couldn't even stop the server because overload
Deathpacito
Deathpacito2w ago
Panel lies Use spark I'm fairly sure having a more reasonable worldborder and then pregenning your world would solve your original question issue
GUWAD
GUWADOP2w ago
it's an anarchy server i cannot pregen i agree for sure i would if i could
duolingo se acerca
Do the experiment, try to load the ram as much as possible and then do the heapdump The reports you sent only show chunk generation taking the most time of the main thread
Deathpacito
Deathpacito2w ago
What about an anarchy server makes pregen impossible? (Genuine question)
GUWAD
GUWADOP2w ago
i can't pregen 1 million x 1 million it will take so much storage and that is bare minimum world border
Deathpacito
Deathpacito2w ago
Why do anarchy servers have such a requirement holy shit
GUWAD
GUWADOP2w ago
large world fun idk hahaha
Deathpacito
Deathpacito2w ago
If you really want to leave it like that, then you need better hardware to cope with constant chunk generation
duolingo se acerca
You don’t have to pregen the whole world, only like 10-30k
Deathpacito
Deathpacito2w ago
^
GUWAD
GUWADOP2w ago
yeah honestly duo good call i will pregen something crazy like 30k and anything else will just be singular players loading a line of chunks or whatever
duolingo se acerca
Since you’re testing alone, first pregen 1k and see if your problem goes away
GUWAD
GUWADOP2w ago
ive already pregenned 5k
duolingo se acerca
Also do this
GUWAD
GUWADOP2w ago
will do, i still am almost certain theres something wrong. because i promise, literally like 4 days ago i could have 6 players on here all loading chunks 0 tps drop whatsover. now just me alone it doesn't lag, but eventually once i load so many chunks the memory just gets filled up and isn't going down at all and thats when tps drops happen like idk the functions and everything of how all of this works but i assume theres something that is supposed to help manage the memory and it is not working at all
Deathpacito
Deathpacito2w ago
If you pregen with chunky you will notice the exact same thing happen For some reason generating chunks leaves a bit in ram, if you pregen a lot then your server will OOM a couple times doing so
GUWAD
GUWADOP2w ago
no that's the thing, with chunky i didn't even get tps drops every time ive loaded chunks with chunky i am surprised to see no tps drops ever bc i thought it would too
duolingo se acerca
Yh, if you say ram doesn’t go down even after leaving the server, that definitely sounds like a memory leak Leave it enough time for the ram to fill up so it’s easier to analyze
GUWAD
GUWADOP2w ago
okay yeah thats exactly what ive been doing, because i figured that's how it worked. i want to dump when its full or nearing full
duolingo se acerca
You can run the flag --alloc like pgdk mentioned here And do the heapdump If alloc doesn’t give enough insight, then you can open the heapdump with eclipse/jetbrains memory analyzer
GUWAD
GUWADOP2w ago
problem seemed to have went away, i changed some settings in anarchyexploitfixes and i think this stopped it from happening but still keeping an eye out for it. if it was anarchyexploitfixes, what fixed it was turning off tile entity limit, dropped item limit, and non-living limit !solved
Admincraft Meta
Closed post!
Your post has been marked as solved!
Requested by guwad#0

Did you find this page helpful?