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

Subnetworks are massively inefficient when calculating power consumption. #7164

Closed
5PIterator opened this issue May 31, 2023 · 0 comments
Closed

Comments

@5PIterator
Copy link

How to reproduce the performance issue

Create a large array of subnetworks and connect them only with quartz.

I don't know the exact amount, but eventually the TPS will start dropping considerably.

Spark profile link

https://spark.lucko.me/mQ5AAOq1na

Which minecraft version are you using?

1.18

On which mod loaders does it happen?

Forge

Additional details

I am attempting to create a massive storage area for my world, which includes lots of Quartz cables/cables in close proximity/lot of storage drives.

Somehow, when I isolated cables between individual parts of the setup using quartz cables, AE took it as a subnetwork as the power could still flow through, creating thousands of subnetworks in the process.

My TPS dropped massively down to 2, and sparks shows something about power.

However when I swapped the Quartz with toggle bus, and removed energy cells, everything now works just fine. This leads me to think that sub-networks are somewhere dragging down the TPS with calculating power.
2023-05-31_17 25 41
2023-05-31_17 27 54
2023-05-31_17 28 43
2023-05-31_17 38 13
2023-05-31_17 37 55
2023-05-31_17 38 06
2023-05-31_17 37 31

shartte added a commit that referenced this issue Jul 15, 2023
#7258)

Co-authored-by: Sebastian Hartte <shartte@users.noreply.github.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant