We are having performance issues for a big Moodle installation (Moodle 2.2.2).
This is especially true for a course with a many many many users.
Basically the get_users_for_display() function in enrol/locallib.php takes like a second for each user, and this is more of a problem on big courses even if the number of users it gets from the db for each page looks to be the same.
What is the problem here? Does this indicate performance problems?
How can I try and troubleshoot this?
DB is on a separate machine.