Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chunkloading/gen is slow #31

Open
AechtRob opened this issue Apr 30, 2020 · 8 comments
Open

Chunkloading/gen is slow #31

AechtRob opened this issue Apr 30, 2020 · 8 comments
Labels
1.12.2 Issue references 1.12.2 mod version testing-needed Issues that need further testing

Comments

@AechtRob
Copy link

AechtRob commented Apr 30, 2020

With the newest release of the mod lavadynamics-1.12.2-5.6.13.jar (good stuff!), for the worldgen=true option, chunk generation is very much slower than before. I guess the new way of doing world gen is ticking a lot of blocks? Is there any chance of improving performance? Or any suggestions about what approach to take in the config to reduce lag in loading chunks?

@eleksploded
Copy link
Collaborator

Hmm. I have it using the same system as dynamic generation now. I'll have to do some research. (Sorry about a late response)

@eleksploded eleksploded added the testing-needed Issues that need further testing label May 5, 2020
@AechtRob
Copy link
Author

AechtRob commented May 5, 2020

I'm not 100% sure. It could well be my imagination. Or just the PC being a inconsistent. But for world-gen volcanoes, if I set this low then it lags, but higher seems to improve things (2500 is "higher"). I'm not sure why this is involved in world-gen at all though! Just dismiss this if it's impossible for this to affect it.

# Cooldown between trying to generate a volcano
# Min: 1
# Max: 100000
I:volcanoCooldown=2500

@eleksploded
Copy link
Collaborator

The cooldown is a count of chunks needed before a chance to spawn a volcano is run again. Since I am using the same system as dynamic generation, the cooldown is now being respected in worldgen. However, that shouldn't effect performance that much since it is just a counter.

@eleksploded
Copy link
Collaborator

It's possible the the hanging could be from writing to the storage files, in which case it would be a pc problem. Are you using a hard drive or an ssd?

@AechtRob
Copy link
Author

AechtRob commented May 5, 2020

A hard drive, but there's nothing of concern with that.

I think that my CPU does sometimes struggle with modpacks, though it's not poor by any means (Intel Core i5 4690K Processor 3.5 GHz). I'm not sure why it sometimes seems to stress out. If you like, next time I play with the mod I'll put a system monitor on and try to see whether any resource is being pushed hard for chunkloading in the absence of a volcano.

Volcanos take a while to render in when they do appear, and the chunks can stop loading in for a bit while the volcano gets created - I am pretty sure that's RAM-related though, even though I am assigning 12GB to the pack and the GPU has an additional 5GB onboard - the pack is a monster. I'm working on reducing load by other means with the pack.

@eleksploded
Copy link
Collaborator

I have noticed a lot of lag, which I'm assuming to be coming from the fire. I'm going to push a build with an option to disable the fire and we'll see if that helps.

@AechtRob
Copy link
Author

AechtRob commented Jun 8, 2020

Having played this plenty now, the lag comes when the world decides to generate a volcano (this is in "world gen" mode). the chunks stop loading in when it decides to spawn one, and it takes a few seconds for the volcano to spawn in in loaded chunks and then each new chunk around the perimeter take s awhile to render. I think it's just what it is.... I have the same kind of performance when a mod like Natura decides to spawn in one of its massssive world-gen redwood trees for example.

@eleksploded
Copy link
Collaborator

Ah, its would be the world processing all the blocks being placed then. There isn't much I can do about that then,

@eleksploded eleksploded added the 1.12.2 Issue references 1.12.2 mod version label Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.12.2 Issue references 1.12.2 mod version testing-needed Issues that need further testing
Projects
None yet
Development

No branches or pull requests

2 participants