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
᲼
OP2w ago
No description
᲼
OP2w ago
@Puhpine (UTC +2) Please help I wondered if chunky will work with dhs but unfortunately it doesn't
Puhpine
Puhpine2w ago
what hardware is the server running 6 cps is raspberry pi territory
᲼
OP2w ago
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?
Puhpine
Puhpine2w ago
hmm that should be way better than 6-9 cps, even if you only get a small number of the actual cpu
᲼
OP2w ago
Yes exactly
Puhpine
Puhpine2w ago
that its very slow
᲼
OP2w ago
Something is seriously wrong And I can't figure out what I even put the flags
Puhpine
Puhpine2w ago
it seems like something is wrong with the server, not DH
᲼
OP2w ago
imagine 4 cps 😭
No description
Puhpine
Puhpine2w ago
can you try removing DH, adding chunky, running chunk, and seeing if cps is different?
᲼
OP2w ago
Should I call the host owner here? Yes I did Cps works perfectly fine there
Puhpine
Puhpine2w ago
oh thats weird
᲼
OP2w ago
As I said chunky did it in seconds
Puhpine
Puhpine2w ago
ah no you were baited
᲼
OP2w ago
what 😭
Puhpine
Puhpine2w ago
chunky doesnt calculate its radius in chunks but in blocks
᲼
OP2w ago
Oh
Puhpine
Puhpine2w ago
you generated a radius of 6,25 chunks... so yeah that will finish fast
᲼
OP2w ago
I think
Puhpine
Puhpine2w ago
but what was the cps?
᲼
OP2w ago
it calculates in chunks cuz when I put 100 it goes wayyy more than 100
Puhpine
Puhpine2w ago
i am very very confident it doesnt
᲼
OP2w ago
Hm
Puhpine
Puhpine2w ago
what do you mean?
᲼
OP2w ago
for 11 chunks dhs shows
Puhpine
Puhpine2w ago
the total number of chunks?
᲼
OP2w ago
100 chunks* wait wait ill compare rq 100 chunks in dhs is 2500 area circle chunks
Puhpine
Puhpine2w ago
its square
᲼
OP2w ago
😭 I'll call the host owner rq-
Puhpine
Puhpine2w ago
100 chunk radius in a square, like DH, is 40401 chunks total
᲼
OP2w ago
40401 chunks is DAYUMMM
Puhpine
Puhpine2w ago
but what cps did chunky show
᲼
OP2w ago
Ill check rq
Puhpine
Puhpine2w ago
do /chunky radius 100c to use chunks instead of blocks
᲼
OP2w ago
on avg its 40 cps
᲼
OP2w ago
No description
Puhpine
Puhpine2w ago
alright thats more like it
᲼
OP2w ago
No description
Puhpine
Puhpine2w ago
you probably just need to increase the scheduler threads in dh's settings
᲼
OP2w ago
yeah I could work with 40
Puhpine
Puhpine2w ago
that gives it more cpu to work with
᲼
OP2w ago
let me check
Puhpine
Puhpine2w ago
you can do that in the config file on the server
᲼
OP2w ago
yes i am in config it's 4 what do I change it to? brother left 😭
Puhpine
Puhpine2w ago
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?
᲼
OP2w ago
it does but
᲼
OP2w ago
No description
᲼
OP2w ago
doesn't give much
Puhpine
Puhpine2w ago
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
᲼
OP2w ago
the host said i have 5 cores
Puhpine
Puhpine2w ago
then i recommend asking if they mean cores or threads
᲼
OP2w ago
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
Puhpine
Puhpine2w ago
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
᲼
OP2w ago
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- 😭
Puhpine
Puhpine2w ago
im not sure what the issue might be now maybe someone else knows
᲼
OP2w ago
Who 😭 Please help
Puhpine
Puhpine2w ago
someone else who reads this im not the only one helping people here and what do you mean with this?
᲼
OP2w ago
It's stuck on 980 for like so much time
Puhpine
Puhpine2w ago
hhmm weird
᲼
OP2w ago
lol
Jckf
Jckf2w ago
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.
Puhpine
Puhpine2w ago
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
Jckf
Jckf2w ago
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
᲼
OP2w ago
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?
᲼
OP2w ago
No description
᲼
OP2w ago
@Jckf (GMT+2) what do I do? @Jckf (GMT+2) please tell me does distant horizon support works with chunky or not
Puhpine
Puhpine2w ago
You should use paper instead of spigot
᲼
OP2w ago
I am using LEAF bro 😭 It's a better fork of paper
Puhpine
Puhpine2w ago
Ah okay I don't know then
᲼
OP2w ago
😭 Btw I checked chunky it's now giving 4 cps too 😭
Puhpine
Puhpine2w ago
Oh oof
Jckf
Jckf2w ago
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?
᲼
OP2w ago
Whattt 95% of the people i've asked said "Nah it don't work it with 100% gaurentee"
Jckf
Jckf2w ago
DH doesn't play well with Chunky. DHS has no issues.
᲼
OP2w ago
It is probably server issue Let me change hosts and check if the issue remains
Jckf
Jckf2w ago
Worst case just generate your world and LODs locally, then upload to the host
᲼
OP2w ago
T-T Idk how that's done either
Jckf
Jckf2w ago
Just run your server on your own machine
᲼
OP2w ago
Nah my pc sucks.
Jckf
Jckf2w ago
Rip
᲼
OP2w ago
@Jckf (GMT+2) Is 15 cps fine?
Jckf
Jckf2w ago
Depends on your patience 🤷‍♂️
᲼
OP2w ago
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)
Jckf
Jckf2w ago
Please stop pinging me I'll see your messages when I check Discord Post a screenshot of your game with the F3 overlay enabled
᲼
OP2w ago
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)
Jckf
Jckf2w ago
I will now ignore this thread. Good luck.
᲼
OP2w ago
That would be rude
Miki_P98
Miki_P982w ago
Pinging devs/administration when asked not too is too
᲼
OP2w ago
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
Jckf
Jckf2w ago
For the third time; yes. You can use Chunky with DHS.
Skillnoob_
Skillnoob_2w ago
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.
Jckf
Jckf2w ago
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
Skillnoob_
Skillnoob_2w ago
Truly amazing
᲼
OP2w ago
I said sorry. Cut it out Anyways
᲼
OP2w ago
this is my screen after loading 100 chunks
No description
᲼
OP2w ago
this is not 100 chunks this is 32 chunks
Jckf
Jckf2w ago
You still have not posted this
᲼
OP2w ago
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
Jckf
Jckf2w ago
The short run time and high CPS probably means that all those chunks already existed
᲼
OP2w ago
nono he did something
᲼
OP2w ago
No description
᲼
OP2w ago
that all of the server resource, every single thing worked on cps making
Jckf
Jckf2w ago
Do you even have DH installed on your client?
᲼
OP2w ago
no So in order to play on multiplayer I have to install dh on my client??
Jckf
Jckf2w ago
Yes
Skillnoob_
Skillnoob_2w ago
If you want to be able to see further than vanilla you need DH on your client
᲼
OP2w ago
nah 💀
Skillnoob_
Skillnoob_2w ago
a plugin can't magically extend your render distance or your client
᲼
OP2w ago
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
Skillnoob_
Skillnoob_2w ago
that the generation of the LODs is done on the server
Jckf
Jckf2w ago
Impossible
Skillnoob_
Skillnoob_2w ago
what A server cannot modify your client
Jckf
Jckf2w ago
As far as I know, DH is the only solution that has proper multiplayer support
Skillnoob_
Skillnoob_2w ago
If that were possible we would have a major security issue
᲼
OP2w ago
😭 ow
Skillnoob_
Skillnoob_2w ago
you need DH installed on the client for the server to be able to send you LODs
᲼
OP2w ago
COME ON I thought it was purely server based 😭
Skillnoob_
Skillnoob_2w ago
no??
Jckf
Jckf2w ago
☝️
᲼
OP2w ago
maybe I can edit that using server's forced render distance?
Skillnoob_
Skillnoob_2w ago
no
᲼
OP2w ago
😭 aaah man
Skillnoob_
Skillnoob_2w ago
Just install DH on your client Again, its impossible for the server to send you LODs without the client having DH installed
᲼
OP2w ago
᲼
OP2w ago
this plugin does the work BUT its for 1.20
Jckf
Jckf2w ago
Try running that with a render distance of 1024
Skillnoob_
Skillnoob_2w ago
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
Jckf
Jckf2w ago
Then DH with a render distance of 1024 And compare FPS
᲼
OP2w ago
wdym
Skillnoob_
Skillnoob_2w ago
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
᲼
OP2w ago
oof
Skillnoob_
Skillnoob_2w ago
The simplest solution is to simply install dh on your client like I've said before
Jckf
Jckf2w ago
If you want anything above 32 chunks, you'll have to install a mod on the client anyway
Skillnoob_
Skillnoob_2w ago
yep

Did you find this page helpful?