Regarding DH perfomance on server
Anyways to lower the amount of ram it needs or would adding more ram to the server be optimal
28 Replies
I finally convined these people to add it
but once it was added it pretty much ate up majority of the ram dedicated
The server has 32 and when dh was added it was pushing 31/32
RAM usage for server-side is different compared to client-side. The server will be loading up more data the more players there are on the server.
Mod or plugin?
Both will use the most amount of RAM while doing LOD generation, and when it has just been installed obviously it has to generate for the entire world, which can be quite intensive.
Once the initial generation has completed it will only be doing updates in areas where changes are detected.
There are ways to slow it down in order to conserve resources, but how you do that will depend on wether you have the mod or the plugin.
Mod
Do you think once the pre gen command is done running the ram usage will go down?
Oh I see, so for the modded version is that possible?
Yes :)
So basically just sdding distant horizoms to your server shouldnt drastically increase the ram usage
Not unless DH is actively working on LOD generation, which it will be in this case
Okay...
So about player counts
Whats the ideal player count to have with the mod enabled (not pregen chunks; this is after they're done)
It sits at about 90-110 on average
Not everyone will be using DH
Don't know if I have a good answer to that one. Each player will have to download a lot of LODs initially, which requires about 8 Mb/s per player. But assuming every DH player doesn't get on for the first time at the same time, that's not a big deal for most servers
I see. Do you know the amount of players the dh smp peaked and how it ran?
We can probs use that for reference
Our SMP has a lot of other mods and datapacks too, and everyone used DH
But I guess we peaked around 80 maybe?
@Yeshi (GMT+2)
Ohh well to be fair we’re running about 200 mods lol
Everyone running dh could be a difference tho
You’d say the server runs relatively well though right?
Ram isnt maxed out
During normal operation RAM shouldn't be an issue
I don't have specific numbers for the mod version, but the plugin version can run generation with less than 1 GB allocated
50 at the beginning
Mspt starts to suffer with more than 30 players
Sure, but was that DH's fault, or something else weird with our setup?
Dang..
So I think dh installed on the server wouldnt be optimal here
No worries I’ll still suggest players to use it client side
They’ll just have to explore themselves
I haven't seen any evidence that suggests the performance issues was because of DH
Do your own testing
It could honestly be the other 200 mods
On our server I mean
Im trying to convince the owner for our server to add it but my case isn’t looking too good..
He just sent me a screenshot of the servers ram peaking 31/32gb after adding dh
Like I said, during generation it will use a lot of resources, but this can be tuned - and it will reduce a lot once generation is done
Additionally: RAM is there to be used
If you allocate 32 GBs, expect the server to use 32 GBs
Having a lot of RAM but not using it is like having a large house but leaving a bunch of the rooms empty
But it sounds like the server owner is disinterested in putting any work into making it work if they just dropped it in and got upset without looking at the config or coming here themselves
Lol yeah hes more of a Bobby mod guy
And just has his negative opinions on dh
He banned it from the server because of x ray possibilitrs
Which is kinda sad
So i made a thread suggesting it should be unbanned and he looked into it
Now we’re in the phase of getting it to run on the server
Opened this thread for more info on dh so I can give more reliable info to make this whole thing viable
I’ll probs add him to the thread so im not relaying info back and fourth
Fair
You can't do that
Well, not easily at least
You can ofc just have it in the rules, but idk how you'd enforce it
Client and server communicate at the start to know if the other exists, so you could make a mod that communicates as dh and bans you if it gets a response.
Ik, you were in a ticket I opened up a while back
asking if its a good reason to ban dh just because of it's x ray capabilities
you said I could possibly add anti x ray mods
which I plan on doing
that to
At the end of the day, I'd like to garner enough information to provide the owner on why he should add DH
and then how to make the mod run smooth for 100-200 concurrent players
I already convinced him to add it, I just need to find a way to make this run smoothly
Would the plugin version of dh be considered less resource intensive?
I would say so. It is designed very differently compared to the mod. This means the two don't have feature parity, but fundamentally they both achieve the same thing
@jbass A performance improvement was pushed to the mod today. Grab the latest nightly and try your server again.
Appreciate the heads up, I'll check it out