Hi there,
I’m having some performance issues with an otree app. I’m running otree 3.4.0.
Players are grouped as they arrive and stay in those groups throughout.
I’ve switched browser bots on for testing, and launch browsers on 25 machines in the lab, wait for those to complete, then run another 25, let them complete and then run the last 25.
These are the average time in seconds for each browser bot to complete the experiment, followed by the average CPU% for otree/database processes:
1st batch: 410 seconds 80/40
2nd batch: 570 seconds 85/33
3rd batch: 860 seconds 90/16
If I start another identical session after this one completes, I get these times:
1st batch: 1000 seconds 90/15
2nd batch: ….
If I archive the data… next batch then take 1460 seconds.
I then deleted all the data and the next session took 1800 seconds.
Why is it taking longer and longer to run the experiment? I also seems not to be database related, as the otree process is taking more and more CPU, and the database less and less.
When we run this in the live environment with similar sized sessions, the same thing happens, and we have people dropping out as the experiment moves on.
Ideas welcome
Scott
On Aug 6, 2021, at 4:12 AM, Scott <s.j.v...@exeter.ac.uk> wrote:
--
You received this message because you are subscribed to the Google Groups "oTree help & discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to otree+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/otree/5f090b72-1710-4183-8826-6ee7f827712cn%40googlegroups.com.
On Aug 6, 2021, at 12:48 PM, ch...@otree.org wrote:
Hi, I firstly I would encourage you to upgrade to oTree Lite (oTree 5) if possible. oTree Lite has better performance and a much smaller codebase, so if something goes wrong it is easier for me to narrow it down. Performance issues like this can end up taking a long time to investigate.
On Aug 16, 2021, at 6:42 AM, Scott <s.j.v...@exeter.ac.uk> wrote:
To view this discussion on the web, visit https://groups.google.com/d/msgid/otree/39cfc086-d481-47df-95f9-6ae1835aca0fn%40googlegroups.com.
On Feb 2, 2022, at 4:11 PM, Geoffrey Castillo <geoffrey...@gmail.com> wrote:
To view this discussion on the web, visit https://groups.google.com/d/msgid/otree/d353fa04-8d9f-48f9-bd74-ac0005b49de0n%40googlegroups.com.