View Issue Details

IDProjectCategoryView StatusLast Update
0001554Industrial-Craft²machinespublic2015-03-07 16:30
ReporterFrallionAssigned ToPlayer 
PriorityhighSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0001554: Lots of generators (eg windmills) cause lags.
DescriptionThere is some major issue with generators. If you place more than 64/128 windmills or solar panels, TPS will go low and there will be lags on SMP. (Not tested in SSP). Are there ways to fix this? In old IC2 (not EXP) there wasn`t issue with lags.
Steps To ReproduceJoin game, place a lot of windmills and solars, and see how TPS is going lower than 15 or 10.
Additional InformationMaybe I am not right, but why there is no lags on old versions? (non-EXP versions)
TagsNo tags attached.
Minecraft Version

Activities

Player

2015-03-07 03:13

administrator   ~0003775

What's the output of "/ic2 debug dumpLargeGrids"?

Frallion

2015-03-07 16:11

reporter   ~0003777

Last edited: 2015-03-07 16:12

View 2 revisions

TPS: 12, jumps from 20 to 12.
[20:10:21] [Server thread/INFO]: found 10 grids overall
[20:10:21] [Server thread/INFO]: 968 complex / 1627 total nodes in grid 7937 (26/82/7 - 45/83/57)
[20:10:21] [Server thread/INFO]: 171 complex / 363 total nodes in grid 173 (71/56/9 - 115/65/34)
[20:10:21] [Server thread/INFO]: 13 complex / 57 total nodes in grid 39 (73/104/29 - 76/136/32)
[20:10:21] [Server thread/INFO]: 2 complex / 8 total nodes in grid 73 (76/64/105 - 81/65/105)
[20:10:21] [Server thread/INFO]: 0 complex / 4 total nodes in grid 28 (73/55/31 - 74/55/33)
[20:10:21] [Server thread/INFO]: 0 complex / 2 total nodes in grid 113 (81/64/105 - 82/64/105)
[20:10:21] [Server thread/INFO]: 0 complex / 1 total nodes in grid 69 (73/57/33 - 73/57/33)
[20:10:21] [Server thread/INFO]: 0 complex / 40 total nodes in grid 35 (74/65/31 - 74/104/31)

Player

2015-03-07 16:18

administrator   ~0003778

The first grid is way too large for the current implementation to handle due to super-linear computational complexity.

In the meanwhile you'll have to split the grid up into smaller sections with transformers and storage blocks.

Frallion

2015-03-07 16:30

reporter   ~0003779

Divided them into groups (with transformers and storage blocks).
TPS now 20.
Thanks.

Issue History

Date Modified Username Field Change
2015-03-05 17:22 Frallion New Issue
2015-03-07 03:13 Player Note Added: 0003775
2015-03-07 03:13 Player Assigned To => Player
2015-03-07 03:13 Player Status new => feedback
2015-03-07 16:11 Frallion Note Added: 0003777
2015-03-07 16:11 Frallion Status feedback => assigned
2015-03-07 16:12 Frallion Note Edited: 0003777 View Revisions
2015-03-07 16:18 Player Note Added: 0003778
2015-03-07 16:30 Frallion Note Added: 0003779