Increase parallelism for neighbour writing chunk statuses

Namely, everything after FEATURES. By creating a dependency
chain indicating what chunks are in use, we can safely
schedule completely independent tasks in parallel. This
will allow the chunk system to scale beyond 10 threads
per world.

Currently this patch needs some more testing.
This commit is contained in:
Spottedleaf 2023-02-26 23:45:21 -08:00
parent 5a4351d3b6
commit 19fd3efaa6
2 changed files with 1014 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,6 @@ Get done before testing:
- Shutdown/startup process (both the regular and irregular variants)
- make sure async teleport / player join / async place entities are saved on shutdown
- make scheduler load chunks better
- DamageSource.FLY_INTO_WALL from flying into unloaded chunks
Pre-Test: List of things not fully tested
- Task queue
@ -17,7 +16,6 @@ Get done after test:
- vanish api
- watchdog stuff
- Spectator teleporting / camera
- automatically disable timings
- regenerateChunk, isChunkGenerated
- Conversable...
- sync load info