MineColonies

MineColonies

56M Downloads

Intermittent Tick Spike

Castone22 opened this issue · 3 comments

commented

While running a profile, i saw a fairly long tick time spike occurring intermittently seemingly having to do with saving.

http://pastebin.com/h87iDXLJ

commented
commented

As I see that tick is 200ms long, seems to be fairly okay for me. Saving needs disc access and with the current minecraft design we can't offload that without stopping the Thread anyways or running into all kinds of problems.

How many colonies do you have, what kind of server and what kind of hard drive? Do you have a disc drive that maybe needed to spin off and that caused the spike?

On our main server with over 200 colonies we have a 2.2MB save file for minecolonies on a SSD and no noticeable lag spikes while saving. We have all other sorts of lag, normal for big servers, but saving is currently not that much of an issue.

If you have any ideas how to improve our saving process, we are always open for ideas/pull requests/developers 😉

commented

I was trying to narrow down the cause of a recurring tps spike when I found this. Quick glance now that I had the chance shows that things on your end are fairly optimal. Thanks for responding though :)