[Opensim-dev] Issues with the Simulator under high load

Justin Clark-Casey jjustincc at googlemail.com
Sat Mar 17 03:36:05 UTC 2012


Hi Akira.  I have now updated the "show threads" method to show threadpool statistics for the main threadpool.  Please 
note that each XEngine script engine will also have it's own threadpool (which can be seen using the "xengine status" 
command).  Might need to improve this further.

"show threads" will also show all in-use threads.  However, at least on mono 2.6.7 this isn't reported by the VM so 
won't be shown.

I'm not sure whether this will help you or not in tracking down performance issues.  In some situations it could help 
(e.g. if threads are encountering deadlock the number of 'in use' threads will leap up, though you've probably already 
noticed deadlock by the long-running threads reporting monitoring failures and the sim locking up).

So I'd be happy to hear suggestions for additional data and I'll implement them if I can, since I think this is going to 
be a growing area of concern.  Unfortunately pinning down performance issues with a system as complex as OpenSimulator 
(with massive numbers of threads and user generated scripts) is likely to remain a significant challenge for the 
forseeable future.

On 11/03/12 19:15, Akira Sonoda wrote:
> Am 10. März 2012 03:25 schrieb Justin Clark-Casey <jjustincc at googlemail.com <mailto:jjustincc at googlemail.com>>:
>
>     I'm sorry to say that you'll have to take the ThreadPool numbers with a very very very large pinch of salt.  I
>     believe they only refer to the built-in mono thread pool and not the SmartThreadPool which is the one actually used
>     (and beyond that the core simulator and xengine use separate pools).  I will try and improve this situation soon.
>
>
> Thank you Justin!
>
> Would be nice to have some meaningful statistics for all those ThreadPools! Maybe there is a possibility to write those
> statistics to the log from time to time ( e.g. every 30 seconds). Together with some documented "best practices" from
> those who operate Sims, with lots of avatars on it - I'm thinking mainly the OSgrid Plazas are good references - this
> could be highly valuable information for those who operate Sims for similar purposes ( meeting points, parties, concerts
> etc. )
>
>
>
>
>
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev


-- 
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc



More information about the Opensim-dev mailing list