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
Admincraft Meta
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
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 clarissayuenyee#0
ProGamingDk
ProGamingDk2y ago
contabo isnt known to be stable
Clarissa Au
Clarissa AuOP2y ago
i know contabo is fucked but normal ping values is normal at ~70 on my pc
QarthO
QarthO2y ago
Skript, dynmap, fast sync world edit are all resource hogs
ProGamingDk
ProGamingDk2y ago
overused cpu (which contabo has) could overload the netty threads causing ping issues
QarthO
QarthO2y ago
Would also be more helpful to try and run a spark report while it’s lagging
ProGamingDk
ProGamingDk2y ago
he's not having tps lag
ProGamingDk
ProGamingDk2y ago
they are talking about this
No description
ProGamingDk
ProGamingDk2y ago
atleast from what i know
Clarissa Au
Clarissa AuOP2y ago
apart from it there is the uncalled for extreme mspt (max 4370 mspt)
ProGamingDk
ProGamingDk2y ago
meh its a lag spike med is at a ok level so is min ur using contabo u cant expect much
Clarissa Au
Clarissa AuOP2y ago
hmm is there budget VPS that are one step above contabo?
ProGamingDk
ProGamingDk2y ago
dont use a vps for mc especially when ur on a budget
Clarissa Au
Clarissa AuOP2y ago
I do have other service and stuff on the vps
ProGamingDk
ProGamingDk2y ago
well then, either use oracle cloud for a free vps to host services, and a cheap mc host for mc
Clarissa Au
Clarissa AuOP2y ago
im not fully convinced for the cheap mc host tbh
ProGamingDk
ProGamingDk2y ago
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
timthebull
timthebull2y ago
Depending on your player count or amount of plugins it may be good for you to get a dedicated server.
ProGamingDk
ProGamingDk2y ago
she had 2 players and you only want a dedi if u have more than 1-2 + proxy server tbf
timthebull
timthebull2y ago
No need then VPS should be fine but yeah contabo isn’t known for stability
Clarissa Au
Clarissa AuOP2y ago
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
timthebull
timthebull2y ago
What is your max player count?
Clarissa Au
Clarissa AuOP2y ago
say ~30
ProGamingDk
ProGamingDk2y ago
no need for a dedi at that player count tbh
Clarissa Au
Clarissa AuOP2y ago
i know but im not comfortable with managed mc hosts and 2nd ive to pay for another vps to host my other stuff
ProGamingDk
ProGamingDk2y ago
or use oracle free tier with backups (so you wouldnt have to pay) (for your other services)
timthebull
timthebull2y ago
The CPU on the system is good, if it was not shared by a million other users.
Clarissa Au
Clarissa AuOP2y ago
sigh
timthebull
timthebull2y ago
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.
ProGamingDk
ProGamingDk2y ago
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*)
timthebull
timthebull2y ago
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.
ProGamingDk
ProGamingDk2y ago
they are currently using a vps so its the exact same basically
timthebull
timthebull2y ago
Not aware if they have it managed or not, just making sure lol
Clarissa Au
Clarissa AuOP2y ago
i can do setup myself
ProGamingDk
ProGamingDk2y ago
💀
No description
timthebull
timthebull2y ago
:holyskull:
QarthO
QarthO2y ago
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
Clarissa Au
Clarissa AuOP2y ago
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
QarthO
QarthO2y ago
Well what are you using skript for? Maybe there are already existing plugins that you don’t know about
Clarissa Au
Clarissa AuOP2y ago
some lazy custom commands; and one big fricking skript for a transit card like system

Did you find this page helpful?