GregTech 4

GregTech 4

5.7k Downloads

World generation of granite hangs the internal server

Ayliroe opened this issue ยท 5 comments

commented

Issue:
Vanilla Minecraft worlgen is normally able to keep up with a gravisuite at full boost. However, when GT4 is present (and especially in singleplayer), the internal server hangs for 10 seconds or more every dozen chunks.

When this happens, mobs stop moving and huge unloaded chunk walls occur:
image

This is most probably due to the internal server having to generate huge volumes of granite/basalt. The problem disappears or is greatly reduced when editing WorldGeneration.cfg and dividing by 4 the size of overworld granite layers.

Reproduction steps:

  • Make a clean setup with IC2 and GT4
  • Generate a new map, move around fast (especially noticeable with a boosted GraviSuite and 10+ view distance).
  • Chunk loading will hang in straights walls at regular intervals, all mobs will freeze in the meantime.
  • Close the game, reduce the values in WorldGeneration.cfg, open the same map again
  • Game now keeps up with the Player at any speed

Occurs with and without optimization mods like FoamFix/Fastcraft/BetterFps.
The issue compounds substantially when using a lot of worldgen mods, making moving around really tedious even at slow speeds.
Could be related to this: https://www.reddit.com/r/feedthebeast/comments/5x0twz/investigating_extreme_worldgen_lag/

Forge 10.13.4.1614, industrialcraft-2-2.2.827-experimental, gregtechmod-v416.40
i7-7700HQ, GeForce GTX 1060, 16GB of RAM

Cheers!

commented

i would not say that vanila can keep up with ctrl gravi
anyway
i dont see it as a problem
and i think DnK will agree with me

commented

I'm playing with Better Dungeons, ExtraBiomesXL, Forestry, Railcraft, Roguelike Dungeons, Traincraft, etc, which all add to the overworld worldgen, and the moment I add GT it becomes practically unplayable. I get freezes/huge internal server lags for 30s+ every 4 chunks I move around, often even by foot.
I've checked a dozen times to be sure and this is clearly from basalt gen. The point isn't that the gravisuite is too fast, it's that it really lags out in modpack.^^
(nonetheless in vanilla+Optifine multi-core chunk loading I can roam around at lightspeeds without a hitch)

commented

I'm playing with Better Dungeons, ExtraBiomesXL, Forestry, Railcraft, Roguelike Dungeons, Traincraft, etc, which all add to the

what u were saying only applys to new chunks being generated
it does not effect already generated areas that much

commented

I can confirm this issue, the worldgen of GT4 is rather intensive. Profiling tools like Spark also point to this.

My workaround was to mostly disable GT4 worldgen and move it to COFH's worldgen config, as that one is much more performant. The LostEra modpack config might a good thing to copy and modify for your own purposes.

commented

I can confirm this issue, the worldgen of GT4 is rather intensive. Profiling tools like Spark also point to this.

My workaround was to mostly disable GT4 worldgen and move it to COFH's worldgen config, as that one is much more performant. The LostEra modpack config might a good thing to copy and modify for your own purposes.

I endorse that. Just keep in mind you'd be missing out on the whole granite veins.