question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Max size Induction Matrix (18x18x18) Causes Server Lag

See original GitHub issue

This isn’t the first Mekanism multiblock to cause server lag. We’ve previously taken down all the salination towers for a similar reason, but the extent that the Induction Matrix causes lag is far, far greater.

TPS: 14.1 Single Entity | Time/Tick | % TileEntityInductionPort {2792,59,5431}:0 | 2.036 | 4.927 TileCustomCable {2793,76,5446}:0 | 1.010 | 2.445 TileCustomCable {2793,76,5433}:0 | 0.996 | 2.411 TileEntityInductionPort {2808,59,5432}:0 | 0.976 | 2.361 TileEntityInductionPort {2807,74,5448}:0 | 0.975 | 2.359 Chunk | Time/Tick | % 0: 174, 339 | 6.168 | 15.034 0: 174, 340 | 5.074 | 12.367 0: 175, 339 | 4.070 | 9.920 0: 175, 340 | 4.044 | 9.856 0: 0, 9 | 0.805 | 1.961 All Entities of Type | Time/Tick | % TileEntityInductionPort | 16.361 | 39.878 TileCustomCable | 2.092 | 5.098 TileConduitBundle | 1.654 | 4.032 TileMultipartContainer$Ticking | 1.321 | 3.220 monster.EntityWitch | 1.001 | 2.439 Average Entity of Type | Time/tick | Calls TileEntityInductionPort | 0.824 | 2800 TileEntityWeatherStation | 0.116 | 88 tile.TileController | 0.088 | 987 EntityButterfly | 0.070 | 141 TileExternalStorage | 0.067 | 705

The difference between having that thing loaded or not is night and day. Since the lag seems to be concentrated at the induction ports, look to the code that adds energy and see what an 18x18x18 matrix filled with Ultimate cells does. I think you’ll find a serious inefficiency there.

This is with the latest—as of today—version. The Avant 3 pack got it’s 1.16 update JUST to make sure this hadn’t been fixed.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ktole1999commented, Feb 26, 2019

Don’t cross chunk border with multiblock structure. Regardless of the documented max size Sent via the Samsung Galaxy S® 6, an AT&T 4G LTE smartphone -------- Original message -------- From: DumbSlayer notifications@github.com Date: 12/21/17 10:27 PM (GMT-06:00) To: aidancbrady/Mekanism Mekanism@noreply.github.com Cc: Bebo ktole1999@hotmail.com, Comment comment@noreply.github.com Subject: Re: [aidancbrady/Mekanism] Max size Induction Matrix (18x18x18) Causes Server Lag (#3956) ive use this on like 3 servers and ive lag the shiz out of em xD — You are receiving this because you commented. Reply to this email directly, view it on GitHub<#3956 (comment)>, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEN1l1jEUm4jKb3m37vW42Q_2V-8fzBAks5tCy-ygaJpZM4Kr8Ax.

Since 18x18 is slightly larger than a chunk size, border crossings are unavoidable.

Just because you CAN build it that size doesnt mean you SHOULD.

1reaction
Takakura-Anricommented, Feb 15, 2019

Don’t cross chunk border with multiblock structure. Regardless of the documented max size Sent via the Samsung Galaxy S® 6, an AT&T 4G LTE smartphone -------- Original message -------- From: DumbSlayer notifications@github.com Date: 12/21/17 10:27 PM (GMT-06:00) To: aidancbrady/Mekanism Mekanism@noreply.github.com Cc: Bebo ktole1999@hotmail.com, Comment comment@noreply.github.com Subject: Re: [aidancbrady/Mekanism] Max size Induction Matrix (18x18x18) Causes Server Lag (#3956) ive use this on like 3 servers and ive lag the shiz out of em xD — You are receiving this because you commented. Reply to this email directly, view it on GitHub<#3956 (comment)>, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEN1l1jEUm4jKb3m37vW42Q_2V-8fzBAks5tCy-ygaJpZM4Kr8Ax.

Since 18x18 is slightly larger than a chunk size, border crossings are unavoidable.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I made an 18x18x18 induction matrix full of ultimate cells. But ...
"It is rather large! Unfortunately it lags like crazy - more than doubles the processing time per tick, so instead of 20.0 tps...
Read more >
Induction Matrix - Official Mekanism Wiki
The Induction Matrix is a highly configurable multi-block energy storage structure. ... and the casing structure is a rectangular prism 18x18x18 or smaller....
Read more >
INSANE ENERGY CAPACITY! INDUCTION MATRIX ...
Become a Member for added perks! https://bit.ly/KlausMember2 ▻ Join My Discord Server :: https://bit.ly/KlausGDiscord▻ Follow Me on ...
Read more >
Untitled
Eliette dauga, Six tsou, Picking up girls stockholm, Spotthe, Max boyce live at treorchy ... Big hero trailer 5, What causes aberration of...
Read more >
SECTION 02200 EARTHWORK PART 1 - GENERAL 1.01 ...
Contractor responsibilities: correcting damage caused to existing ... The maximum size of any gravel, stone, or broken or fragmented material shall be of....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found