Lag has strongly increased in 0.71.0 #1304

Open
opened 2021-03-14 19:08:17 +01:00 by seba · 18 comments

Before this update, I never had problems with lag, but since updating, lag has strongly increased. The nether is practically unplayable now.

Before this update, I never had problems with lag, but since updating, lag has strongly increased. The nether is practically unplayable now.
seba changed title from Lag has stongly increased in 0.71.0 to Lag has strongly increased in 0.71.0 2021-03-14 19:55:30 +01:00
Member

Agreed, I have almost Absalutly no idea what the problem is.

Agreed, I have *almost* Absalutly no idea what the problem is.
Contributor

I've been experiencing this issue for what seems like a while, "unplayable" describes it perfectly. I've fixed it to some extent by disabling all mob spawns in the Nether, but it's still noticeable.

Why does this happen? Is it due to block ABM's, or something nether-specific? I experience this unplayable lag both on the MineClone2 dev server and my modded server.

I've been experiencing this issue for what seems like a while, "unplayable" describes it perfectly. I've fixed it *to some extent* by disabling all mob spawns in the Nether, but it's still noticeable. Why does this happen? Is it due to block ABM's, or something nether-specific? I experience this unplayable lag both on the MineClone2 dev server and my modded server.
Contributor
  1. Server searches good place for spawn point.

  2. Villages generate.

  3. Dungeons now use nodes. As result - they appeared but VM way was faster, obviously.

  4. Structures call emerge_area() before placement.
    --- It was by me. But it's all mapgen-related. So if you fly around and return to original point - all these things should stop affecting the lag after several seconds.

  5. playerplus requires more network packets.
    Maybe something else. Really lots of changes.

Why not to show your /profiler save?

1. Server searches good place for spawn point. 2. Villages generate. 3. Dungeons now use nodes. As result - they appeared but VM way was faster, obviously. 4. Structures call emerge_area() before placement. --- It was by me. But it's all mapgen-related. So if you fly around and return to original point - all these things should stop affecting the lag after several seconds. 5. playerplus requires more network packets. Maybe something else. Really lots of changes. Why not to show your ```/profiler save```?
kay27 added the
performance
label 2021-03-15 00:09:48 +01:00
kay27 added this to the 0.72.0 milestone 2021-03-15 00:22:12 +01:00
Contributor

This is my /profiler save from a fresh server hosting plain MineClone 2. Lag seemed tolerable, until I got close to and killed a pigman and wither skeleton. At this point, sprinting didn't work at all.

Values below show absolute/relative times spend per server step by the instrumented function.
A total of 12566 samples were taken


 instrumentation                                         |    min µs |    max µs |    avg µs | min % | max % | avg %
-------------------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------
 walkover:                                               |         0 |      3272 |         4 |   0.0 |  39.1 |   0.3
  - globalstep[1] .....................................  |         1 |      3272 |         4 |   0.0 |  39.1 |   0.3
 mcl_fire:                                               |         0 |     45498 |        45 |   0.0 |  93.6 |   0.4
  - globalstep[1] .....................................  |         1 |      3000 |         3 |   0.0 |  48.8 |   0.2
  - ABM 'Ignite fire by lava' .........................  |      3701 |     45496 |     15711 |   0.9 |  93.6 |  74.2
 mcl_player:                                             |         6 |     12105 |        60 |   0.0 |  90.8 |   3.6
  - globalstep[1] .....................................  |         6 |     12105 |        60 |   0.0 |  90.8 |   3.6
  - on_player_hpchange[1] .............................  |         1 |         1 |         1 |   0.0 |   0.0 |   0.0
 mcl_hunger:                                             |         0 |      2613 |         5 |   0.0 |  55.8 |   0.3
  - globalstep[1] .....................................  |         1 |      2613 |         5 |   0.0 |  55.8 |   0.3
  - on_punchplayer[1] .................................  |         1 |         1 |         1 |   0.0 |   0.0 |   0.0
  - on_player_hpchange[1] .............................  |        11 |        15 |        13 |   0.4 |   0.4 |   0.4
 xpanes:                                                 |         0 |        17 |         0 |   0.0 |   1.1 |   0.0
  - on_placenode[1] ...................................  |        14 |        17 |        15 |   0.6 |   1.1 |   0.9
 mcl_playerplus:                                         |        18 |      6046 |        67 |   0.0 |  81.2 |   4.3
  - globalstep[1] .....................................  |        18 |      6046 |        67 |   0.0 |  81.2 |   4.3
 mcl_enchanting:                                         |         0 |         1 |         0 |   0.0 |   0.0 |   0.0
  - on_punchplayer[1] .................................  |         1 |         1 |         1 |   0.0 |   0.0 |   0.0
 mcl_item_entity:                                        |         6 |      6061 |        34 |   0.0 |  73.4 |   2.1
  - globalstep[1] .....................................  |         6 |      6061 |        33 |   0.0 |  73.4 |   2.1
  - on_step[1] ........................................  |         7 |       644 |        22 |   0.1 |  18.9 |   0.9
  - on_activate[1] ....................................  |        13 |        25 |        19 |   0.2 |   1.7 |   1.0
  - get_staticdata[1] .................................  |        16 |        27 |        21 |   0.3 |   1.9 |   1.1
 wieldview:                                              |         5 |      9200 |        21 |   0.0 |  72.0 |   1.3
  - globalstep[1] .....................................  |         2 |      2557 |        11 |   0.0 |  71.9 |   0.8
  - on_step[1] ........................................  |         2 |      9191 |         9 |   0.0 |  47.2 |   0.5
 mcl_maps:                                               |        23 |     13077 |       102 |   0.0 |  89.6 |   6.2
  - globalstep[1] .....................................  |        23 |     13077 |       102 |   0.0 |  89.6 |   6.2
 show_wielded_item:                                      |         2 |      3488 |        19 |   0.0 |  71.7 |   1.3
  - globalstep[1] .....................................  |         2 |      3488 |        19 |   0.0 |  71.7 |   1.3
 mcl_potions:                                            |         1 |       585 |         7 |   0.0 |  31.5 |   0.6
  - globalstep[1] .....................................  |         1 |       583 |         6 |   0.0 |  31.4 |   0.4
  - on_player_hpchange[1] .............................  |         1 |         1 |         1 |   0.0 |   0.0 |   0.0
  - globalstep[2] .....................................  |         1 |       289 |         1 |   0.0 |  22.3 |   0.1
 doc_items:                                              |         0 |      1507 |         2 |   0.0 |  31.6 |   0.2
  - globalstep[1] .....................................  |         1 |      1507 |         2 |   0.0 |  31.6 |   0.2
  - on_placenode[1] ...................................  |        10 |        11 |        10 |   0.5 |   0.7 |   0.6
  - on_punchnode[1] ...................................  |        10 |        23 |        16 |   0.0 |   0.7 |   0.4
 mcl_armor:                                              |         0 |        74 |         0 |   0.0 |   2.9 |   0.0
  - on_player_hpchange[1] .............................  |        20 |        74 |        47 |   0.6 |   2.9 |   1.7
 mcl_beds:                                               |         0 |         3 |         0 |   0.0 |   0.1 |   0.0
  - on_player_hpchange[1] .............................  |         2 |         3 |         2 |   0.1 |   0.1 |   0.1
 mesecons:                                               |         1 |       987 |         6 |   0.0 |  41.1 |   0.4
  - globalstep[1] .....................................  |         1 |       555 |         4 |   0.0 |  32.4 |   0.3
  - on_placenode[1] ...................................  |       496 |       984 |       740 |  33.0 |  40.9 |  37.0
  - globalstep[2] .....................................  |         1 |       238 |         1 |   0.0 |  17.6 |   0.1
 hudbars:                                                |         0 |     10481 |        36 |   0.0 |  88.8 |   1.9
  - globalstep[1] .....................................  |         1 |     10481 |        36 |   0.0 |  88.8 |   1.9
  - on_player_hpchange[1] .............................  |        14 |        24 |        19 |   0.5 |   0.7 |   0.6
 mcl_walls:                                              |         0 |        12 |         0 |   0.0 |   0.7 |   0.0
  - on_placenode[1] ...................................  |        10 |        12 |        11 |   0.5 |   0.7 |   0.6
 mcl_playerinfo:                                         |         0 |      1087 |         2 |   0.0 |  49.4 |   0.2
  - globalstep[1] .....................................  |         1 |      1087 |         2 |   0.0 |  49.4 |   0.2
 mcl_tmp_message:                                        |         0 |      1157 |         2 |   0.0 |  30.7 |   0.1
  - globalstep[1] .....................................  |         1 |      1157 |         2 |   0.0 |  30.7 |   0.1
 mcl_bows:                                               |         3 |       980 |        11 |   0.0 |  51.8 |   0.8
  - globalstep[1] .....................................  |         3 |       980 |        11 |   0.0 |  51.8 |   0.8
 mcl_sprint:                                             |        25 |     17204 |       148 |   0.0 |  94.2 |   8.8
  - globalstep[1] .....................................  |        25 |     17204 |       148 |   0.0 |  94.2 |   8.8
 mcl_core:                                               |         0 |       462 |         2 |   0.0 |  21.2 |   0.2
  - globalstep[1] .....................................  |         1 |       462 |         2 |   0.0 |  21.2 |   0.2
  - on_placenode[1] ...................................  |         3 |         5 |         4 |   0.2 |   0.2 |   0.2
 awards:                                                 |         0 |        26 |         0 |   0.0 |   1.7 |   0.0
  - on_placenode[1] ...................................  |        15 |        26 |        20 |   0.6 |   1.7 |   1.2
 mcl_experience:                                         |         0 |      2091 |         0 |   0.0 |  34.4 |   0.0
  - on_activate[1] ....................................  |        17 |        52 |        28 |   0.6 |   3.7 |   1.6
  - on_step[1] ........................................  |        11 |      2057 |       102 |   0.0 |  33.9 |   3.8
 mcl_mapgen_core:                                        |         0 |    863942 |       483 |   0.0 |  99.9 |   0.2
  - on_generated[1] ...................................  |     97116 |    863942 |    261741 |  70.5 |  99.9 |  97.4
 mcl_moon:                                               |         0 |      2673 |         1 |   0.0 |  61.1 |   0.1
  - globalstep[1] .....................................  |         1 |      2673 |         1 |   0.0 |  61.1 |   0.1
 mcl_portals:                                            |         0 |       377 |         0 |   0.0 |   5.8 |   0.0
  - ABM 'Nether portal teleportation and particles' ...  |        14 |       377 |        66 |   0.0 |   5.8 |   1.9
 mcl_hbarmor:                                            |         0 |     16485 |        13 |   0.0 |  89.1 |   0.8
  - globalstep[1] .....................................  |         1 |     16485 |        14 |   0.0 |  89.1 |   0.8
 ??:                                                     |        44 |     17805 |       467 |   0.0 |  82.6 |  23.3
  - on_punch[42] ......................................  |       188 |       306 |       260 |   5.3 |  14.1 |   9.7
  - on_step[172] ......................................  |         2 |     12128 |        25 |   0.0 |  48.7 |   1.2
  - on_activate[103] ..................................  |        67 |       267 |       127 |   0.3 |   8.9 |   3.1
  - on_punch[78] ......................................  |      1160 |      1160 |      1160 |  22.6 |  22.6 |  22.6
  - on_step[64] .......................................  |         9 |       647 |        24 |   0.1 |  19.0 |   1.0
  - get_staticdata[49] ................................  |       111 |       262 |       167 |   1.3 |  12.4 |   4.6
  - on_activate[55] ...................................  |        75 |       217 |       124 |   1.5 |   3.0 |   2.1
  - on_punch[86] ......................................  |       232 |       395 |       294 |   4.7 |  28.5 |  16.4
  - get_staticdata[94] ................................  |        85 |       742 |       207 |   0.0 |   9.2 |   3.6
  - on_step[81] .......................................  |         2 |     10836 |        27 |   0.0 |  33.4 |   1.3
  - get_staticdata[34] ................................  |        91 |       847 |       244 |   0.0 |  13.5 |   4.8
  - on_step[38] .......................................  |        31 |     11409 |       210 |   0.0 |  44.6 |   9.4
  - on_step[170] ......................................  |         3 |     10064 |        28 |   0.0 |  47.7 |   1.3
  - on_activate[24] ...................................  |        61 |       498 |       220 |   0.3 |   9.1 |   4.9
  - on_punch[84] ......................................  |       153 |       437 |       308 |   0.1 |  15.4 |   9.5
  - on_activate[38] ...................................  |        55 |       602 |       203 |   0.0 |  14.9 |   3.9
  - on_activate[94] ...................................  |        51 |       183 |       112 |   0.1 |   4.5 |   2.1
  - get_staticdata[37] ................................  |        24 |        29 |        26 |   0.4 |   2.0 |   1.2
  - get_staticdata[33] ................................  |        89 |       576 |       236 |   0.0 |  12.2 |   5.2
  - get_staticdata[96] ................................  |        81 |      1025 |       271 |   0.1 |  13.9 |   5.1
  - on_step[57] .......................................  |         3 |      4671 |        17 |   0.0 |  43.1 |   0.9
  - on_step[187] ......................................  |         3 |     17606 |       126 |   0.0 |  79.2 |   7.1
  - on_activate[10] ...................................  |        19 |        54 |        30 |   0.6 |   3.8 |   1.7
  - on_activate[37] ...................................  |       112 |       470 |       195 |   1.3 |   9.2 |   4.5
  - on_step[23] .......................................  |         3 |      9207 |        12 |   0.0 |  47.3 |   0.7
  - on_activate[41] ...................................  |        14 |        28 |        21 |   0.2 |   1.9 |   1.1
  - on_step[161] ......................................  |         3 |      5482 |        40 |   0.0 |  45.6 |   2.1
  - on_activate[101] ..................................  |        59 |      2348 |       300 |   0.9 |  21.0 |   3.8
  - on_activate[113] ..................................  |         5 |       182 |        25 |   0.0 |   3.0 |   0.7
  - on_step[60] .......................................  |        29 |      8555 |       187 |   0.0 |  73.5 |   9.3
  - get_staticdata[21] ................................  |        84 |       963 |       277 |   0.0 |  16.9 |   5.8
  - on_punch[28] ......................................  |       124 |       395 |       259 |   0.1 |  17.5 |   7.5
  - on_step[15] .......................................  |        14 |      2064 |       107 |   0.0 |  34.0 |   4.1
  - get_staticdata[87] ................................  |       105 |       550 |       201 |   0.4 |  19.5 |   4.5
 mcl_compass:                                            |        22 |      9147 |       103 |   0.0 |  89.5 |   6.7
  - globalstep[1] .....................................  |        22 |      9147 |       103 |   0.0 |  89.5 |   6.7
 mobs_mc:                                                |         0 |     12325 |       317 |   0.0 |  62.5 |  14.8
  - ABM 'mobs_mc:creeper spawning' ....................  |       142 |       514 |       288 |   4.2 |  19.2 |  11.4
  - ABM 'mobs_mc:slime_big spawning' ..................  |        50 |       227 |       141 |   2.2 |   5.4 |   3.3
  - get_staticdata[54] ................................  |       103 |       547 |       198 |   0.4 |  19.1 |   4.4
  - on_punch[54] ......................................  |      1140 |      1140 |      1140 |  22.2 |  22.2 |  22.2
  - on_activate[55] ...................................  |        57 |      2344 |       297 |   0.9 |  21.0 |   3.8
  - on_step[61] .......................................  |         2 |      5477 |        36 |   0.0 |  45.5 |   1.8
  - ABM 'mobs_mc:slime_small spawning' ................  |       136 |       443 |       274 |   1.0 |  14.6 |   8.9
  - ABM 'mobs_mc:ghast spawning' ......................  |        50 |       154 |       117 |   1.5 |   2.0 |   1.8
  - get_staticdata[55] ................................  |        84 |       741 |       206 |   0.0 |   9.2 |   3.6
  - on_activate[54] ...................................  |        50 |       178 |       110 |   0.1 |   4.4 |   2.0
  - ABM 'mobs_mc:witherskeleton spawning' .............  |        34 |       945 |       413 |   0.2 |  19.8 |   8.6
  - on_punch[48] ......................................  |       122 |       388 |       255 |   0.1 |  17.2 |   7.4
  - on_player_hpchange[1] .............................  |         1 |         2 |         1 |   0.0 |   0.1 |   0.1
  - get_staticdata[53] ................................  |        87 |       573 |       233 |   0.0 |  12.1 |   5.1
  - ABM 'mobs_mc:bat spawning' ........................  |        92 |       679 |       296 |   1.4 |  33.4 |   9.9
  - ABM 'mobs_mc:baby_pigman spawning' ................  |       148 |       148 |       148 |   9.4 |   9.4 |   9.4
  - ABM 'mobs_mc:magma_cube_tiny spawning' ............  |        51 |       439 |       129 |   0.4 |  10.5 |   3.7
  - ABM 'mobs_mc:baby_zombie spawning' ................  |       262 |       262 |       262 |  11.9 |  11.9 |  11.9
  - ABM 'mobs_mc:zombie spawning' .....................  |       111 |       632 |       420 |   2.1 |  23.5 |   7.4
  - on_activate[43] ...................................  |        74 |       215 |       122 |   1.4 |   2.9 |   2.0
  - get_staticdata[43] ................................  |       109 |       259 |       165 |   1.3 |  12.3 |   4.6
  - ABM 'mobs_mc:spider spawning' .....................  |       135 |       135 |       135 |   8.0 |   8.0 |   8.0
  - on_punch[43] ......................................  |       183 |       301 |       255 |   5.3 |  13.9 |   9.6
  - get_staticdata[48] ................................  |        90 |       842 |       241 |   0.0 |  13.3 |   4.8
  - on_step[50] .......................................  |         1 |     10829 |        24 |   0.0 |  33.4 |   1.2
  - on_activate[53] ...................................  |       108 |       466 |       189 |   1.2 |   9.0 |   4.4
  - ABM 'mobs_mc:magma_cube_small spawning' ...........  |        65 |      1033 |       441 |   0.8 |  21.6 |   6.4
  - on_activate[27] ...................................  |        65 |       261 |       124 |   0.3 |   8.7 |   3.0
  - get_staticdata[27] ................................  |        81 |      1021 |       268 |   0.1 |  13.8 |   5.0
  - on_step[55] .......................................  |        27 |      8543 |       181 |   0.0 |  47.6 |   9.0
  - ABM 'mobs_mc:pigman spawning' .....................  |        60 |      1926 |       808 |   0.2 |  33.4 |  14.0
  - ABM 'mobs_mc:villager_zombie spawning' ............  |       141 |       155 |       146 |   5.4 |  13.8 |   8.4
  - on_punch[55] ......................................  |       148 |       435 |       303 |   0.1 |  15.1 |   9.4
  - on_activate[48] ...................................  |        53 |       597 |       199 |   0.0 |  14.8 |   3.8
  - ABM 'mobs_mc:slime_tiny spawning' .................  |        80 |       186 |       116 |   0.4 |   9.1 |   4.3
  - on_step[62] .......................................  |         2 |     10050 |        25 |   0.0 |  47.6 |   1.1
  - on_punch[27] ......................................  |       227 |       389 |       289 |   4.6 |  28.0 |  16.1
  - ABM 'mobs_mc:skeleton spawning' ...................  |        40 |       288 |       157 |   0.3 |  15.0 |   6.0
  - on_activate[31] ...................................  |        59 |       495 |       217 |   0.3 |   8.9 |   4.8
  - ABM 'mobs_mc:enderman spawning' ...................  |       110 |      2438 |       496 |   0.6 |  20.7 |   9.1
  - on_step[36] .......................................  |        29 |     11400 |       207 |   0.0 |  44.5 |   9.1
  - on_step[60] .......................................  |         2 |      4663 |        15 |   0.0 |  43.1 |   0.8
  - ABM 'mobs_mc:blaze spawning' ......................  |       152 |       754 |       500 |   0.4 |  20.9 |   9.2
  - get_staticdata[31] ................................  |        82 |       961 |       274 |   0.0 |  16.8 |   5.7
  - on_step[30] .......................................  |         1 |     12100 |        21 |   0.0 |  47.0 |   0.9
  - ABM 'mobs_mc:magma_cube_big spawning' .............  |       134 |      4241 |       863 |   1.0 |  44.5 |  16.7
 mcl_void_damage:                                        |         0 |       119 |         1 |   0.0 |   8.8 |   0.1
  - globalstep[1] .....................................  |         1 |       119 |         1 |   0.0 |   8.8 |   0.1
 controls:                                               |         4 |     12565 |        25 |   0.0 |  84.5 |   1.7
  - globalstep[1] .....................................  |         4 |     12565 |        25 |   0.0 |  84.5 |   1.7
 lightning:                                              |         0 |       699 |         2 |   0.0 |  21.2 |   0.2
  - globalstep[1] .....................................  |         1 |       699 |         2 |   0.0 |  21.2 |   0.2
 mcl_burning:                                            |        33 |     16561 |       174 |   0.0 |  91.1 |  10.7
  - globalstep[1] .....................................  |        33 |     16561 |       174 |   0.0 |  91.1 |  10.7
 mcl_clock:                                              |         1 |      1569 |         6 |   0.0 |  40.9 |   0.4
  - globalstep[1] .....................................  |         1 |      1569 |         6 |   0.0 |  40.9 |   0.4
 mcl_weather:                                            |         1 |     12676 |        47 |   0.0 |  83.5 |   1.8
  - globalstep[1] .....................................  |         1 |     10821 |         4 |   0.0 |  65.4 |   0.3
  - globalstep[6] .....................................  |         1 |      1113 |         1 |   0.0 |  41.4 |   0.1
  - globalstep[5] .....................................  |         1 |     12659 |        38 |   0.0 |  83.3 |   1.2
  - globalstep[4] .....................................  |         1 |      3838 |         1 |   0.0 |  60.8 |   0.1
  - globalstep[3] .....................................  |         1 |       177 |         1 |   0.0 |  18.8 |   0.1
  - globalstep[2] .....................................  |         1 |       193 |         1 |   0.0 |  14.9 |   0.1
 drippingwater:                                          |         0 |     25349 |       115 |   0.0 |  74.6 |   5.8
  - on_step[2] ........................................  |         2 |     17591 |       104 |   0.0 |  45.8 |   5.6
  - ABM 'Create lava drops' ...........................  |       440 |     23177 |      1424 |   0.3 |  69.6 |  32.6
  - on_activate[2] ....................................  |         4 |       163 |        19 |   0.0 |   2.2 |   0.5
 mcl_worlds:                                             |         0 |      2858 |         1 |   0.0 |  31.4 |   0.1
  - globalstep[1] .....................................  |         1 |      2858 |         1 |   0.0 |  31.4 |   0.1
 mcl_mobs:                                               |         0 |      1184 |         2 |   0.0 |  47.0 |   0.1
  - globalstep[1] .....................................  |         1 |      1184 |         2 |   0.0 |  47.0 |   0.2
-------------------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------
 total:                                                  |       335 |    864884 |      2342 | 100.0 | 100.0 | 100.0


This is my `/profiler save` from a fresh server hosting plain MineClone 2. Lag seemed tolerable, until I got close to and killed a pigman and wither skeleton. At this point, sprinting didn't work at all. ``` Values below show absolute/relative times spend per server step by the instrumented function. A total of 12566 samples were taken instrumentation | min µs | max µs | avg µs | min % | max % | avg % -------------------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------ walkover: | 0 | 3272 | 4 | 0.0 | 39.1 | 0.3 - globalstep[1] ..................................... | 1 | 3272 | 4 | 0.0 | 39.1 | 0.3 mcl_fire: | 0 | 45498 | 45 | 0.0 | 93.6 | 0.4 - globalstep[1] ..................................... | 1 | 3000 | 3 | 0.0 | 48.8 | 0.2 - ABM 'Ignite fire by lava' ......................... | 3701 | 45496 | 15711 | 0.9 | 93.6 | 74.2 mcl_player: | 6 | 12105 | 60 | 0.0 | 90.8 | 3.6 - globalstep[1] ..................................... | 6 | 12105 | 60 | 0.0 | 90.8 | 3.6 - on_player_hpchange[1] ............................. | 1 | 1 | 1 | 0.0 | 0.0 | 0.0 mcl_hunger: | 0 | 2613 | 5 | 0.0 | 55.8 | 0.3 - globalstep[1] ..................................... | 1 | 2613 | 5 | 0.0 | 55.8 | 0.3 - on_punchplayer[1] ................................. | 1 | 1 | 1 | 0.0 | 0.0 | 0.0 - on_player_hpchange[1] ............................. | 11 | 15 | 13 | 0.4 | 0.4 | 0.4 xpanes: | 0 | 17 | 0 | 0.0 | 1.1 | 0.0 - on_placenode[1] ................................... | 14 | 17 | 15 | 0.6 | 1.1 | 0.9 mcl_playerplus: | 18 | 6046 | 67 | 0.0 | 81.2 | 4.3 - globalstep[1] ..................................... | 18 | 6046 | 67 | 0.0 | 81.2 | 4.3 mcl_enchanting: | 0 | 1 | 0 | 0.0 | 0.0 | 0.0 - on_punchplayer[1] ................................. | 1 | 1 | 1 | 0.0 | 0.0 | 0.0 mcl_item_entity: | 6 | 6061 | 34 | 0.0 | 73.4 | 2.1 - globalstep[1] ..................................... | 6 | 6061 | 33 | 0.0 | 73.4 | 2.1 - on_step[1] ........................................ | 7 | 644 | 22 | 0.1 | 18.9 | 0.9 - on_activate[1] .................................... | 13 | 25 | 19 | 0.2 | 1.7 | 1.0 - get_staticdata[1] ................................. | 16 | 27 | 21 | 0.3 | 1.9 | 1.1 wieldview: | 5 | 9200 | 21 | 0.0 | 72.0 | 1.3 - globalstep[1] ..................................... | 2 | 2557 | 11 | 0.0 | 71.9 | 0.8 - on_step[1] ........................................ | 2 | 9191 | 9 | 0.0 | 47.2 | 0.5 mcl_maps: | 23 | 13077 | 102 | 0.0 | 89.6 | 6.2 - globalstep[1] ..................................... | 23 | 13077 | 102 | 0.0 | 89.6 | 6.2 show_wielded_item: | 2 | 3488 | 19 | 0.0 | 71.7 | 1.3 - globalstep[1] ..................................... | 2 | 3488 | 19 | 0.0 | 71.7 | 1.3 mcl_potions: | 1 | 585 | 7 | 0.0 | 31.5 | 0.6 - globalstep[1] ..................................... | 1 | 583 | 6 | 0.0 | 31.4 | 0.4 - on_player_hpchange[1] ............................. | 1 | 1 | 1 | 0.0 | 0.0 | 0.0 - globalstep[2] ..................................... | 1 | 289 | 1 | 0.0 | 22.3 | 0.1 doc_items: | 0 | 1507 | 2 | 0.0 | 31.6 | 0.2 - globalstep[1] ..................................... | 1 | 1507 | 2 | 0.0 | 31.6 | 0.2 - on_placenode[1] ................................... | 10 | 11 | 10 | 0.5 | 0.7 | 0.6 - on_punchnode[1] ................................... | 10 | 23 | 16 | 0.0 | 0.7 | 0.4 mcl_armor: | 0 | 74 | 0 | 0.0 | 2.9 | 0.0 - on_player_hpchange[1] ............................. | 20 | 74 | 47 | 0.6 | 2.9 | 1.7 mcl_beds: | 0 | 3 | 0 | 0.0 | 0.1 | 0.0 - on_player_hpchange[1] ............................. | 2 | 3 | 2 | 0.1 | 0.1 | 0.1 mesecons: | 1 | 987 | 6 | 0.0 | 41.1 | 0.4 - globalstep[1] ..................................... | 1 | 555 | 4 | 0.0 | 32.4 | 0.3 - on_placenode[1] ................................... | 496 | 984 | 740 | 33.0 | 40.9 | 37.0 - globalstep[2] ..................................... | 1 | 238 | 1 | 0.0 | 17.6 | 0.1 hudbars: | 0 | 10481 | 36 | 0.0 | 88.8 | 1.9 - globalstep[1] ..................................... | 1 | 10481 | 36 | 0.0 | 88.8 | 1.9 - on_player_hpchange[1] ............................. | 14 | 24 | 19 | 0.5 | 0.7 | 0.6 mcl_walls: | 0 | 12 | 0 | 0.0 | 0.7 | 0.0 - on_placenode[1] ................................... | 10 | 12 | 11 | 0.5 | 0.7 | 0.6 mcl_playerinfo: | 0 | 1087 | 2 | 0.0 | 49.4 | 0.2 - globalstep[1] ..................................... | 1 | 1087 | 2 | 0.0 | 49.4 | 0.2 mcl_tmp_message: | 0 | 1157 | 2 | 0.0 | 30.7 | 0.1 - globalstep[1] ..................................... | 1 | 1157 | 2 | 0.0 | 30.7 | 0.1 mcl_bows: | 3 | 980 | 11 | 0.0 | 51.8 | 0.8 - globalstep[1] ..................................... | 3 | 980 | 11 | 0.0 | 51.8 | 0.8 mcl_sprint: | 25 | 17204 | 148 | 0.0 | 94.2 | 8.8 - globalstep[1] ..................................... | 25 | 17204 | 148 | 0.0 | 94.2 | 8.8 mcl_core: | 0 | 462 | 2 | 0.0 | 21.2 | 0.2 - globalstep[1] ..................................... | 1 | 462 | 2 | 0.0 | 21.2 | 0.2 - on_placenode[1] ................................... | 3 | 5 | 4 | 0.2 | 0.2 | 0.2 awards: | 0 | 26 | 0 | 0.0 | 1.7 | 0.0 - on_placenode[1] ................................... | 15 | 26 | 20 | 0.6 | 1.7 | 1.2 mcl_experience: | 0 | 2091 | 0 | 0.0 | 34.4 | 0.0 - on_activate[1] .................................... | 17 | 52 | 28 | 0.6 | 3.7 | 1.6 - on_step[1] ........................................ | 11 | 2057 | 102 | 0.0 | 33.9 | 3.8 mcl_mapgen_core: | 0 | 863942 | 483 | 0.0 | 99.9 | 0.2 - on_generated[1] ................................... | 97116 | 863942 | 261741 | 70.5 | 99.9 | 97.4 mcl_moon: | 0 | 2673 | 1 | 0.0 | 61.1 | 0.1 - globalstep[1] ..................................... | 1 | 2673 | 1 | 0.0 | 61.1 | 0.1 mcl_portals: | 0 | 377 | 0 | 0.0 | 5.8 | 0.0 - ABM 'Nether portal teleportation and particles' ... | 14 | 377 | 66 | 0.0 | 5.8 | 1.9 mcl_hbarmor: | 0 | 16485 | 13 | 0.0 | 89.1 | 0.8 - globalstep[1] ..................................... | 1 | 16485 | 14 | 0.0 | 89.1 | 0.8 ??: | 44 | 17805 | 467 | 0.0 | 82.6 | 23.3 - on_punch[42] ...................................... | 188 | 306 | 260 | 5.3 | 14.1 | 9.7 - on_step[172] ...................................... | 2 | 12128 | 25 | 0.0 | 48.7 | 1.2 - on_activate[103] .................................. | 67 | 267 | 127 | 0.3 | 8.9 | 3.1 - on_punch[78] ...................................... | 1160 | 1160 | 1160 | 22.6 | 22.6 | 22.6 - on_step[64] ....................................... | 9 | 647 | 24 | 0.1 | 19.0 | 1.0 - get_staticdata[49] ................................ | 111 | 262 | 167 | 1.3 | 12.4 | 4.6 - on_activate[55] ................................... | 75 | 217 | 124 | 1.5 | 3.0 | 2.1 - on_punch[86] ...................................... | 232 | 395 | 294 | 4.7 | 28.5 | 16.4 - get_staticdata[94] ................................ | 85 | 742 | 207 | 0.0 | 9.2 | 3.6 - on_step[81] ....................................... | 2 | 10836 | 27 | 0.0 | 33.4 | 1.3 - get_staticdata[34] ................................ | 91 | 847 | 244 | 0.0 | 13.5 | 4.8 - on_step[38] ....................................... | 31 | 11409 | 210 | 0.0 | 44.6 | 9.4 - on_step[170] ...................................... | 3 | 10064 | 28 | 0.0 | 47.7 | 1.3 - on_activate[24] ................................... | 61 | 498 | 220 | 0.3 | 9.1 | 4.9 - on_punch[84] ...................................... | 153 | 437 | 308 | 0.1 | 15.4 | 9.5 - on_activate[38] ................................... | 55 | 602 | 203 | 0.0 | 14.9 | 3.9 - on_activate[94] ................................... | 51 | 183 | 112 | 0.1 | 4.5 | 2.1 - get_staticdata[37] ................................ | 24 | 29 | 26 | 0.4 | 2.0 | 1.2 - get_staticdata[33] ................................ | 89 | 576 | 236 | 0.0 | 12.2 | 5.2 - get_staticdata[96] ................................ | 81 | 1025 | 271 | 0.1 | 13.9 | 5.1 - on_step[57] ....................................... | 3 | 4671 | 17 | 0.0 | 43.1 | 0.9 - on_step[187] ...................................... | 3 | 17606 | 126 | 0.0 | 79.2 | 7.1 - on_activate[10] ................................... | 19 | 54 | 30 | 0.6 | 3.8 | 1.7 - on_activate[37] ................................... | 112 | 470 | 195 | 1.3 | 9.2 | 4.5 - on_step[23] ....................................... | 3 | 9207 | 12 | 0.0 | 47.3 | 0.7 - on_activate[41] ................................... | 14 | 28 | 21 | 0.2 | 1.9 | 1.1 - on_step[161] ...................................... | 3 | 5482 | 40 | 0.0 | 45.6 | 2.1 - on_activate[101] .................................. | 59 | 2348 | 300 | 0.9 | 21.0 | 3.8 - on_activate[113] .................................. | 5 | 182 | 25 | 0.0 | 3.0 | 0.7 - on_step[60] ....................................... | 29 | 8555 | 187 | 0.0 | 73.5 | 9.3 - get_staticdata[21] ................................ | 84 | 963 | 277 | 0.0 | 16.9 | 5.8 - on_punch[28] ...................................... | 124 | 395 | 259 | 0.1 | 17.5 | 7.5 - on_step[15] ....................................... | 14 | 2064 | 107 | 0.0 | 34.0 | 4.1 - get_staticdata[87] ................................ | 105 | 550 | 201 | 0.4 | 19.5 | 4.5 mcl_compass: | 22 | 9147 | 103 | 0.0 | 89.5 | 6.7 - globalstep[1] ..................................... | 22 | 9147 | 103 | 0.0 | 89.5 | 6.7 mobs_mc: | 0 | 12325 | 317 | 0.0 | 62.5 | 14.8 - ABM 'mobs_mc:creeper spawning' .................... | 142 | 514 | 288 | 4.2 | 19.2 | 11.4 - ABM 'mobs_mc:slime_big spawning' .................. | 50 | 227 | 141 | 2.2 | 5.4 | 3.3 - get_staticdata[54] ................................ | 103 | 547 | 198 | 0.4 | 19.1 | 4.4 - on_punch[54] ...................................... | 1140 | 1140 | 1140 | 22.2 | 22.2 | 22.2 - on_activate[55] ................................... | 57 | 2344 | 297 | 0.9 | 21.0 | 3.8 - on_step[61] ....................................... | 2 | 5477 | 36 | 0.0 | 45.5 | 1.8 - ABM 'mobs_mc:slime_small spawning' ................ | 136 | 443 | 274 | 1.0 | 14.6 | 8.9 - ABM 'mobs_mc:ghast spawning' ...................... | 50 | 154 | 117 | 1.5 | 2.0 | 1.8 - get_staticdata[55] ................................ | 84 | 741 | 206 | 0.0 | 9.2 | 3.6 - on_activate[54] ................................... | 50 | 178 | 110 | 0.1 | 4.4 | 2.0 - ABM 'mobs_mc:witherskeleton spawning' ............. | 34 | 945 | 413 | 0.2 | 19.8 | 8.6 - on_punch[48] ...................................... | 122 | 388 | 255 | 0.1 | 17.2 | 7.4 - on_player_hpchange[1] ............................. | 1 | 2 | 1 | 0.0 | 0.1 | 0.1 - get_staticdata[53] ................................ | 87 | 573 | 233 | 0.0 | 12.1 | 5.1 - ABM 'mobs_mc:bat spawning' ........................ | 92 | 679 | 296 | 1.4 | 33.4 | 9.9 - ABM 'mobs_mc:baby_pigman spawning' ................ | 148 | 148 | 148 | 9.4 | 9.4 | 9.4 - ABM 'mobs_mc:magma_cube_tiny spawning' ............ | 51 | 439 | 129 | 0.4 | 10.5 | 3.7 - ABM 'mobs_mc:baby_zombie spawning' ................ | 262 | 262 | 262 | 11.9 | 11.9 | 11.9 - ABM 'mobs_mc:zombie spawning' ..................... | 111 | 632 | 420 | 2.1 | 23.5 | 7.4 - on_activate[43] ................................... | 74 | 215 | 122 | 1.4 | 2.9 | 2.0 - get_staticdata[43] ................................ | 109 | 259 | 165 | 1.3 | 12.3 | 4.6 - ABM 'mobs_mc:spider spawning' ..................... | 135 | 135 | 135 | 8.0 | 8.0 | 8.0 - on_punch[43] ...................................... | 183 | 301 | 255 | 5.3 | 13.9 | 9.6 - get_staticdata[48] ................................ | 90 | 842 | 241 | 0.0 | 13.3 | 4.8 - on_step[50] ....................................... | 1 | 10829 | 24 | 0.0 | 33.4 | 1.2 - on_activate[53] ................................... | 108 | 466 | 189 | 1.2 | 9.0 | 4.4 - ABM 'mobs_mc:magma_cube_small spawning' ........... | 65 | 1033 | 441 | 0.8 | 21.6 | 6.4 - on_activate[27] ................................... | 65 | 261 | 124 | 0.3 | 8.7 | 3.0 - get_staticdata[27] ................................ | 81 | 1021 | 268 | 0.1 | 13.8 | 5.0 - on_step[55] ....................................... | 27 | 8543 | 181 | 0.0 | 47.6 | 9.0 - ABM 'mobs_mc:pigman spawning' ..................... | 60 | 1926 | 808 | 0.2 | 33.4 | 14.0 - ABM 'mobs_mc:villager_zombie spawning' ............ | 141 | 155 | 146 | 5.4 | 13.8 | 8.4 - on_punch[55] ...................................... | 148 | 435 | 303 | 0.1 | 15.1 | 9.4 - on_activate[48] ................................... | 53 | 597 | 199 | 0.0 | 14.8 | 3.8 - ABM 'mobs_mc:slime_tiny spawning' ................. | 80 | 186 | 116 | 0.4 | 9.1 | 4.3 - on_step[62] ....................................... | 2 | 10050 | 25 | 0.0 | 47.6 | 1.1 - on_punch[27] ...................................... | 227 | 389 | 289 | 4.6 | 28.0 | 16.1 - ABM 'mobs_mc:skeleton spawning' ................... | 40 | 288 | 157 | 0.3 | 15.0 | 6.0 - on_activate[31] ................................... | 59 | 495 | 217 | 0.3 | 8.9 | 4.8 - ABM 'mobs_mc:enderman spawning' ................... | 110 | 2438 | 496 | 0.6 | 20.7 | 9.1 - on_step[36] ....................................... | 29 | 11400 | 207 | 0.0 | 44.5 | 9.1 - on_step[60] ....................................... | 2 | 4663 | 15 | 0.0 | 43.1 | 0.8 - ABM 'mobs_mc:blaze spawning' ...................... | 152 | 754 | 500 | 0.4 | 20.9 | 9.2 - get_staticdata[31] ................................ | 82 | 961 | 274 | 0.0 | 16.8 | 5.7 - on_step[30] ....................................... | 1 | 12100 | 21 | 0.0 | 47.0 | 0.9 - ABM 'mobs_mc:magma_cube_big spawning' ............. | 134 | 4241 | 863 | 1.0 | 44.5 | 16.7 mcl_void_damage: | 0 | 119 | 1 | 0.0 | 8.8 | 0.1 - globalstep[1] ..................................... | 1 | 119 | 1 | 0.0 | 8.8 | 0.1 controls: | 4 | 12565 | 25 | 0.0 | 84.5 | 1.7 - globalstep[1] ..................................... | 4 | 12565 | 25 | 0.0 | 84.5 | 1.7 lightning: | 0 | 699 | 2 | 0.0 | 21.2 | 0.2 - globalstep[1] ..................................... | 1 | 699 | 2 | 0.0 | 21.2 | 0.2 mcl_burning: | 33 | 16561 | 174 | 0.0 | 91.1 | 10.7 - globalstep[1] ..................................... | 33 | 16561 | 174 | 0.0 | 91.1 | 10.7 mcl_clock: | 1 | 1569 | 6 | 0.0 | 40.9 | 0.4 - globalstep[1] ..................................... | 1 | 1569 | 6 | 0.0 | 40.9 | 0.4 mcl_weather: | 1 | 12676 | 47 | 0.0 | 83.5 | 1.8 - globalstep[1] ..................................... | 1 | 10821 | 4 | 0.0 | 65.4 | 0.3 - globalstep[6] ..................................... | 1 | 1113 | 1 | 0.0 | 41.4 | 0.1 - globalstep[5] ..................................... | 1 | 12659 | 38 | 0.0 | 83.3 | 1.2 - globalstep[4] ..................................... | 1 | 3838 | 1 | 0.0 | 60.8 | 0.1 - globalstep[3] ..................................... | 1 | 177 | 1 | 0.0 | 18.8 | 0.1 - globalstep[2] ..................................... | 1 | 193 | 1 | 0.0 | 14.9 | 0.1 drippingwater: | 0 | 25349 | 115 | 0.0 | 74.6 | 5.8 - on_step[2] ........................................ | 2 | 17591 | 104 | 0.0 | 45.8 | 5.6 - ABM 'Create lava drops' ........................... | 440 | 23177 | 1424 | 0.3 | 69.6 | 32.6 - on_activate[2] .................................... | 4 | 163 | 19 | 0.0 | 2.2 | 0.5 mcl_worlds: | 0 | 2858 | 1 | 0.0 | 31.4 | 0.1 - globalstep[1] ..................................... | 1 | 2858 | 1 | 0.0 | 31.4 | 0.1 mcl_mobs: | 0 | 1184 | 2 | 0.0 | 47.0 | 0.1 - globalstep[1] ..................................... | 1 | 1184 | 2 | 0.0 | 47.0 | 0.2 -------------------------------------------------------- | --------- | --------- | --------- | ----- | ----- | ------ total: | 335 | 864884 | 2342 | 100.0 | 100.0 | 100.0 ```
Member

Hm that's weird. I play on a raspberry pi 4 (which is really not the best PC to play mcl2 on it) and I have no lags.
Not even in the Nether (0.71)

Hm that's weird. I play on a raspberry pi 4 (which is really not the best PC to play mcl2 on it) and I have no lags. Not even in the Nether (0.71)

I have similiar issues.
As soon as someone moves around the server goes to 100% CPU, since 71.
And even on my Desktop PC(i5/16GB RAM) in singleplayer iam able to catch up with the mapgen(ie running into a invisible wall with no blocks behind it for a few seconds).

I have similiar issues. As soon as someone moves around the server goes to 100% CPU, since 71. And even on my Desktop PC(i5/16GB RAM) in singleplayer iam able to catch up with the mapgen(ie running into a invisible wall with no blocks behind it for a few seconds).
Member

I have similiar issues.
As soon as someone moves around the server goes to 100% CPU, since 71.
And even on my Desktop PC(i5/16GB RAM) in singleplayer iam able to catch up with the mapgen(ie running into a invisible wall with no blocks behind it for a few seconds).

Same with a unowhy Y13 (celeron with 4GB ram).
I had a rational lag with 0.70 (my pc isn't really made for gaming...), but with the last git version, ABM are always partialy skipped, fps drop sometimes to ~10, lava solidification takes about 2-3s and blocks I place sometimes diseapered. (in singleplayer!)

> I have similiar issues. > As soon as someone moves around the server goes to 100% CPU, since 71. > And even on my Desktop PC(i5/16GB RAM) in singleplayer iam able to catch up with the mapgen(ie running into a invisible wall with no blocks behind it for a few seconds). Same with a unowhy Y13 (celeron with 4GB ram). I had a rational lag with 0.70 ([my pc isn't really made for gaming...](https://www.unowhy.com/y13/)), but with the last git version, ABM are always partialy skipped, fps drop sometimes to ~10, lava solidification takes about 2-3s and blocks I place sometimes diseapered. (in singleplayer!)
Member

But I had to say, on another more powerfull computer, I tested mcl AND mc 1.16 and....

  • mc: ~8 fps (unplayable in vanilla, but with mods... it drops to 1-2 fps lol)
  • mcl: ~30 fps not very confortable, but playable
    Trust me.
But I had to say, on another more powerfull computer, I tested mcl AND mc 1.16 and.... * mc: ~8 fps (unplayable in vanilla, but with mods... it drops to 1-2 fps lol) * mcl: ~30 fps not very confortable, but playable Trust me.

I think the problem here is server performance rather than client performance (Even if they run on the same computer the cpu time should be shared about equally between threads)

I think the problem here is server performance rather than client performance (Even if they run on the same computer the cpu time should be shared about equally between threads)
Member

Could you test with my last changes? I hope it will reduce lag.

Could you test with my last changes? I hope it will reduce lag.

I agrre i am playing on mineclone 2 71.0 on minetest 5.5.0-dev i minimised the tab and got 15-30 fps

on raspberry pi 4 4GB
1.5GHz Processor
128MB ViDEocon VI GPU

I agrre i am playing on mineclone 2 71.0 on minetest 5.5.0-dev i minimised the tab and got 15-30 fps on raspberry pi 4 4GB 1.5GHz Processor 128MB ViDEocon VI GPU
Contributor

This is not an FPS issue. This is an issue related to network lag.

**This is not an FPS issue.** This is an issue related to network lag.
Author

If this issue is solved, would it possible to release a version 0.71.1?

That way people don't have to wait until 0.72.0 to have a version with a playable nether...

If this issue is solved, would it possible to release a version 0.71.1? That way people don't have to wait until 0.72.0 to have a version with a playable nether...
Member

Um... I thought the lag was fine in 0.71.

Um... I thought the lag was fine in 0.71.
Author

It might depend on the server, but I am not able to go to the nether anymore, so I can't get glowstone for my builds anymore for example. Before this update, I've never had noticeable lag in the nether.

It might depend on the server, but I am not able to go to the nether anymore, so I can't get glowstone for my builds anymore for example. Before this update, I've never had noticeable lag in the nether.
Contributor

@seba what about the End?

@seba what about the End?
Contributor

The End has seemed fairly lag-free on my server, although I haven't tested it on the MCL2 dev server yet.

The End has seemed fairly lag-free on my server, although I haven't tested it on the MCL2 dev server yet.
Author

In the End, it's fine for me.

In the End, it's fine for me.
cora removed this from the 0.72.0 milestone 2022-02-15 05:47:46 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
9 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VoxeLibre/VoxeLibre#1304
No description provided.