Integrated Dynamics

Integrated Dynamics

63M Downloads

Performance issue for export of list of items

uhloin opened this issue ยท 11 comments

commented

Issue type:

  • ๐Ÿ› Bug

Short description:

Exporter of list creates lag for other mods

Steps to reproduce the problem:

  1. Create a big storage (8x6 double chests with item interfaces and 80K items inside)
  2. Create a barrel with exporter and connect network to the barrel
  3. Insert a Card with list of items ("Deepslate Nickel Ore", "Deepslate Iron Ore" ) to exporter to row "Export Items"
    It's is not important if such ore present in the storage.
    After this I can see lags with animation and processing of other mods:
  • Xaero Mini Map and Alex's Mobs: Flying Fishes on the minimap move and stop for pause for a second, move and stop
  • Xaero Mini Map and Divine RPG: Jungle Bats on the minimap move and pause
  • Immersive Engeneering: Wheel of Excavator move and pause
  • Thermal Series: Redstone Furnace smelting progress bar move and pause
    There are no notable CPU load changes in Task Manager
    There are no notable FPS changes in F3 screen
    There are no notable lags for player movement animation or particles movement animation
    The computer is powerful enough, normally there are no lags from other mods
  1. If insert Card with Item "Deepslate Iron Ore" (not List of Items) there are no lags
  2. Even If create 2 exporters and insert 2 Cards with Item "Deepslate Iron Ore" and separate with Item "Deepslate Nickel Ore" there are no lags
  3. Also there are no lags if use List but smaller storage (one full double chest)

Expected behaviour:

There should not be lags


Versions:

  • This mod: IntegratedDynamics-1.20.1-1.21.2.jar + IntegratedTunnels-1.20.1-1.8.25.jar
  • Minecraft: 1.20.1
  • Forge: 47.1.100
    Other mods:
    Xaeros_Minimap_24.0.3_Forge_1.20.jar
    DivineRPG-1.10.7.3.jar
    ImmersiveEngineering-1.20.1-10.1.0-171.jar
    alexsmobs-1.22.8.jar
    CommonCapabilities-1.20.1-2.9.1.jar

Log file:

commented

Thanks for reporting!

commented

Could you share a spark log of your game while the lag occurs?
It would also help if you could confirm the lag with the ID network diagnostics (see /integrateddynamics command).

commented

"see /integrateddynamics" - where is doc for this command?

commented

Server admins can use the /integrateddynamics networkdiagnostics command to open a gui for detailed ticktime tracking per network part.

https://legacy.curseforge.com/minecraft/mc-mods/integrated-dynamics

CurseForge
A mod to take full and automated control of your appliances.
commented

Here is spark results (I was not able upload it, but .zip file below can be unpacked and put to viewer on https://spark.lucko.me/)

image

sparkprofile.zip

spark is a performance profiler for Minecraft clients, servers, and proxies.
commented

/integrateddynamics networkdiagnostics
image

May be because it was a local game

commented

Thanks @uhloin!
Looks like this is the same as CyclopsMC/IntegratedTunnels#286, so I'm closing this issue here in favor of that one.

/integrateddynamics networkdiagnostics

Regarding the diagnostics command. Are you an op on your local game? Can you try enabling creative-mode?
If neither of those work, could you open a separate issue for this? Because that command should definitely work.

commented

/integrateddynamics networkdiagnostics works in creative mode, but that was single game in survival mode
and there is only "/integrateddynamics version" is possible. Probably because of "no cheats" option.

commented

Ok, then this works as intended, since the diagnostics allow player teleporting. Thanks for checking!

commented

And thank you for great mod :)

commented

Thank you very much! Looks like my download for 1.20.1 was first :))