TallWorlds / CubicChunks

MIT License
36 stars 7 forks source link

Chunk Saving Can't Keep up with Large Amounts of Generation #11

Open kvverti opened 9 years ago

kvverti commented 9 years ago

Line like these appear every second or so to save chunks to disk: 19:26:40.320 INFO File IO Thread cubicchunks.server.CubeIO: Wrote 24 columns (0 remaining) (19k) and 250 cubes (13463 remaining) (50k) in 978 ms

However, on large render distances these get out of hand. The server ends up creating new chunks faster than it can save them. This means that the game has to be left idle after the server is closed if all chunks haven't saved yet. (After exploration this can take several minutes)

Razaekel commented 9 years ago

Chunks are saved while the server is running, it just doesn't happen as frequently since the server is usually overloaded doing other stuff.

Drayux commented 9 years ago

Alright yeah! That's the sorta thing I was interpreting... I was noticing this most when falling, for example. Anyway, yeah I figured I should report it! ;)

cuchaz commented 9 years ago

Saving doesn't actually take that long if you run Minecraft on an SSD. I don't even have a spinning disc hard drive anymore, so this is probably running WAAAAY longer for you than it is for me. All the same, we're working on performance improvements.