Server is lagging when loading chunks

https://spark.lucko.me/RDJbmGujNV This is spark report, we only have 2 players online and they are flying but the mstp has been jumping to above 10.
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
13 Replies
Admincraft Meta
Admincraft Metaβ€’2mo ago
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 tinyhelius#0
Skullians
Skulliansβ€’2mo ago
have you pregenerated? the 5700g isn't the worst cpu but it isn't the best either 17mspt is generally fine, especially if you haven't pregenerated
! Tiny Helius
! Tiny HeliusOPβ€’2mo ago
I have I have been doing that the whole night
ProGamingDk
ProGamingDkβ€’2mo ago
that isnt a lot also leaf isnt a great thing to use tbh
! Tiny Helius
! Tiny HeliusOPβ€’2mo ago
isn't it bad for 2 players with pregen?
ProGamingDk
ProGamingDkβ€’2mo ago
the MAX including basically the start of the server has been 78 ms, and i meant pregen time
TheyCallMeSpy
TheyCallMeSpyβ€’2mo ago
if soulmate exists, then it must connected all time
Skullians
Skulliansβ€’2mo ago
How far did you pregenerate are you pregenerating while playing?
! Tiny Helius
! Tiny HeliusOPβ€’2mo ago
no to the world border and a bit after
β„­π”žπ”―π”¬
I have the same cpu. 17 mspt is a bit high in my experience but that might just be due to less optimization on leaf compared to other server software or if you're running another service in the background. I'm not sure 9gb is necessary but you might have higher player numbers normally in which case it would make sense. Also I'd recommend setting minimum and maximum memory to the same otherwise java screws itself trying to return memory to the os
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
Your tps is 20 if your mspt doesn’t pass 50. 17 is more than fine
β„­π”žπ”―π”¬
☝️
! Tiny Helius
! Tiny HeliusOPβ€’2mo ago
Ok so this is quite weird, with 31 players we didn't pass 13mstp even when they were all loading chunks which seems off to me but we had no lag what so ever and everything is fine. But everything is good now.

Did you find this page helpful?