[Opensim-users] XEngine causing CPU spikes under mono

Adam Farrugia uqafarru at fdn.uq.edu.au
Fri Mar 11 06:42:34 UTC 2011


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



More information about the Opensim-users mailing list