Server-side fork cause lags and crashes

Hey, I used Chunky and DH server-side fork to pregen my world (for 10k blocks radius) and when I enable the DistantGeneration, my local server just lags and rollback until it crashes. (crashes are caused by too much latency)

My CPU is a i7-13700KF (24 threads) and here's my dhconfig :
enableDistantGeneration = true
distantGeneratorMode = "PRE_EXISTING_ONLY"
worldGenerationTimeoutLengthInSeconds = 180
lodChunkRenderDistanceRadius = 64
numberOfWorldGenerationThreads = 16
numberOfFileHandlerThreads = 6
numberOfLodBuilderThreads = 16
runTimeRatioForFileHandlerThreads = "1.0"
runTimeRatioForLodBuilderThreads = "0.25"
runTimeRatioForWorldGenerationThreads = "1.0"
enableLodBuilderThreadLimiting = true
minTimeBetweenChunkUpdatesInSeconds = 1
loginDataSyncRCLimit = 50
genTaskPriorityRequestRateLimit = 50
rateLimitHitTolerance = 10
enableServerNetworking = true
enableRealTimeUpdates = true
enableLoginDataSync = true
sendLevelKeys = true
generationRequestRCLimit = 100
genTaskPriorityDistanceRatio = "3.0"


I'm also using it with plenty other mods but i don't think the lags come from here because it don't lags anymore when i turn off the DistantGeneration on the server side.
Was this page helpful?