-
Notifications
You must be signed in to change notification settings - Fork 54
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
Performance and Scalability #33
Comments
I am also looking for answers on the same. Is mesa-geo fine to work with large regions or populations, like few million agents simulating a country? Could you please let me know? Thank you so much! |
I have explored it deeply. It is very challenging to run even a 100 thousand agents with some basic features in this framework. |
@imahmood786 |
Hey, With kindest regards, |
Sometimes, mesa-geo itself might not be the bottleneck. You can read the thread at projectmesa/mesa#1185 for how to profile your code. |
Thank you for the reply, The exact problem I am facing is that when I run the model with >8K agents, the MAP doesn't display any agents it's very unstable. |
So the slowness happens only in the GUI? If you run without GUI, it is fast? |
It runs as it's supposed to, but yeah the GUI is very slow, it takes the map 2-3 minutes to display the agents and when I zoom in or zoom out on the map the frames per second are also very low. |
Maybe you should just smoothen out the agent circles into a heatmap. You can wait until #67 is merged, and add a layer that is computed from the circles density or something. |
Some initial consideration on performances here: wang-boyu/agents-and-networks-in-python#2 |
Hi
Can you give some tips on how to improve step performance for a large scale simulation?
Regards
/Imran
The text was updated successfully, but these errors were encountered: