Stable TPS until triple digits -- instant drop

Hello, I own a relatively large 1.8 server. The server will run fine with around 18 to 19 TPS until it reaches triple player counts, where it will almost instantly drop to around 10 immediately, later becoming ~4 TPS as the server reaches a player count of 120 or so. I'm really not sure what to do, and I've provided a link with my timings. Any help is appreciated! Server has 10GB of ram but even at higher player counts it will never use above 7. I do have more ram to allocate though. I'm using velocity if that matters at all. https://timin.gs/?id=d637f1e66d0a4af9a811be74269848f7
Timin.gs
Timin.gs - Analyse Minecraft server performance.
16 Replies
Snow Kit
Snow Kit4d ago
well, that timings report claims the issue is oversleep, which would be caused by a bad server host (or I misread the report, which is possible), but I'd also prefer a spark profile if possible
hooman
hoomanOP4d ago
Is there any way to optimize the oversleep or is the only solution to get a better host? Here’s my spark report: https://spark.lucko.me/VqHKgoctdP
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Snow Kit
Snow Kit4d ago
is this running on oracle cloud's free tier?
hooman
hoomanOP4d ago
Yes
Snow Kit
Snow Kit4d ago
yeah, so you're server's CPU is at almost 100% right now
No description
hooman
hoomanOP4d ago
it still seemed to occur when it’s at around 80% systemwide so I thought that wasn’t the issue
Snow Kit
Snow Kit4d ago
also most of the lag is coming from just players flying around
hooman
hoomanOP4d ago
it’s survival so flying should be disabled… Nobody is flying except me
Snow Kit
Snow Kit4d ago
oh I might've misread it does that spigot fork have any packet rate limiting?
hooman
hoomanOP4d ago
It’s imanity and I don’t think so
Snow Kit
Snow Kit4d ago
yeah, could be a malicious player spamming packets
hooman
hoomanOP4d ago
I have viaversion installed and I’ve heard that there’s a packet limiting feature Lpx didn’t support java 11 last time I checked
Snow Kit
Snow Kit4d ago
can you not use java 17?
hooman
hoomanOP4d ago
It broke either the previous spigot I was using or one of the plugins, I’ll check in a bit also, for velocity should it be running in 21?
Snow Kit
Snow Kit4d ago
I mean, if all your plugins work, it probably doesn't matter too much
hooman
hoomanOP3d ago
I barely have any plugins in velocity soooo Yeah java 17 works i'm gonna bump this thread i'll probably be getting new hosting but I do need a temporary fix

Did you find this page helpful?