TheOriginalGolem / Hbm-s-Nuclear-Tech-GIT

My fork of the HBM's nuclear tech mod.
GNU General Public License v3.0
32 stars 17 forks source link

Lags from tile entities #68

Open KaxelOleg opened 1 year ago

KaxelOleg commented 1 year ago

Screenshot_1 I really love your mod and use it in all my technological modpacks and would like it to continue like this, but I decided once to check for lag mechanisms from HBM and found something interesting. The internal combustion generators and the assembly machine start lagging when they start working. I'm not saying that the server is starting to slow down, no, I just would like to know if they can be made more optimized? I'll attach a screenshot to you for more persuasiveness. I used the Lag Googles mod to find the sources of server micro-lags, and compared to Immersive Engineering and the rest of the mods, it is HBM that lags the most, although smeltery from Tinker's Constuct lags as much as 30 times more. In the screenshot, when the mechanisms are working, their lags increase by an average of 3 times.

TheOriginalGolem commented 1 year ago

The combustion generators are probably because of the current inefficient power system, that will be revamped soon. I might have an idea about the assembler but will have to first double check something

Njet75 commented 1 year ago

The same applyes to RBMK reactors and maybe related to powersystem?

reackt

DNIWE041 commented 1 year ago

The same applyes to RBMK reactors and maybe related to powersystem?

RBMK is hard to compute by itself. We need to check all the columns to be sure that the structure has not changed. We need to compute steam generation, heat, fuel decay, flux and etc. And all this every tick. Of course it can be optimized, but it's a difficult. I think it's not about power system (rbmk doesn't generate energy).