Hiya! My paper server keeps having significant lag spikes (3-5 tps)

The CPU is hovering around 10% whilst the ram is only using 9GB (out of 32GB)
66 Replies
Admincraft Meta
Admincraft Meta17mo 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 hmitten#0
QarthO
QarthO17mo ago
!spark
Carl-bot
Carl-bot17mo ago
Spark Profiler
Spark can be used to see why your server or client is lagging. https://spark.lucko.me/
From An unknown user
Admincraft Canned Responses
hmitten
hmittenOP17mo ago
Alright, I'll try that out and get back to you! Thanks!
ProGamingDk
ProGamingDk17mo ago
dont allocate 32 gb give it MAX 16
Zephira
Zephira17mo ago
32gb on a single mc server god damn thats a bit exsessive
hmitten
hmittenOP17mo ago
Yeah, but one of the owners (there are several of us) is quite insistent on it regardless of whether it's logical lol
Zephira
Zephira17mo ago
I've personally never needed to go over 8gb unless i'm doing some like HEAVY modding Is therea a reason why?
hmitten
hmittenOP17mo ago
Out of curiosity, would 8 or 16 be fine for something like a worldeater or quarry (though I feel that should rely more on the cpu anyway, but I'm not quite sure)
ProGamingDk
ProGamingDk17mo ago
yes 32 gb ram is only hurting performance btw due to gc
hmitten
hmittenOP17mo ago
Not a good one as far as I can tell, we should probably work harder to convince him
ProGamingDk
ProGamingDk17mo ago
and not doing anything good
Zephira
Zephira17mo ago
Maybe its time to teach them how ram actually works, alot of hosts boast as ram to be the sole important thing in their hosting service. Just look at https://pebblehost.com/minecraft/budget for an example of that, or https://shockbyte.com/games/minecraft-server-hosting But realisticly 5gb is more then enough for most services, and imo anything over 8 is just a bit exesseive unless you genuinly know what your doing
PebbleHost
Minecraft Server Hosting | Cheap Budget Provider | PebbleHost
Cheap Minecraft Server Hosting at $1/GB, Instant setup with Discord support and a 72 hour refund policy!
Minecraft Server Hosting - Shockbyte
The best Minecraft Server Host for Java Edition and Bedrock Edition. Instant setup for all modpacks and plugins, all server types available, DDoS protection. Starting at $2.50.
hmitten
hmittenOP17mo ago
So would you suggest 8gb or 16gb? Or is it more dependent on the amount of players, etc. Render distance is 16 and simulation is 8 btw Ah, looks like that answers my question Honestly, I don't know very much about ram, cpu, or and of it lol
ProGamingDk
ProGamingDk17mo ago
the cpu is most imporant (single-threaded peformance)
Zephira
Zephira17mo ago
Personaly, 8. If you want to use the other ram slots look into making a proxy system with things like hub worlds; alt game modes, etc. Or just splitting your server this tbh
ProGamingDk
ProGamingDk17mo ago
id go like 8-12 gb depending on player count 16 is rarely needed aka 100+ player servers run fine on 16 gb of ram
Zephira
Zephira17mo ago
What player count do ya think? I've ran 45 concurrent on 8gb fine with purpur
hmitten
hmittenOP17mo ago
Yeah, we do have the option for splitting the server, and at peak times we have maybe 25 players, so I guess we should probably have 8gb I think the issue is that before we were running on pebblehost, and even though we had a good amount of ram, the ram and cpu were so terrible that the server wasn't functioning well, so I guess he kind of overcorrected lol
Zephira
Zephira17mo ago
Look at what your host is using, and compare it to this chart. Its not perfect but it'll give you an idea. https://www.cpubenchmark.net/singleThread.html The higher the better, from my personal experience its best if you run it on a cpu scoring about 2500-3000
PassMark CPU Benchmarks - Single Thread Performance
Benchmarks of the single thread performance of CPUs. This chart comparing CPUs single thread performance is made using thousands of PerformanceTest benchmark results and is updated daily.
Zephira
Zephira17mo ago
My personal host is the bloom performance package which scores about 3500, (Ryzen 9 5950X) and at its all time peak i ran 120 players on an event perfectly fine @hmitten well asside from that, you still have your peformance issues. Do you have a spark report to send over?
hmitten
hmittenOP17mo ago
So we have the Ryzen 9 7950X which scores 4,317 (Sheesh). And yes, I'll send it over now, was just letting it run
hmitten
hmittenOP17mo ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
Admincraft Meta17mo ago
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.
✅ Your server isn't lagging
Your server is running fine with an average TPS of 20.
Requested by hmitten#0 • Page 1 of 3
Zephira
Zephira17mo ago
While the cpu is good, do you have shared or dedicated cores? /vcpus because that makes a big difference yeah you'll need to get a report when the server is lagging this is saying its fine How did you get your number of 3-5 tps before if it wasnt spark?
hmitten
hmittenOP17mo ago
Yeah, it's stopped since It's really weird, because it's not a constant lag but every so often it'll randomly spike That said, we used /tps and MiniHUD, so maybe there are some issues with their monitoring
Zephira
Zephira17mo ago
So how did you get your 3-5tps number beforehand if it wasnt spark? Oh and btw that spark report says you only have about 7gb of ram, not 32. Its possible i've never personally heard of those.
hmitten
hmittenOP17mo ago
Do you think I could send you a link of the plan we got from the provider, and maybe that would help? Because we're paying for "32GB" of RAM, so I don't know how spark works exactly, but I can only assume in that case that we don't have the full amount for some reason?
Zephira
Zephira17mo ago
Yeah send it over
hmitten
hmittenOP17mo ago
Sparked Host — Extreme Minecraft Hosting
Sparked Host - Extreme Minecraft Hosting
At Sparked Host, we offer the best Minecraft Server Hosting with high-quality hardware and 24/7 support all for a cheap price. Start today for as low as $1.
Zephira
Zephira17mo ago
never heard of this company, might be a summerhost lemme have a skim trough for ya
hmitten
hmittenOP17mo ago
Okey dokey, thank you!
Zephira
Zephira17mo ago
So you're paying $110 a month currently?
hmitten
hmittenOP17mo ago
Yeah...
Zephira
Zephira17mo ago
god damn...
hmitten
hmittenOP17mo ago
Though we have it split between 4 people
Zephira
Zephira17mo ago
Still very expensive XD
hmitten
hmittenOP17mo ago
Yeah
Zephira
Zephira17mo ago
Its possible they have dynamic alocation, IE you pay for a full 32gb, but if your not using it it shrinks to about 1-2gb above your current usage. Their a hosting company after all, the more they can save on resources the better
hmitten
hmittenOP17mo ago
Ah, fair enough. Would they normally state that, so I can see if that's the case somewhere?
Zephira
Zephira17mo ago
Depends on the host, most afaik dont as its seen as the standard for most hosters espeaclly if your buying shared and not dedicated like you are
Zephira
Zephira17mo ago
I will persoanlly say i belive you are overpaying drastically https://bloom.host/ if you have a look here at their performance plus plan, you get 2 dedicated cpu cores. a slightly worse cpu, (3500 vs 4300) access to split the server into 3 different ones, 10 offsite backups (vs your 3) and 10 mysql databases (5 more then yours), no slot limit, 8gb or ram (more then enough for most use cases, and still well above what your currently using) 100gb less storage (doesnt matter to much due to the extra databases) the same panel, the same pre installed jars, a free reverse proxy, dedicated ip. etc. For $24 compared to your 100+ its better in some aspects, worse in others. But just from a price to performance comparison i personally think its much higher value. Bloom isnt the only company btw, just the first that comes to mind looking at other hosters you can also get a similar setup for cheaper.
Bloom.Host
Bloom Host | Dedicated Minecraft Hosting, VPS and Bare Metal
Bloom offers Ryzen 9 dedicated Minecraft server hosting, dedicated Virtual Private Servers and Bare Metal. Experience the outstanding performance of Bloom!
ProGamingDk
ProGamingDk17mo ago
what location
hmitten
hmittenOP17mo ago
Just a few questions, because my compatriot stills needs convincing about the ram lol (he wants to decrease to 24gb instead opf 8 or 16) - He was saying that because the server isn't optimized in terms of plugins for lag and compatibility etc., he still thinks we should have more. We have had to deal with some memory leaks from a plugin in the past. So do you think, regardless of that, 8 or 16 gb should be enough? (I must admit none of us are particularly understanding of the mechanics of computer architecture) Server is based in London if that's what you mean
ProGamingDk
ProGamingDk17mo ago
also with ur player count theres no need for the r 7950x tbh, its ig nice for the view distance could just get a hetzner dedi at that point for r9 7950x3d 128 gb
Zephira
Zephira17mo ago
Its very simple, show him the spark report of you using less then 10gb. If your using less then 10, why would you need over double that?
hmitten
hmittenOP17mo ago
Okay, I'll read through this (though I fear some will be resistant to a provider change, as it's somewhat of a pain).
ProGamingDk
ProGamingDk17mo ago
its using 4 atm lmao
Zephira
Zephira17mo ago
exactly XD
hmitten
hmittenOP17mo ago
He's somewhat headstrong, and again none of us are very experienced with computers XD It almost feels like superstition for him lol
Zephira
Zephira17mo ago
in terms of bloom and most other hosters afaik they have an easy import feature, just add your old sftp credentials and it'll do the rest If you want i can join the server and give a detailed explanation, i've been doing tech shit for over 5 years now xD
ProGamingDk
ProGamingDk17mo ago
yup
Zephira
Zephira17mo ago
professionally too
hmitten
hmittenOP17mo ago
Is Bloom the most reliable you think? Last time we were researching we tried to use the internet, and most sources (like reddit) were a cesspool of bots of course
ProGamingDk
ProGamingDk17mo ago
yes tbh internal splits are super nice if u want a network at soem point
Zephira
Zephira17mo ago
Imo bloom is one of the best hosters on the market right now, however due to your location i'd personally suggest looking into a dedicated VPS, over a commersial hoster bloom doesnt have uk based servers
hmitten
hmittenOP17mo ago
How does that work?
Zephira
Zephira17mo ago
espeaclly if your willing to pay over 100 a month What do you want to know?
ProGamingDk
ProGamingDk17mo ago
i would go baremetal when over 100 vps just loose a good amount of performance
hmitten
hmittenOP17mo ago
I'd like to say everything lol, though I'd don't want to use too much of your time
ProGamingDk
ProGamingDk17mo ago
and has overhead
Zephira
Zephira17mo ago
vps is more of a gerneral term ofc baremetel for that price Alright how about this, wanna pop into a vc or smth? I can answer every question you and your team have i've got a pretty decent experience backing me easier then flooding 500 messages here xD
ProGamingDk
ProGamingDk17mo ago
thats kinda what this is made for Xanthus lmao
Zephira
Zephira17mo ago
ahahah well that is true but none of the other team members are here in the chat are they hense the suggestion
hmitten
hmittenOP17mo ago
I'd definitely like that! !solved
Admincraft Meta
Admincraft Meta17mo ago
post closed!
The post/thread has been closed!
Requested by hmitten#0

Did you find this page helpful?