Capacitor Banks causing lag when connected in large groups #905
Labels
No labels
Area-Assets
Area-Backend
Area-Conduits
Area-Datapacks
Area-Lang
Area-Mod Compat
Area-Parity
Area-Rendering
Good first issue
MC-1.19.2
MC-1.20.1
MC-1.20.4
MC-1.20.6
MC-1.21
MC-1.21.1
Modtoberfest
P-0-High
P-1-Medium
P-2-Low
Status-Awaiting Response
Status-Behind-Flag
Status-Blocked
Status-Cannot Reproduce
Status-Duplicate
Status-Help Wanted
Status-Incomplete Report
Status-Invalid
Status-Needs LTS Backport
Status-Needs Updating
Status-Stale
Status-To Implement
Status-Triage
Status-Wontfix
Status-Wontmerge
Type-Backport
Type-Bug
Type-Documentation
Type-Enhancement
Type-Question
Type-RFC
Type-Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Team-EnderIO/EnderIO#905
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is there an existing issue for this?
Current Behavior
Miliseconds Per Tick (mpst) in empty void dimension: 2-3
mspt with 1x1x1 capacitor bank cube: 2-3
mspt with 2x2x2 capacitor bank cube: 2-3
mspt with 3x3x3 capacitor bank cube: 3-4
mspt with 4x4x4 capacitor bank cube: 2-4
mspt with 5x5x5 capacitor bank cube: 4-5
mspt with 6x6x6 capacitor bank cube: 5-8
mspt with 7x7x7 capacitor bank cube: 8-10
mspt with 8x8x8 capacitor bank cube: 20-26
mspt with 9x9x9 capacitor bank cube: 37-41
mspt with 10x10x10 capacitor bank cube: 102-144
Graphical glitches occured while building the 9x9x9 (Capacitor banks being culled before they were rendered)
My computer fan kicked in shortly after.
It only takes 1000 Capacitor banks sitting in the void dim, doing nothing to drop my TPS below 20. My computer is a good laptop, but this shouldn't be an issue.
For reference: I used Basic Capacitor banks to build the cube.

Expected Behavior
No response
How to Test
/execute in javd:void tp @p ~ ~ ~/setblock ~ ~ ~ minecraft:dirtto get a block to build off of.Local Environment
Any Additional Information?
Noted in #857, but never acted upon despite the issue being marked as "resolved".
Would presumably be fixed with #704.
Something else that I should mention is that this issue is mostly limited to when a large amount of Capacitor Banks are in a single blob.
Strategically removing 1/2 of the banks in the 10x10x10 cube to drastically reduce the number of adjacent Capacitor Banks to 10 per unit brings the mspt back down to 4.
This contrasts with the 8x8x8 cube, which has roughly the same amount of capacitor banks, but is many times more impactful on performance.
I regret to say that we no longer officially support Minecraft 1.20.1 - as such we will not be officially fixing this issue for that version.
I am aware this issue still exists in 1.21.1, and it is on my list of things to investigate when I have the availability.
Thanks