RelativityMC / VMP-fabric

A Fabric mod designed to improve server performance at high playercounts.
MIT License
136 stars 8 forks source link

Extreme Lag Spike on chunk loading and chunks are slowly rendered #30

Closed SteveKunG closed 1 year ago

SteveKunG commented 1 year ago

Describe the bug When flying around the map, Lag spikes occurred on chunk loading. And chunks sometime are slowly rendered. Probably same as #28

To Reproduce Steps to reproduce the behavior:

  1. Flying around the map
  2. Press Alt + F3 to see the lag spikes (If using ServerTick mod)

Expected behavior Chunk loading shouldn't causes the lag.

Screenshots 2022-10-30_13 14 07

Runtime info (please complete the following information):

Crash reports / logs https://spark.lucko.me/sssjGLpCue

Other mods image

Checklist

Additional context

ishland commented 1 year ago

Try reproduce without vmp.

SteveKunG commented 1 year ago

Here is a profiler without VMP. Chunks are loading much faster and less lag spikes if VMP is not installed. https://spark.lucko.me/HH4RpKxLSH

2022-10-30_18 33 31

ishland commented 1 year ago

Try disabling precache_biome_lookup in vmp.properties

SteveKunG commented 1 year ago

It seems good so far, with some lag spikes but that's fine. https://spark.lucko.me/fWzqf2FbkV

2022-11-10_23 13 25

SteveKunG commented 1 year ago

Do you need more testing from https://github.com/RelativityMC/VMP-fabric/commit/cf9eafaa577602fb20ae04332990f377cd15cf59?

ishland commented 1 year ago

Do you need more testing from cf9eafa ?

Yes if you have enough time to do that.

SteveKunG commented 1 year ago

Here it is, all good so far. Maybe closing this? https://spark.lucko.me/49bqgZGWv7

2023-01-26_13 22 29

ishland commented 1 year ago

Closing as resolved.