Server side via paper plugin performance

Hi I'm running the server side distant horizons plugin but it seems to get pretty bad performance. It uses 3.68% of a tick with only 400 players connected. Attached a screenshot from our spark report and can provide the full report as well. Is there any config settings I can tweak to increase performance? Running DHS-0.8.1_for_MC-1.21.1.jar Thanks
No description
18 Replies
Jckf
Jckf4w ago
Get the latest nightly. Encode has been moved to a separate thread
The60th
The60thOP4w ago
Thanks I'll check that out. Is it running async / netty thread?
Jckf
Jckf4w ago
Just an async future I'm curious about your server setup btw. You say "only" 400 players, but that's a very large number in my book. How are you dealing with that, and how many of those 400 are using DH?
The60th
The60thOP4w ago
So right now not many using DH because I just added the support this week but going to push people to start using it along with a few other client side mods we made internally. Its like a geo-pol pvp server so downtime is pretty small like 100-200 online during the week. But the weekends / during events we have more like ~800. Was just doing the inital testing with DH server side to see if it ran well at all. I swapped over to whatever the latest build on gitlab was and noticed zero impact now so thanks!
Jckf
Jckf4w ago
What kind of hardware and software do you use? Is it a single Minecraft server, or a proxied setup?
The60th
The60thOP4w ago
AMD Ryzen 9 9900X 12-Core Processor, its behind a velocity proxy of course but the game instance itself is only a single server. Just running on a custom spigot version with a lot of work towards optimization. This weekend after release if I see any thing interesting in sparks from DHSupport I'll toss you over a report of it.
Jckf
Jckf4w ago
Cool, that's the same CPU we have in our SMP. Excited to hear how it goes
Yeshi
Yeshi4w ago
is it some kind of folia type setup? our smp struggles with far less players for context (same cpu, too)
The60th
The60thOP4w ago
No, its just single instance no folia / multipaper, but a paid paper fork. A lot of it comes down to the gamemode we are towny ish server so a lot of things like mob spawning etc are disabled.
Ran
Ran4w ago
@Jckf does the mod work in multipaper/foila?
Jckf
Jckf4w ago
The plugin does yes
Ran
Ran4w ago
Plugin*
Jckf
Jckf4w ago
Although on Folia it performs LOD building on the region thread, which is not good Todo*
The60th
The60thOP3w ago
Hey just coming back to this. We ended up having some issues, when running with around 200-400 players we would see weird mspt spikes. I'd average like 10-20 mspt, then spike up to 100-200 for a few ticks in arow. I couldn't really track it down to anything in DHS ;/ But after removing the plugin it got fixed. From lookg at some cpu stuff, htop/top etc at the container level it seemed like it might be related to lots of GC collects happening. If you've seen anything like that before let me know and I can check provide somemore data where possible
Jckf
Jckf2w ago
Thanks for reporting back. Was that during generation, or had you pre-generated the LODs? I've pushed some (untested) changes to develop just now that should give the GC less to deal with, if you wanna be a gunnea pig
The60th
The60thOP2w ago
I didn’t do any pregen and it’s a 30k x 30k map with ~300 people spread out so it could just be a lot of generation. Though at one point we did get the map fully generated I believe.
The60th
The60thOP2w ago
No description
The60th
The60thOP2w ago
This was just from someone at like y 10k loading it in for a screenshot

Did you find this page helpful?