MikeLydeamore / Ex-Astris

Ex-Nihilo Addon
9 stars 9 forks source link

Automatic Sieves cause hughe amount of chunk updates. #61

Open tmahring opened 9 years ago

tmahring commented 9 years ago

Hi I'm playing the skyfactory 2 modpack and noticed my performance degraded a lot the further i progressed in the game. After some trying around i found out that this is caused by the automatic sieves (I currently have 32 of them running). When I turn them on and look at the performance graph under shift+f3 root.gameRenderer.level.updatechunks increases a lot and the game becomes very jerky. When I turn them off again the game runs fine.

I have allready tried upgrading the modpack version of this mod to the most recent one from the homepage, the problem stays the same.

sfPlayer1 commented 9 years ago

https://github.com/MikeLydeamore/Ex-Astris/blob/master/src/main/java/ExAstris/Block/TileEntity/TileEntitySieveAutomatic.java#L86 shouldn't be there. Sending the te description packet directly is much better than forcing a retransmit and redraw of everything in the 16x16x16 area containing it.

The same issue applies to the hammerer.

DoomRater commented 9 years ago

I am highly interested in seeing this fixed. This issue means it's next to impossible to mass automate these in a server, especially one that is already hurting, and it also makes the MFR laser drill a bigger priority to avoid lag issues.