New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up the world #4196

Open
jamespinkerton opened this Issue Mar 13, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@jamespinkerton
Copy link

jamespinkerton commented Mar 13, 2018

Hi. I've attempted to speed up the cuberite world through reducing the world and server tick from 50ms to 1ms. I then am sending packets every ~20ms from the agent.

For some reason the chunk generator grinds to a halt. Is this expected behavior? It seems strange to me the throughput of the chunk generator would be affected instead of just the queueing latency.

@madmaxoft

This comment has been minimized.

Copy link
Member

madmaxoft commented Mar 14, 2018

Since lowering the tick duration is unexpected, I'd say anything resulting from that is unexpected as well. However, it sounds strange. How exactly does this "grind to a halt" look? What are you observing, and what were you expecting?

@jamespinkerton

This comment has been minimized.

Copy link

jamespinkerton commented Mar 15, 2018

@ajusa The goal here is to speed up for the purpose of training a bot.

@madmaxoft I get a log like this:

[14:51:37] Chunk generator overloaded, skipping chunk [420, -142]
[14:51:37] Chunk generator overloaded, skipping chunk [421, -142]
[14:51:37] Chunk generator overloaded, skipping chunk [423, -142]
[14:51:37] Chunk generator overloaded, skipping chunk [425, -142]
[14:51:37] Chunk generator overloaded, skipping chunk [427, -142]
[14:51:37] Chunk generator overloaded, skipping chunk [429, -122]
[14:51:37] Chunk generator overloaded, skipping chunk [430, -122]
[14:51:37] Chunk generator performance: 65.27 ch / sec (513 ch total)
[14:51:38] Chunk generator performance: 67.41 ch / sec (665 ch total)
[14:51:40] Chunk generator performance: 60.34 ch / sec (716 ch total)
[14:51:41] Chunk generator performance: 53.11 ch / sec (739 ch total)
[14:51:44] Chunk generator performance: 45.08 ch / sec (748 ch total)
[14:51:46] Chunk generator performance: 39.39 ch / sec (752 ch total)
[14:51:48] Chunk generator performance: 34.99 ch / sec (754 ch total)
[14:51:52] Chunk generator performance: 29.99 ch / sec (755 ch total)
[14:51:54] Chunk generator performance: 27.23 ch / sec (756 ch total)
...

[16:06:30] Chunk generator performance: 0.21 ch / sec (966 ch total)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment