NuclearCraft
NuclearCraft copied to clipboard
Small but notable lag with enabled Radiation
Overhauled, radiation_enabled=true
.
I'm maintaining E2E-E server. I found that NC:O causing about 2% of TPS lag.
By looking through source code, i found that most heavy calls is loadedChunks.toArray and transferRadiationFromProviderToChunkBuffer.
- How can I improve TPS on my server without completely disabling radiation? My
radiation_world_chunks_per_tick
set to5
, but seems likeloadedChunks.toArray
would constantly consume same amount of CPU, no matter of config. - How I could optimize
transferRadiationFromProviderToChunkBuffer
or make it not called at all? I cant find a config for disabling TEs to contribute chunk radiation.