I am trying to pregen my world but the cps is TOO slow
I try to pregen my world for 100 chunks but it is showing 6 hours+ with 6 cps. I tried to check the help page but it didn't help, There is plenty server resources too. Pregen starts off great with 1000+ cps but drops to below 50 in seconds. Please help!
135 Replies

@Puhpine (UTC +2) Please help
I wondered if chunky will work with dhs but unfortunately it doesn't
what hardware is the server running
6 cps is raspberry pi territory
AMD Epyc 9654
16 gb ram
74 gb storage
500% cpu usage
5 cores
I do not understand what you trynna say here bro 😭
@Puhpine (UTC +2) bro?
hmm that should be way better than 6-9 cps, even if you only get a small number of the actual cpu
Yes exactly
that its very slow
Something is seriously wrong
And I can't figure out what
I even put the flags
it seems like something is wrong with the server, not DH
imagine 4 cps 😭

can you try removing DH, adding chunky, running chunk, and seeing if cps is different?
Should I call the host owner here?
Yes
I did
Cps works perfectly fine there
oh thats weird
As I said chunky did it in seconds
ah no
you were baited
what 😭
chunky doesnt calculate its radius in chunks
but in blocks
Oh
you generated a radius of 6,25 chunks...
so yeah that will finish fast
I think
but what was the cps?
it calculates in chunks cuz
when I put 100 it goes wayyy more than 100
i am very very confident it doesnt
Hm
what do you mean?
for 11 chunks dhs shows
the total number of chunks?
100 chunks*
wait wait ill compare rq
100 chunks in dhs is
2500 area circle chunks
its square
😭
I'll call the host owner rq-
100 chunk radius in a square, like DH, is 40401 chunks total
40401 chunks is DAYUMMM
but what cps did chunky show
Ill check rq
do /chunky radius 100c to use chunks instead of blocks
on avg its 40
cps

alright thats more like it

you probably just need to increase the scheduler threads in dh's settings
yeah I could work with 40
that gives it more cpu to work with
let me check
you can do that in the config
file
on the server
yes i am in config
it's 4
what do I change it to?
brother left 😭
i forgot
tried finding it in the wiki or from jckf's messages
but i cant find it
does it not have a comment next to it in the file?
it does but

doesn't give much
okay i think you can just set it to use all threads your cpu has
which is probably 5
you said you have 5 cores, but thats probably not true. its probably 5 threads
if it is 5 cores, then you have 10 threads
the host said
i have 5 cores
then i recommend asking if they mean cores or threads
aight ill tell you when they respond
@Puhpine (UTC +2) 10 threads
Aight so it started out on 5k this time, but it's dropped down and is still dropping down
let's see how much it drops down
the 5k at the start is because it skips the chunks it has already generated
and skipping chunks is a lot faster than generating them
bro
@Puhpine (UTC +2)
It keeps decreasinggg
it was 25 rn
then 23
22
it was suppose to be 40 avg
and it's not loading anything now too
18- 😭
im not sure what the issue might be now
maybe someone else knows
Who 😭
Please help
someone else who reads this
im not the only one helping people here
and what do you mean with this?
It's stuck on 980 for like so much time
hhmm weird
lol
Im not gonna read all this, but DHS does work with Chunky. The spike in CPS you see at the beginning is when it skips over all your already existing chunks. It looks to me like you might be using Spigot, which has single-threaded worldgen.
ah yeah forgot about that
thats probably it
the tldr of the convo is: chunky gets 40 cps and DHS gets around 20
and it stalled at 980 at some point
You have to manually tune the number of threads in DHS to match Chunky's performance. But it will always be slightly slower because DHS is then generating chunks AND lods
leaf
6*
6 cps to be exact
It's 6 cps... While Chunky is doing 40...
And i think you are trying to say dhs works with chunky?

@Jckf (GMT+2) what do I do?
@Jckf (GMT+2) please tell me does distant horizon support works with chunky or not
You should use paper instead of spigot
I am using LEAF bro 😭
It's a better fork of paper
Ah okay
I don't know then
😭
Btw
I checked chunky
it's now giving 4 cps too
😭
Oh oof
It does. No issues.
It sounds like you have general performance issues, unrelated to DHS or Chunky.
What type of storage?
Worldgen mods or data packs?
Whattt
95% of the people i've asked
said "Nah it don't work it with 100% gaurentee"
DH doesn't play well with Chunky. DHS has no issues.
It is probably server issue
Let me
change hosts
and check if the issue remains
Worst case just generate your world and LODs locally, then upload to the host
T-T
Idk how that's done either
Just run your server on your own machine
Nah my pc sucks.
Rip
@Jckf (GMT+2)
Is 15 cps fine?
Depends on your patience 🤷♂️
Aight so I changed hosts
and now I have 100+ cps
And I noticed that
my dhs chunks aren't showing up
what do i do?
@Jckf (GMT+2)
Please stop pinging me
I'll see your messages when I check Discord
Post a screenshot of your game with the F3 overlay enabled
Aight I'll send soon
Just to make it clear
I can join the server
with any view distance
and it will still show me all chunks
Right?
@Jckf (GMT+2) (Sorry for ping, Last time)
I will now ignore this thread. Good luck.
That would be rude
Pinging devs/administration when asked not too is too
I said sorry
😭
mb gng
Anyways
That issue is fixed
I am getting 40 cps
which is fine
I just need to know 100% sure that chunky goes well with dhs
Like confirm it one last time
cuz I don't wanna generate the same thing twice with different plugins
For the third time; yes. You can use Chunky with DHS.
You don't need to ping someone every time you have a question. Jckf reguarly checks the discord and answers questions whenever he wants to.
I don't mind occasional pings, but I had gotten 5 in this thread before asking him to stop.
To cap it off; he tagged me and then went offline for several hours even though I responded immediately
Peak
Truly amazing
I said sorry.
Cut it out
Anyways
this is my screen after loading 100 chunks

this is not 100 chunks
this is 32 chunks
You still have not posted this
da heck
also can y'all ping me when you reply?
I forget to check sometimes.
ill send rq
[15:54:16 INFO]: [Chunky] Task finished for world. Processed: 63001 chunks (100.00%), Total time: 0:00:29
one of my devs got chunky working on 2.5k chunks per second
and this happened
The short run time and high CPS probably means that all those chunks already existed
nono
he did something

that all of the server resource, every single thing worked on cps making
Do you even have DH installed on your client?
no
So in order to play on multiplayer
I have to install dh on my client??
Yes
If you want to be able to see further than vanilla you need DH on your client
nah
💀
a plugin can't magically extend your render distance or your client
whats the point of the plugin then
😭
thas.
I see
Let's see if a datapack has that kind of owrk
or a plugin maybe
that the generation of the LODs is done on the server
Impossible
what
A server cannot modify your client
As far as I know, DH is the only solution that has proper multiplayer support
If that were possible we would have a major security issue
😭
ow
you need DH installed on the client for the server to be able to send you LODs
COME ON
I thought it was purely server based 😭
no??
☝️
maybe I can edit that using server's forced render distance?
no
😭
aaah man
Just install DH on your client
Again, its impossible for the server to send you LODs without the client having DH installed
SpigotMC - High Performance Minecraft Community
View Distance Tweaks
this plugin does the work
BUT its for 1.20
Try running that with a render distance of 1024
This plugin will dynamically adjust the view distance and simulation distance of each world in order to meet your server's needs.it doesn't
Then DH with a render distance of 1024
And compare FPS
wdym
It just changes it based on performance
It doesn't give you a extended render distance
And as jckf said, you will not be able to run a minecraft render distance of 1024 without a LOD mod
even nvidium will struggle with render distances that high
oof
The simplest solution is to simply install dh on your client like I've said before
If you want anything above 32 chunks, you'll have to install a mod on the client anyway
yep