Nukkit / Nukkit

Nukkit is a Nuclear-Powered Server Software For Minecraft: Pocket Edition
https://nukkit.org
GNU General Public License v3.0
822 stars 275 forks source link

Survival world lags? #1510

Open Creeperface01 opened 7 years ago

Creeperface01 commented 7 years ago

https://timings.aikar.co/?id=032085f3de5f4e67a685cda3f1ba3ba4

timing report from my server, idk if its a nukkit issue or plugin (MobPlugin)

DaMatrix commented 7 years ago

@Creeperface01 Are you using https://github.com/PocketDreams/SequinLand/pull/25 ? I had the same issue, and it was caused by that.

Creeperface01 commented 7 years ago

no, i'll try it but can you tell me what part of nukkit's tick causes it?

Creeperface01 commented 7 years ago

chunk loading and entity tick?

Creeperface01 commented 7 years ago

i don't think 1 milisecond will solve this

Creeperface01 commented 7 years ago

and ticking without sleep will cause permanent server 100% load won't it?

Creeperface01 commented 7 years ago

https://timings.aikar.co/?id=90a5613f8aef4c96861abe9a00b383a1 without mobs

Creeperface01 commented 7 years ago

and with 1 player

DaMatrix commented 7 years ago

Maybe data corruption? I can't think of any other reason unloading a chunk would take 500+ ms.

Creeperface01 commented 7 years ago

its world generated in spigot, and it happens with any world i generate there

Creeperface01 commented 7 years ago

i don't know what world should I use... nukkit world lags the client and PC world lags the server... one better than the other

Creeperface01 commented 7 years ago

OK another report https://timings.aikar.co/?id=373f185c94b64840acea9f6e9b6c4e0f world: https://www.dropbox.com/s/mknquyyatmqug0j/uhc-2.zip?dl=0 nukkit.yml: https://www.hastebin.com/uxucenuviz.bash

@Tee7even can you give me some advice please?

Creeperface01 commented 7 years ago

but it doesn't happen on all worlds, i thought it happens only on survival worlds but it happens even on my flat world

Creeperface01 commented 7 years ago

@MagicDroidX @Snake1999 @Pub4Game @Tee7even can you say something to this?

Creeperface01 commented 7 years ago

ok I'll try to add better timing to this part of server tick and tell you better info what causes it

sero583 commented 7 years ago

@DaMatrix Just by the way if it would occur on https://github.com/PocketDreams/SequinLand/pull/25, then it wouldn't be a Nukkit issue.

Creeperface01 commented 7 years ago

can you send Existing link? :D

sero583 commented 7 years ago

Ugh, I just copied and pasted what @DaMatrix wrote.