[Opensim-users] XEngine causing CPU spikes under mono

Justin Clark-Casey jjustincc at googlemail.com
Mon Mar 14 23:04:35 UTC 2011


Out of interest, how many scripts are we talking about here?  Are they complicated scripts with a lot of state?

As far as I can see, script state saving is single threaded.

On 11/03/11 06:42, Adam Farrugia wrote:
> Hi All,
>
> Running the following:
>
> Ubuntu 10.10 Server
> mono 2.6.7
> 16GB RAM
> 1 x Quad-core AMD CPU
> opensim 0.7.0.2 (Grid Mode)
>
> Found that XEngine causes mono spike CPU usage over 100% briefly when automatic script save is invoked. Actual spike value varies with sim load, but pattern is the same regardless of load. Parameter is "SaveInterval" in XEngine params in OpenSim.ini. Default interval is 120 seconds. Changed SaveInterval to other time values to test and sure enough, spike occurs at those intervals.
> Currently running 4 regions, Grid mode, all regions running numerous scripts.
> Has anyone seen this before? Searched pretty hard and seen plenty of issues with earlier versions of mono with high CPU usage and workarounds by tweaking MONO_THREADS_PER_CPU but nothing specifically relating to this.
> Not sure if it is a bug to be reported, or just a natural limit of XEngine when it auto-saves script states when there lots of scripts on a grid.
>
> Rgds,
>
> Adam Farrugia
> PIER Virtual
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>


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



More information about the Opensim-users mailing list