I have developed some OpenSimulator stress tests which exercise the maximum avatars, scripted objects and physical objects. Some results of running these against version 0.6.9-post-fixes and 0.7.0.1 are at<a href="http://www.sciencesim.com/wiki/doku.php/vwperf/stress_profile_20100820"> http://www.sciencesim.com/wiki/doku.php/vwperf/stress_profile_20100820</a> .<br>
<br>The multi-threaded XEngine script engine is able to utilize all available processor threads. The single-threaded ODE physics engine performance drops when a single processor thread is used up. In general, maximum number of scripts is limited by the server multi-thread performance, maximum number of physical objects is limited by the server's single-thread performance, and the maximum number of avatars is limited by the single-thread performance (physics and agent update calculations in the heartbeat loop).<br>
<br>Have other people created stress and operational tests for OpenSimulator? If so, I would like to collect them to create a exercise resource for software and server evaluation.<br><br>-- mb<br><br><div class="gmail_quote">
On Fri, Aug 20, 2010 at 2:16 PM, Justin Clark-Casey <span dir="ltr"><<a href="mailto:jjustincc@googlemail.com">jjustincc@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 20/08/10 19:22, Gwyneth Llewelyn wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi all,<br>
<br>
A simple and stupid question. I was trying to look for some information<br>
if OpenSim is multi-threaded and able to automatically run on multiple<br>
cores, or if due to some limitations of Mono (unknown to me), this is<br>
impossible. Google seems quiet on this (or I might just have been unable<br>
to trigger the right combination of keywords that provide me with the<br>
answer I need).<br>
</blockquote>
<br></div>
Hi Gwyn.  In many places, OpenSim is very multithreaded - each client on the sim gets its own thread, for instance, and many client operations are executed with threads from the threadpool.<br>
<br>
However, there are some single-thread bottlenecks.  The scene updating thread is one, which might be why you don't see activity consistently on all cores.  Changing the number of virtual cores or other configuration parameters won't affect this - it's a software issue.<div class="im">
<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
If so, it would make more sense to launch multiple separate Mono<br>
instances, each running a set of regions, instead of having just one<br>
instance with all the regions in that server?<br>
</blockquote>
<br></div>
I should think that it's always going to be more efficient to run everything within one Mono instance in order to avoid the overhead of multiple runtimes.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
What would you recommend as a more reasonable configuration? I usually<br>
have Linux installations with 4 virtual cores, and from visual<br>
observation, only two (sometimes even just one!) is being used all the<br>
time by OpenSim and Robust. Does Mono somehow pre-bind to a single core<br>
and never changes? (In that case, launching multiple OpenSim instances<br>
would all get pre-bound on a single core, thus not really making any<br>
difference?) For a server that is exclusively used for OpenSim, it seems<br>
a waste to let all those cores run idle...<br>
<br>
Thanks for any input on this :)<br>
<br>
Cheers,<br>
<br>
- Gwyn<br>
--<br>
"I'm not building a game. I'm building a new country."<br>
-- Philip "Linden" Rosedale, interview to Wired, 2004-05-08<br>
<br>
<br>
_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
<br>
</blockquote>
<br>
<br></div><div class="im">
-- <br>
Justin Clark-Casey (justincc)<br>
<a href="http://justincc.org" target="_blank">http://justincc.org</a><br>
<a href="http://twitter.com/justincc" target="_blank">http://twitter.com/justincc</a><br>
_______________________________________________<br></div><div><div></div><div class="h5">
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
</div></div></blockquote></div><br>