We measured the number of active clients that could be logged into various versions of OpenSimulator. This page compares the 0.6.9-postfixes version with several monthly snapshots of the master from the development repository. The goal is to assess the performance improvements that have been introduced into the OpenSimulator trunk.
Additionally, packet type traces were taken which drove improvements in the volumes of different types of packets transmitted for the wandering bots.These improvements are shown.
We modified the libopenmetaverse TestClient sample program to create and manage multiple wandering bots. All of the bots randomly wander around a flat region 1). We ran multiple instances of this modified TestClient with each instance running 100 wandering bots. The bots were logged in 25 at a time to spread out the initial login load. All these tests are run in StandAlone mode using MySQL under Windows Server 2008 running on a dual Intel® Xeon® processor 5500 server.
Logging in multiple TestClient clients on 0.6.9-postfixes 2) results in the following graph.
The graph shows simulator and physics frames per second (left scale) for increasing wandering bots (right scale). At about 50 clients, 0.6.9-postfixes interaction performance drops quickly and it disconnects previously logged in clients for ACK timeouts.
The OpenSimulator development branch was sampled monthly and tested. The results shown below are for “April” 3), “May” 4), “preslim” 5) and “June” 6).
All of the following graphs show simulator and physics frame rates (left scale) for increasing numbers of wandering bots (right scale).
As a final test, the wandering bot load was applied to the 0.7.0-RC1 branch. Additional performance improvements are shown by the frame rate dropping after nearly 400 wandering bots.
The 0.7.0 version of OpenSimulator will support nearly an order of magnitude more simultaneous avatars than the 0.6.9-postfixes version.