Strange Minecraft Pingspike
https://spark.lucko.me/Ph6fbwrBC0
via htop I can see that as players fly the ping suddenly rise to untenable levels and the cpu usage is at ~50% across all 6 core compared to the normal ~10% background cpu use. Would like some tips on where is the issue point.
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
41 Replies
Spark Profile Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
❌ tick-rates.mob-spawner
Increase this in config/paper-world-defaults.yml.
Recommended: 2.
❌ tick-rates.container-update
Increase this in config/paper-world-defaults.yml.
Recommended: 3.
❌ tick-rates.grass-spread
Increase this in config/paper-world-defaults.yml.
Recommended: 4.
❌ entities.spawning.despawn-ranges.ambient.soft
Decrease this in config/paper-world-defaults.yml.
Recommended: 28.
❌ entities.spawning.despawn-ranges.ambient.hard
Decrease this in config/paper-world-defaults.yml.
Recommended: 96.
❌ entities.spawning.despawn-ranges.axolotls.soft
Decrease this in config/paper-world-defaults.yml.
Recommended: 28.
❌ entities.spawning.despawn-ranges.axolotls.hard
Decrease this in config/paper-world-defaults.yml.
Recommended: 96.
❌ entities.spawning.despawn-ranges.creature.soft
Decrease this in config/paper-world-defaults.yml.
Recommended: 28.
❌ entities.spawning.despawn-ranges.creature.hard
Decrease this in config/paper-world-defaults.yml.
Recommended: 96.
❌ entities.spawning.despawn-ranges.misc.soft
Decrease this in config/paper-world-defaults.yml.
Recommended: 28.
❌ entities.spawning.despawn-ranges.misc.hard
Decrease this in config/paper-world-defaults.yml.
Recommended: 96.
❌ entities.spawning.despawn-ranges.monster.soft
Decrease this in config/paper-world-defaults.yml.
Recommended: 28.
Requested by clarissayuenyee#0 • Page 3 of 4
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 clarissayuenyee#0
contabo isnt known to be stable
i know contabo is fucked but normal ping values is normal at ~70 on my pc
Skript, dynmap, fast sync world edit are all resource hogs
overused cpu (which contabo has) could overload the netty threads
causing ping issues
Would also be more helpful to try and run a spark report while it’s lagging
he's not having tps lag
they are talking about this
atleast from what i know
apart from it there is the uncalled for extreme mspt
(max 4370 mspt)
meh its a lag spike
med is at a ok level
so is min
ur using contabo u cant expect much
hmm
is there budget VPS that are one step above contabo?
dont use a vps for mc especially when ur on a budget
I do have other service and stuff on the vps
well then, either use oracle cloud for a free vps to host services, and a cheap mc host for mc
im not fully convinced for the cheap mc host tbh
or deal with ur current situation, etc
if u use a trusted one its gonna be a heck of alot better
+ with vps u have virtualization overhead
Depending on your player count or amount of plugins it may be good for you to get a dedicated server.
she had 2 players
and you only want a dedi if u have more than 1-2 + proxy server tbf
No need then
VPS should be fine but yeah contabo isn’t known for stability
rn it is debugging time
this is not a time my playerbase frequents
it is literally postmidnight so most of the playerbase is sleeping
im considering offers for dedicated
What is your max player count?
say ~30
no need for a dedi at that player count tbh
i know but im not comfortable with managed mc hosts
and 2nd ive to pay for another vps to host my other stuff
or use oracle free tier with backups (so you wouldnt have to pay) (for your other services)
The CPU on the system is good, if it was not shared by a million other users.
sigh
The one downside of Virtualization. Cheap but like @ProGamingDK said it’s usually overused and this increases ping
Dedicated means you get the entire system to yourself, no sharing.
dedicated mc hosts do exists and provide a good level of service
benefit of mc hosts is that they run in docker which has a WAY lower overhead than virtualization
(most do*)
Also worth noting that if you do get a normal dedicated server you’d have to set it up yourself as they would just install the OS of your choice. I run my server on Ubuntu 20.04.
they are currently using a vps
so its the exact same basically
Not aware if they have it managed or not, just making sure lol
i can do setup myself
💀
:holyskull:
I think the first step is to minimize cpu usage on what u currently have, and after do everything u can, then it’s time to look for different package plan or host
One of the biggest cpu eaters is chunk generating. I’m not seeing chunky in ur plugin list. Not sure if you’ve already pregen’d ur world then removed it. But doing that would be a great first step
You have dynmap, which is highly NOT recommended. The plugin is awful compared to its counterparts.
Pl3xmap for a much lighter alternative, it only has a 2d map, but imo the 2d is significantly better than dynmap. They also have a plot squared addon
Blue map if you want to keep the 3D.
Skript might be one of ur biggest problem plugins. It’s poorly optimized. You should be looking for alternative more optimized plugins for each skript u made that will do what u want
You also have light cleaner, which I’m assuming fix’s light errors, which I believe paper already has a built in command
You also have better prefix, which just briefly looking at the spigot page, you can do everything that it does with luckperms and TAB, which u already have
Actually, I see u don’t have a chat formatter. Which I know the usual go to is LPC. But I’m not sure the performance difference between the two, so scratch the last one
But yeah, I’d just try to remove unnecessary plugins, or look for modern more optimized alternatives
I know skript is bad but tbh I don't have enough time to write custom java plugins myself
will try the new map software
the map itself is pregenned so no chunk generation is necessary
I use TAB for it
I like it for being just enough
spark perf don't even list it soooo
i think it is good enough
skript is one of the major pain points and can take up to 6% of the tick loop where the mspt is more around 20 or so
Well what are you using skript for?
Maybe there are already existing plugins that you don’t know about
some lazy custom commands; and one big fricking skript for a transit card like system