1.18.2 AI performance issue
Shybella opened this issue ยท 8 comments
Hello,
Is there any improvements that can be made here, spark profile: https://spark.lucko.me/IAuZqPU91c
AI is taking up roughly 8% of tick time.
This is with 8 players online, can you help me solve this or point in a direction?
Thank you.
I might be reading it wrong but looks like 75% of the time is waiting for next tick. Meaning the server is running fine and is not experience a performance hit currently. So the 8% might be normal but lack the time to confirm. @bl4ckscor3 you want to take a look?
I narrowed it down to villagers trying to navigate to their beds when trying to sleep, can aiimprovements disable villager sleeping or AI in the config?
Theoretically it should be possible, but it'll take some digging as villagers use different AI to the mobs that AI Improvements already supports.
Picture of villager pen that can cause this sleep issue: https://prnt.sc/30MMBjfVNLvG
Spark picture of problem: https://prnt.sc/15SMRpBYto6F
It's funny because you can see the ticks increase when the time comes for them to sleep and then goes away.
If you need anymore information, I will try my best. Thank you!
Spark: https://spark.lucko.me/HXXbIVS5Of
Even better report: https://spark.lucko.me/DoQN3yxPBy
Some more regarding villager POI: https://prnt.sc/usFg1I9gV0yu
Spark: https://spark.lucko.me/Pc9WqAVM1o
Is there somewhere I can contact you privately about supporting the project?
We have a discord server https://discord.gg/5Dz27pEk