Skip to content
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

1.18.2 AI performance issue #26

Open
Shybella opened this issue Aug 2, 2022 · 8 comments
Open

1.18.2 AI performance issue #26

Shybella opened this issue Aug 2, 2022 · 8 comments

Comments

@Shybella
Copy link

Shybella commented Aug 2, 2022

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.

@DarkGuardsman
Copy link
Member

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?

@bl4ckscor3
Copy link
Member

As far as I can tell, that seems to be correct.

@Shybella
Copy link
Author

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?

@bl4ckscor3
Copy link
Member

Theoretically it should be possible, but it'll take some digging as villagers use different AI to the mobs that AI Improvements already supports.

@Shybella
Copy link
Author

Shybella commented Aug 31, 2022

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!

@Shybella
Copy link
Author

Shybella commented Sep 3, 2022

Spark: https://spark.lucko.me/HXXbIVS5Of

Even better report: https://spark.lucko.me/DoQN3yxPBy

@Shybella
Copy link
Author

Shybella commented Sep 4, 2022

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?

@DarkGuardsman
Copy link
Member

We have a discord server https://discord.gg/5Dz27pEk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants