Fix server performance with CC when loading several chunks
muzikbike opened this issue ยท 8 comments
Performance is clearly something to be looked at, but I can't reproduce your results at all. Did you do anything worth mentioning while taking the screenshots?
Can you provide the specs of your PC please? I can't reproduce that level of load on my machine and having a reference is nice.
With a render distance of 2 and daylight and weather cycle turned off, server performance seems completely fine, with the odd spike when loading new chunks. Much more testing is needed.
I know of a few suspect spots, and they are not going to be an easy fix. All of them should get better with bigger cube size. In the end, it's the huge amount of CompletableFutures together with not so efficient implementation of LevelBasedGraph.
You are also on a core i3 CPU, which has 2 cores/4 threads. It's actually slightly slower than my core i5 4200M, despite it's higher frequency. I suspect that the LevelBasedGraph implementation also demands huge CPU cache and/or lower memory latency to be efficient with CC in it's current state. This hits older, otherwise fast, CPUs especially badly.