Performance issues when using irrigation system
xtremeqg opened this issue ยท 9 comments
The wooden irrigation channel used in average quantities (say 30-50 connected channels) when partially filled with water causes considerable drain on CPU resources. FPS dropped from 45 to 12 simply having them loaded in the world, they do not need to be visible. Performance returned to normal levels by either leaving them empty or removing them.
I'm having bad lag spikes in my agricraft farmng area also. Several stacks of channels and quite a few sprinklers. The performance hit goes away when I'm far enough away. The area is virtually unplayable (2-3 FPS). Normal isn't the best either (9-10 FPS) but manageable.
Current version for now (1.4.3).
Did some testing myself: 4 3x3x3 tanks feeding into one 5x10x5 tank. This tank then feeds 4 irrigation systems which irrigate 16 farms, FPS is stable around 60, with occasional dips of 5~10fps:
http://puu.sh/l4vUt/905d905678.jpg
http://puu.sh/l4vX6/d36411a59f.jpg
http://puu.sh/l4vYe/a5ad0bdd6f.jpg
http://puu.sh/l4w05/4a223248f3.jpg
http://puu.sh/l4w14/a00f534389.jpg
http://puu.sh/l4w20/59f5502897.jpg
http://puu.sh/l4w3i/7601e34f72.jpg
http://puu.sh/l4wrB/6f7a396a26.jpg
Ironically the largest performance impacts comes from the block updates caused by crops growing, which forces chunks to re-render. If your machine can't handle it I suggest reducing the size of your farms. 10/10 crops really give a huge yield as it is.
At the time I did not have any crops that were not fully grown so it could not have been block updates. I'm using AgriCraft-1.7.10-1.4.3, same as @Armigus.
still quite a huge fps drop for just that setup though. can you remove the bc pipes (so its just the irrigation system) and see how that impacts fps? It might be interaction between pipes and tanks which Im handling wrongly.
The issue there would be the interaction between pipes and tank, but not the agricraft tanks - the mariculture one. There is a known bug where BC fluid pipes connected to Mariculture tanks causes an FPS drop